[Bug bootstrap/56601] OpenBSD lto-plugin fails to use

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 12 10:02:00 GMT 2013


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

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2013-03-12
     Ever Confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-03-12 10:01:43 UTC ---
GCC doesn't find LTOPLUGINSONAME in the set of exec prefix paths.  That's
created from the config.host entry for host_lto_plugin_soname which is
liblto_plugin.so by default.

Add -v to the command to see which paths are searched for executables
(and the plugin).  Trace the driver with strace to see which files
it tries to open (yes, you do need the symlink).  Also make sure the
plugin is readable/executable by you.

Note that you need the plugin for the _host_, not sure if we messed up
things for cross-compilers (I never tried LTO with a cross ...)

More information about the Gcc-bugs mailing list