This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81993

--- Comment #9 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to rguenther@suse.de from comment #8)
> On Mon, 28 Aug 2017, sylvestre at debian dot org wrote:
> 
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81993
> > 
> > --- Comment #7 from Sylvestre Ledru <sylvestre at debian dot org> ---
> > Not my call but I am using it to build the llvm toolchain on i386.
> > Without gsplit-dwarf, I cannot link on the platform, it fails on:
> > /usr/bin/ld.gold: fatal error: ../../../../lib/liblldb-3.9.so.1: mmap: failed
> > to allocate 1361713520 bytes for output file: Cannot allocate memory
> 
> Heh... maybe it works with GNU ld?

I don't think so. Linking LLVM with debug info needs more the 4GB.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]