You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ sh build.sh
error: Linking globals named '__omp_offloading_10304_1e81eac__ZN3fooIfEC1Ev_l7_exec_mode': symbol multiply defined!
clang-8: error: amdgcn-link command failed with exit code 1 (use -v to see invocation)
When the offload compiler flags are removed, the code links well.
The text was updated successfully, but these errors were encountered:
Issue was replicated and code was added to use identifying information from the includer file instead of the includee (t.h) file so that the symbol name is unique. This fix will most likely be implemented in our next release of AOMP (0.7-1).
Use reproducer linking.zip
When the offload compiler flags are removed, the code links well.
The text was updated successfully, but these errors were encountered: