Re: armv7hl: ld: failed to set dynamic section sizes: Memory exhausted

2017-05-12 Thread Dan Horák
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

armv7hl: ld: failed to set dynamic section sizes: Memory exhausted

2017-05-12 Thread Marek Skalický
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"