On 07/26/2017 08:22 AM, Björn 'besser82' Esser wrote:

It looks like the whole parallelized make-process is hitting the 4 Gbytes limit per process / task on 32 Bit arches…

Have you tried this?

%build
export CFLAGS="echo %{optflags} | sed -e 's!-pipe!!g'"
export CXXFLAGS="$CFLAGS"
…

Sometimes piping from cpp to gcc to as to ld takes too much memory on 32 Bit arches…

Unfortunately that didn't help.

FWIW the actual edits to the ceph.spec that I used (since ceph uses cmake and other factors):

...
export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/' -e 's/-pipe//g'`

export CPPFLAGS="$java_inc"
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS=`echo $LDFLAGS | sed -e 's/-pipe//g'`
...

--

Kaleb
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to