On Fri, 12 May 2017 12:13:33 +0200
Marek Skalický wrote:
> Hi,
> I am building mongodb and on armv7hl I got "/bin/ld: failed to set
> dynamic section sizes: Memory exhausted" error.
>
> How to solve this? I would prefer more general solution that forcing
> to -j1 and hope that I will help...
>
>
> CCFLAGS="%{?optflags} -ggdb3 -fvisibility=hidden"
^^^ I would reduce the debuginfo level either to 2 (the default) or
even to 1, we use the following trick in some c++ heavy packages
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
Dan
> LINKFLAGS="%{?__global_ldflags} -Wl,-z,noexecstack
> -Wl,--reduce-memory- overheads,--no-keep-memory"
>
> Using %{?_smp_mflags}
>
> Thanks,
> Marek
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org