This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48725] 4.6.0 fails to link p7zip 9.20.1 with LTO and gold
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Apr 2011 12:56:37 +0000
- Subject: [Bug lto/48725] 4.6.0 fails to link p7zip 9.20.1 with LTO and gold
- Auto-submitted: auto-generated
- References: <bug-48725-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48725
--- Comment #1 from Jan Hubicka <hubicka at ucw dot cz> 2011-04-22 12:56:21 UTC ---
> /.../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.