[Bug driver/68463] Offloading fails when some objects are compiled with LTO and some without

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 23 09:26:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68463

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |lto
          Component|other                       |driver

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
> Or maybe just print an error during linking that offloading doesn't support
> mixing LTO and non-LTO objects (even if some of them doesn't have offload)?

That's the worst solution - having non-LTO objects is the whole point of
linker-plugin support.

I presume the same issue exists for GCC 5.


More information about the Gcc-bugs mailing list