[compiler-rt] [ubsan][test] Enable Misc/Linux tests on all Posix systems (PR #111497)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 12:22:48 PDT 2024
vitalybuka wrote:
@zmodem @rorth https://ci.chromium.org/ui/p/chromium/builders/try/mac_upload_clang/5978/overview
Someing is missing on Darwin:
```
FAIL: UBSan-Standalone-x86_64 :: TestCases/Misc/Posix/static-link.cpp (78401 of 81703)
******************** TEST 'UBSan-Standalone-x86_64 :: TestCases/Misc/Posix/static-link.cpp' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 4: /Volumes/Work/s/w/ir/cache/builder/src/third_party/llvm-build/Release+Asserts/./bin/clang --driver-mode=g++ -arch x86_64 -stdlib=libc++ -mmacosx-version-min=10.12 -isysroot /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -mlinker-version=1053.12 -fsanitize=bool -static /Volumes/Work/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp -o /Volumes/Work/s/w/ir/cache/builder/src/third_party/llvm-build/Release+Asserts/runtimes/runtimes-bins/compiler-rt/test/ubsan/Standalone-x86_64/TestCases/Misc/Posix/Output/static-link.cpp.tmp && env UBSAN_OPTIONS=handle_segv=0:handle_sigbus=0:handle_sigfpe=0 /Volumes/Work/s/w/ir/cache/builder/src/third_party/llvm-build/Release+Asserts/runtimes/runtimes-bins/compiler-rt/test/ubsan/Standalone-x86_64/TestCases/Misc/Posix/Output/static-link.cpp.tmp 2>&1 | FileCheck /Volumes/Work/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp
+ /Volumes/Work/s/w/ir/cache/builder/src/third_party/llvm-build/Release+Asserts/./bin/clang --driver-mode=g++ -arch x86_64 -stdlib=libc++ -mmacosx-version-min=10.12 -isysroot /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -mlinker-version=1053.12 -fsanitize=bool -static /Volumes/Work/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/test/ubsan/TestCases/Misc/Posix/static-link.cpp -o /Volumes/Work/s/w/ir/cache/builder/src/third_party/llvm-build/Release+Asserts/runtimes/runtimes-bins/compiler-rt/test/ubsan/Standalone-x86_64/TestCases/Misc/Posix/Output/static-link.cpp.tmp
ld: library not found for -lcrt0.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
https://github.com/llvm/llvm-project/pull/111497
More information about the llvm-commits
mailing list