[Bug fortran/122432] [Offloading][OpenMP][OpenACC] LTO/linker plugin: Mismatch between host used symbol vs. device symbol

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 28 01:50:58 GMT 2025


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

--- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Created attachment 62650
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62650&action=edit
tar.gz with 4 *.f90 files; look at 'build.sh' for how to build it / requires
offload-configured GCC + ld.bfd (but no offload device at runtime)

Same as previous attachment, but this test uses 'grep' in -save-temps + 'nm'
instead of requiring an offloading device at runtime.

This testcase still requires a GCC with offloading support for GCN and/or
Nvptx.
At least GCC 14 is required and it can also be a distro GCC (with the optional
offloading packages for nvptx and/or gcn installed).

See https://gcc.gnu.org/wiki/Offloading for distro package name and how to
build it.


More information about the Gcc-bugs mailing list