This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/68463] Offloading fails when some objects are compiled with LTO and some without
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Nov 2015 09:25:57 +0000
- Subject: [Bug driver/68463] Offloading fails when some objects are compiled with LTO and some without
- Auto-submitted: auto-generated
- References: <bug-68463-4 at http dot gcc dot gnu dot org/bugzilla/>
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.