This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug lto/48725] New: 4.6.0 fails to link p7zip 9.20.1 with LTO and gold
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: gmarkhor at gmail dot com <gcc-bugzilla at gcc dot gnu dot org>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Apr 2011 14:56:05 +0200
- Subject: Re: [Bug lto/48725] New: 4.6.0 fails to link p7zip 9.20.1 with LTO and gold
- References: <bug-48725-4@http.gcc.gnu.org/bugzilla/>
> /.../x86_64-gcc-4.6.0/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin/ld.gold:
> internal error in symtab_section, at ../../gold/layout.h:684
> collect2: ld returned 1 exit status
> make[1]: *** [../../../../bin/7z.so] Error 1
This is ICE in gold. Might be becase GCC produces something particularly evil, but gold should not ICE.
Can you, please, fill in binutils bug?
Honza
>
>
> With "-fuse-linker-plugin" added, I get the same error. It seems like a bug in
> LTO.