[llvm-dev] Compiler-rt Build Fails and OpenMP Tests Fail on Non-Debian 32-bit Distros: bits/c++config.h not found
Luke Benes via llvm-dev
llvm-dev at lists.llvm.org
Wed May 19 12:14:29 PDT 2021
On both Arch Linux 32 and i686 OpenSUSE Tumbleweed, the OpenMP tests fail after The fix for Bug 49827,
https://github.com/llvm/llvm-project/commit/e92d2b80c6c9
Failed Tests (14):
libomp :: api/omp_display_env0.c
libomp :: ompt/misc/api_calls_from_other_thread.cpp
libomp :: ompt/misc/interoperability.cpp
libomp :: tasking/bug_taskwait_detach.cpp
libomp :: tasking/hidden_helper_task/capacity_mix_threads.cpp
libomp :: tasking/hidden_helper_task/capacity_nthreads.cpp
libomp :: tasking/hidden_helper_task/depend.cpp
libomp :: tasking/hidden_helper_task/gtid.cpp
libomp :: tasking/hidden_helper_task/taskgroup.cpp
libomp :: tasking/kmp_task_modifier_simple_par_new.cpp
libomp :: tasking/kmp_task_modifier_simple_par_old.cpp
libomp :: tasking/kmp_task_modifier_simple_ws_new.cpp
libomp :: tasking/kmp_task_modifier_simple_ws_old.cpp
libomp :: tasking/kmp_task_reduction_nest.cpp
Here is a sample failure
******************** TEST 'libomp :: tasking/kmp_task_reduction_nest.cpp' FAILED ********************
Script:
--
Exit Code: 1
Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "/lo/llvm-project/build/./bin/clang++" "-fopenmp" "-pthread" "-fno-experimental-isel" "-I" "/lo/llvm-project/openmp/runtime/test" "-I" "/lo/llvm-project/build/projects/openmp/runtime/src" "-L" "/lo/llvm-project/build/lib" "-I" "/lo/llvm-project/openmp/runtime/test/ompt" "-std=c++14" "/lo/llvm-project/openmp/runtime/test/tasking/kmp_task_reduction_nest.cpp" "-o" "/lo/llvm-project/build/projects/openmp/runtime/test/tasking/Output/kmp_task_reduction_nest.cpp.tmp" "-lm" "-latomic"
# command stderr:
In file included from /lo/llvm-project/openmp/runtime/test/tasking/kmp_task_reduction_nest.cpp:5:
/usr/lib/gcc/i586-suse-linux/10/../../../../include/c++/10/cstdio:41:10: fatal error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
^~~~~~~~~~~~~~~~~~
1 error generated.
error: command failed with exit status: 1
--
The compiler-rt build fails with:
In file included from /usr/lib/gcc/i586-suse-linux/10/../../../../include/c++/10/vector:60:
/usr/lib/gcc/i586-suse-linux/10/../../../../include/c++/10/bits/stl_algobase.h:59:10: fatal error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
^~~~~~~~~~~~~~~~~~
Both release and debug builds fail. Both gcc and clang builds fail with the same error.
I filed a bug report at https://bugs.llvm.org/show_bug.cgi?id=50303
-Luke
More information about the llvm-dev
mailing list