This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Aug 2017 12:27:37 +0000
- Subject: [Bug debug/81993] [7/8 Regression] -gsplit-dwarf removes some symbols, causing some undefined references
- Auto-submitted: auto-generated
- References: <bug-81993-4@http.gcc.gnu.org/bugzilla/>
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.