Description of problem: Upstream llvm-integration-testsuite show up some failures in ppc64le and s390x Version-Release number of selected component (if applicable): python-lit-13.0.1-1.el9 llvm-toolset-13.0.1-1.el9 llvm-13.0.1-1.el9 lldb-13.0.1-1.el9 compiler-rt-13.0.1-1.el9 clang-13.0.1-1.el9 ppc64le only: lld-13.0.1-1.el9 libomp-13.0.1-1.el9 How reproducible: 100% Steps to Reproduce: 1. git clone https://github.com/opencollab/llvm-toolchain-integration-test-suite 2. cd llvm-toolchain-integration-test-suite 3. mkdir _build && cd _build 4. cmake .. -GNinja -DENABLE_LIBCXX=OFF 5. ninja check Actual results: ##### ppc64le ##### FAIL: LLVM regression suite :: lto_and_cfi.c (16 of 41) ******************** TEST 'LLVM regression suite :: lto_and_cfi.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /usr/bin/clang -flto -fsanitize=cfi -fvisibility=hidden /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/tests/lto_and_cfi.c -o /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/_build/tests/Output/lto_and_cfi.c.tmp -- Exit Code: 1 Command Output (stderr): -- clang-13: error: no such file or directory: '/usr/lib64/clang/13.0.1/share/cfi_ignorelist.txt' -- ******************** FAIL: LLVM regression suite :: basic_lldb.c (19 of 41) ******************** TEST 'LLVM regression suite :: basic_lldb.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /usr/bin/clang -g -o /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_lldb.c.tmp /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/tests/basic_lldb.c : 'RUN: at line 2'; /usr/bin/lldb -s /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/tests/basic_lldb.in /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_lldb.c.tmp | grep "main at basic_lldb.c:" -- Exit Code: 1 Command Output (stderr): -- error: invalid thread -- ******************** FAIL: LLVM regression suite :: basic_lldb2.cpp (24 of 41) ******************** TEST 'LLVM regression suite :: basic_lldb2.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /usr/bin/clang++ -g -o /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_lldb2.cpp.tmp /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/tests/basic_lldb2.cpp : 'RUN: at line 2'; /usr/bin/lldb -s /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/tests/basic_lldb2.in /var/tmp/tmp.QXxIO91GGU/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_lldb2.cpp.tmp | grep "stop reason = step over" -- Exit Code: 1 Command Output (stderr): -- error: invalid thread -- ******************** ##### s390x ##### FAIL: LLVM regression suite :: basic_openmp.c (7 of 41) ******************** TEST 'LLVM regression suite :: basic_openmp.c' FAILED ******************** Script: -- : 'RUN: at line 3'; /usr/bin/clang -fopenmp /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/tests/basic_openmp.c -o /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_openmp.c.tmp : 'RUN: at line 4'; /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/_build/tests/Output/basic_openmp.c.tmp | grep "Num Threads: 1" -- Exit Code: 1 Command Output (stderr): -- /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/tests/basic_openmp.c:7:10: fatal error: 'omp.h' file not found #include <omp.h> ^~~~~~~ 1 error generated. -- ******************** FAIL: LLVM regression suite :: lto_and_cfi.c (21 of 41) ******************** TEST 'LLVM regression suite :: lto_and_cfi.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /usr/bin/clang -flto -fsanitize=cfi -fvisibility=hidden /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/tests/lto_and_cfi.c -o /var/tmp/tmp.WLXnD1QtCF/llvm-toolchain-integration-test-suite/_build/tests/Output/lto_and_cfi.c.tmp -- Exit Code: 1 Command Output (stderr): -- clang-13: error: no such file or directory: '/usr/lib64/clang/13.0.1/share/cfi_ignorelist.txt' -- ******************** Expected results: No test failures. Additional info:
basic_lldb.c and basic_lldb2.c test failures in ppc64le are very likely related to bug 2052982.
The errors related to cfi_ignorelist.txt can be ignored: this setup is not supported upstream. I'll propose a patch to the integration-test-suite to disable these checks
@jchecahi can you do an extra run with that https://github.com/opencollab/llvm-toolchain-integration-test-suite/pull/79 patch applied on the test suite?
@sguelton lto_and_cfi case is now XFAIL in both ppc64le and s390x so the patch is indeed good. aarch64 and x86_64 are still full green: s390x: XFAIL: LLVM regression suite :: lto_and_cfi.c (22 of 43) ppc64le: XFAIL: LLVM regression suite :: lto_and_cfi.c (16 of 43)
basic_openmp.c should be handled by https://github.com/opencollab/llvm-toolchain-integration-test-suite/pull/81
the lfo_cfi issue has been handled by https://github.com/opencollab/llvm-toolchain-integration-test-suite/pull/83 the lldb issue should be fixed once https://github.com/opencollab/llvm-toolchain-integration-test-suite/pull/86 is in