[clang] [compiler-rt] [llvm] Get the linker version and pass the it to compiler-rt tests on Darwin. (PR #86220)

Julian Lettner via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 22 11:29:03 PDT 2024


================
@@ -444,6 +445,15 @@ else()
   set(SANITIZER_USE_SYMBOLS FALSE)
 endif()
 
+# Get the linker version while configuring compiler-rt and explicitly pass it
+# in cflags during testing. This fixes the compiler/linker version mismatch
+# issue when running a clang built with a newer Xcode in an older Xcode
+set(HOST_LINK_VERSION)
----------------
yln wrote:

- [ ] How about `DARWIN_LINKER_VERSION`?

https://github.com/llvm/llvm-project/pull/86220


More information about the cfe-commits mailing list