[PATCH] D78325: [ubsan] Link shared runtime library with a version script.

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 18 15:38:38 PDT 2020


ro added a comment.

This patch broke the Solaris builds:

  [2307/5232] Linking CXX shared library lib/clang/11.0.0/lib/sunos/libclang_rt.ubsan_standalone-i386.so
  FAILED: lib/clang/11.0.0/lib/sunos/libclang_rt.ubsan_standalone-i386.so
  [...]
  ld: fatal: option --version-script requires option -z gnu-version-script-compat to be specified
  collect2: error: ld returned 1 exit status

For some reason it didn't carry over the Solaris suport to add that linker flag present in `compiler-rt/lib/asan/CMakeLists.txt`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78325/new/

https://reviews.llvm.org/D78325





More information about the llvm-commits mailing list