MaskRay wrote: Unfamiliar with openmp, but whether to use dso_local should be decided by whether the variable can be defined a different DSO, unrelated to `-fno-pic`/`-fpic`.
See https://maskray.me/blog/2021-01-09-copy-relocations-canonical-plt-entries-and-protected and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100593 The GCC behavior may not be desired https://github.com/llvm/llvm-project/pull/201157 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
