Issue |
153574
|
Summary |
Test failure in sanitizer-ld.c when LLVM_ENABLE_PER_TARGET_RUNTIME_DIR is OFF
|
Labels |
new issue
|
Assignees |
|
Reporter |
res0nance
|
Hi I experienced a test failure when running the tests after compiling llvm 20.1.8.
I've narrowed it to this block in my configuration
```
tc.variables["LLVM_ENABLE_PER_TARGET_RUNTIME_DIR"] = "OFF"
tc.variables["BUILTINS_CMAKE_ARGS"] = "-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF"
tc.variables["RUNTIMES_CMAKE_ARGS"] = "-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF"
```
The test failure is in
```
For posterity the test bug was:
Input was:
<<<<<<
1: clang version 20.1.8
2: Target: x86_64-unknown-linux
3: Thread model: posix
4: InstalledDir: /home/raihaan/.conan2/p/b/clange52d6a1cceac6/b/bin
5: Build config: +assertions
6: "/home/raihaan/.conan2/p/b/clange52d6a1cceac6/b/bin/clang-20" "-cc1" "-triple" "x86_64-unknown-linux" "-emit-obj" "-dumpdir" "a-" "-disable-free" "-clear-ast-before-backend" "-main-file-name" "sanitizer-ld.c" "-mrelocation-model" "pic" "-pic-level" "2" "-pic-is-pie" "-mframe-pointer=all" "-fmath-errno" "-ffp-contract=on" "-fno-rounding-math" "-mconstructor-aliases" "-funwind-tables=2" "-target-cpu" "x86-64" "-tune-cpu" "generic" "-debugger-tuning=gdb" "-fdebug-compilation-dir=/home/raihaan/.conan2/p/b/clange52d6a1cceac6/b/tools/clang/test/Driver" "-fcoverage-compilation-dir=/home/raihaan/.conan2/p/b/clange52d6a1cceac6/b/tools/clang/test/Driver" "-resource-dir" "/home/raihaan/.conan2/p/b/clange52d6a1cceac6/b/lib/clang/20" "-internal-isystem" "/home/raihaan/.conan2/p/b/clange52d6a1cceac6/b/lib/clang/20/include" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include" "-internal-externc-isystem" "/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-ferror-limit" "19" "-fgnuc-version=4.2.1" "-fskip-odr-check-in-gmf" "-fsanitize=safe-stack,shadow-call-stack" "-fno-sanitize-memory-param-retval" "-fno-sanitize-address-use-odr-indicator" "-faddrsig" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/tmp/lit-tmp-ad0p4oi9/sanitizer-ld-37799a.o" "-x" "c" "/home/raihaan/.conan2/p/b/clange52d6a1cceac6/b/clang/test/Driver/sanitizer-ld.c"
7: "/usr/bin/ld" "-z" "relro" "--hash-style=gnu" "--eh-frame-hdr" "-m" "elf_x86_64" "-pie" "-dynamic-linker" "/lib64/ld-linux-x86-64.so.2" "-o" "a.out" "/lib/x86_64-linux-gnu/Scrt1.o" "/lib/x86_64-linux-gnu/crti.o" "/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o" "-L/usr/lib/gcc/x86_64-linux-gnu/11" "-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib64" "-L/lib/x86_64-linux-gnu" "-L/lib/../lib64" "-L/usr/lib/x86_64-linux-gnu" "-L/usr/lib/../lib64" "-L/lib" "-L/usr/lib" "-u" "__safestack_init" "/home/raihaan/.conan2/p/b/clange52d6a1cceac6/b/lib/clang/20/lib/linux/libclang_rt.safestack-x86_64.a" "--export-dynamic" "/tmp/lit-tmp-ad0p4oi9/sanitizer-ld-37799a.o" "--no-as-needed" "-lpthread" "-lrt" "-lm" "-ldl" "-lresolv" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o" "/lib/x86_64-linux-gnu/crtn.o"
check:927'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:927'1
```
This seems to be this test https://github.com/llvm/llvm-project/blob/87f0227cb60147a26a1eeb4fb06e3b505e9c7261/clang/test/Driver/sanitizer-ld.c#L927
Feel free to let me know if you require more information and I'll do my best to provide it.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs