https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85422
--- Comment #8 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #7) > (In reply to Richard Biener from comment #3) > > flags? A simple ./xgcc -fopenacc doesn't reproduce it. With my GCC 7 > > install I see > > > > lto-wrapper: fatal error: problem with building target image for nvptx-none > > > > but no way to see the lto1 invocations :/ (tried -Wl,-debug -Wl,-v already) > > The error message could certainly be be better. Filed as PR85451 - "[offloading] Improve lto-wrapper error message when not finding mkoffload"