[Bug lto/46502] collect2 LTO marker detection is fragile wrt. to nm output format

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 7 12:00:00 GMT 2012


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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-05-07
     Ever Confirmed|0                           |1

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-07 11:57:34 UTC ---
Confirmed.  This issue is still present - even the LTO linker plugin identifies
files via that mechanism :/

Looks like simple things "stick" ...

libiberties simple-object could be used to instead query for a
.gnu.lto_.opts section.

The collect2 issue might eventually be "fixed" by making LTO require using
the linker-plugin path.



More information about the Gcc-bugs mailing list