[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 7 22:08:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375

--- Comment #74 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-04-07 22:07:38 UTC ---
Interesting. -O3 makes no difference for me.  I will look into your dumps if I
can spot something useful.

The behavior I observe is that GCC optimize away all the strings that are
placed into test.so. I didn't look deeper into it (I am looking if i can
reproduce your dwarf2out ICE and get a testcase right now), but I think it is
what makes my elfhack test to fail. I am surprised it does not happen for
yours.

If GCC fail to link even such a simple program as elfhack is, something pretty
fundamental must go wrong.  Perhaps it is linker bug. I had problems with older
versions of gold.



More information about the Gcc-bugs mailing list