[Bug lto/48725] New: 4.6.0 fails to link p7zip 9.20.1 with LTO and gold

Jan Hubicka hubicka@ucw.cz
Fri Apr 22 12:56:00 GMT 2011


> /.../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.



More information about the Gcc-bugs mailing list