This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/58528] lto1: internal compiler error: in build_abbrev_table, at dwarf2out.c:7478
- From: "blade at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 May 2014 11:35:11 +0000
- Subject: [Bug lto/58528] lto1: internal compiler error: in build_abbrev_table, at dwarf2out.c:7478
- Auto-submitted: auto-generated
- References: <bug-58528-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58528
Eduard Bloch <blade at debian dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |blade at debian dot org
--- Comment #8 from Eduard Bloch <blade at debian dot org> ---
I have the same or at least very similar issue and it makes me crazy because it
seems to have something with the position of the -g flag. I.e. this option set
seems to work:
-pthread -g -O3 -Wall -Wextra -Wno-unused-parameter -D_FILE_OFFSET_BITS=64
-flto
but
-pthread -O3 -Wall -Wextra -Wno-unused-parameter -D_FILE_OFFSET_BITS=64 -g
-flto
does not! There also seems to be some kind of race: the first time I tried it
with g++-4.9, it was hanging for a while and then segfaulted, afterwards it's
now running into ICE (same behavior with version 4.8).
I made a build with -save-temps inside, see
https://www.unix-ag.uni-kl.de/~bloch/acng/tmp/ and I can provide source:
git clone https://alioth.debian.org/anonscm/git/apt-cacher-ng/apt-cacher-ng.git
Branch: upstream
Ref: 55661a69fcdc8263101a7849d3f9f83b8b05571b
Command: make -j5 CXXFLAGS="-g -flto" LDFLAGS=-flto apt-cacher-ng