[Bug c/60622] [4.9 Regression] symbol missing when compiled with -flto

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 23 07:29:00 GMT 2014


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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
You need gcc-nm to read slim object file, because the symbol is
in the __gnu_lto_slim section in this case.

 % gcc-nm test.o
         U arg
00000000 T foo

See: http://gcc.gnu.org/gcc-4.9/changes.html for more details.



More information about the Gcc-bugs mailing list