https://sourceware.org/bugzilla/show_bug.cgi?id=22831
--- Comment #29 from Luke Kenneth Casson Leighton <lkcl at lkcl dot net> --- i tried the same massive 6GB link as was carried out under an i386 (32-bit) chroot. this time both of them succeeded. ld-bfd with --no-keep-memory succeeded as before with a warning, using only 280mb during the linker phase (the number of functions called had been increase: python evil_linker_torture.py 800 400 20 8000000) ld-gold *also* succeeded, once again requiring 6.5 GB of resident RAM to carry out the link [on a 64-bit system]. it would appear that the options recommended to use in comment #25 do not prevent ld-gold from mallocing the full memory of the full size of the target executable. consequently, attempting to link a 6 GB executable on a 32-bit system (with an obvious limit of 4GB) is guaranteed to fail. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils