Gentoo Archives: gentoo-hardened

From: PaX Team <pageexec@××××××××.hu>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] /bin/ld: failed to set dynamic section sizes: Memory exhausted
Date: Fri, 07 Sep 2012 15:07:04
Message-Id: 5049EC31.19574.3260BFFC@pageexec.freemail.hu
In Reply to: [gentoo-hardened] /bin/ld: failed to set dynamic section sizes: Memory exhausted by "Tóth Attila"
1 On 7 Sep 2012 at 14:16, "Tóth Attila" wrote:
2
3 > Omitting "-pipe" from CFLAGS didn't help. What else can I try to compile
4 > these binaries? Are there any PaX or Grsec kernel options with a potential
5 > influence?
6
7 i guess you're using SEGMEXEC which limits the process virtual address space
8 size to 1.5G and that is apparently not enough to link these binaries anymore.
9 you can disable SEGMEXEC on the gcc/ld binaries and perhaps USE=-debug if you
10 have it enabled as it can consume more memory at link time for larger binaries.

Replies

Subject Author
Re: [gentoo-hardened] /bin/ld: failed to set dynamic section sizes: Memory exhausted "Tóth Attila" <atoth@××××××××××.hu>