[llvm-branch-commits] [llvm] [compiler-rt] [CI] Add lld as compiler-rt dependecy (PR #78536)

Fangrui Song via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 17 18:55:33 PST 2024


MaskRay wrote:

```
+ /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-tdgkv-1/llvm-project/github-pull-requests/build/./bin/clang -m64 -fuse-ld=lld -flto=thin -fsanitize=cfi -fwhole-program-vtables --driver-mode=g++ -fsanitize-cfi-cross-dso -fvisibility=default /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-tdgkv-1/llvm-project/github-pull-requests/compiler-rt/test/cfi/cross-dso/icall/dlopen.cpp -o /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-tdgkv-1/llvm-project/github-pull-requests/build/projects/compiler-rt/test/cfi/Devirt-lld-thinlto-x86_64/cross-dso/icall/Output/dlopen.cpp.tmp1
ld.lld: error: /tmp/lit-tmp-cr6hdctc/dlopen-e2fa9b.o: Unknown attribute kind (91) (Producer: 'LLVM18.0.0git' Reader: 'LLVM 16.0.6')
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```

The failure looks like an old version of lld (system one?) is used.

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


More information about the llvm-branch-commits mailing list