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.