[llvm-bugs] [Bug 50244] New: compiler-rt build failing on 32-bit x86 Linux platform: bits/c++config.h not found

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 6 06:38:02 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50244

            Bug ID: 50244
           Summary: compiler-rt build failing on 32-bit x86 Linux
                    platform: bits/c++config.h not found
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: lukebenes at hotmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

The fix for Bug 49827, https://github.com/llvm/llvm-project/commit/e92d2b80c6c9

Is causing Debian 10 i386, OpenSUSE Tumbleweed i686, and Arch Linux 32,
compiler-rt release builds to fail with

[ 96%] Generating SANITIZER_TEST_OBJECTS.sanitizer_allocator_test.cpp.i386.o
..............................In file included from
/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp:17:
In file included from
/compiler-rt/lib/sanitizer_common/tests/sanitizer_test_utils.h:27:
In file included from
/compiler-rt/lib/sanitizer_common/tests/sanitizer_test_config.h:19:
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>
         ^~~~~~~~~~~~~~~~~~
......................................[ 96%] Generating
INTERCEPTION_TEST_OBJECTS.interception_linux_test.cpp.i386.o
.....................In file included from
/compiler-rt/lib/interception/tests/interception_linux_test.cpp:19:
In file included from
/home/luke/e64/lo/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h:54:
/usr/lib/gcc/i586-suse-linux/10/../../../../include/c++/10/limits:42:10: fatal
error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
         ^~~~~~~~~~~~~~~~~~
...............................1 error generated.
.make[3]: ***
[projects/compiler-rt/lib/interception/tests/CMakeFiles/TInterception-i386-Test.dir/build.make:91:
projects/compiler-rt/lib/interception/tests/INTERCEPTION_TEST_OBJECTS.interception_linux_test.cpp.i386.o]
Error 1
make[2]: *** [CMakeFiles/Makefile2:37022:
projects/compiler-rt/lib/interception/tests/CMakeFiles/TInterception-i386-Test.dir/all]
Error 2
make[2]: *** Waiting for unfinished jobs....
.[ 96%] Generating SANITIZER_TEST_OBJECTS.sanitizer_atomic_test.cpp.i386.o
....
----------------------------------------------------------------------
Ran 126 tests in 0.914s

OK
In file included from
/compiler-rt/lib/sanitizer_common/tests/sanitizer_atomic_test.cpp:13:
In file included from
/home/luke/e64/lo/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h:54:
/usr/lib/gcc/i586-suse-linux/10/../../../../include/c++/10/limits:42:10: fatal
error: 'bits/c++config.h' file not found
#include <bits/c++config.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: ***
[projects/compiler-rt/lib/sanitizer_common/tests/CMakeFiles/TSanitizer-i386-Test.dir/build.make:221:
projects/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_allocator_test.cpp.i386.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
[ 96%] Built target check-clang-python
1 error generated.
make[3]: ***
[projects/compiler-rt/lib/sanitizer_common/tests/CMakeFiles/TSanitizer-i386-Test.dir/build.make:329:
projects/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_atomic_test.cpp.i386.o]
Error 1
make[2]: *** [CMakeFiles/Makefile2:36497:
projects/compiler-rt/lib/sanitizer_common/tests/CMakeFiles/TSanitizer-i386-Test.dir/all]
Error 2
[ 97%] Built target ToolingTests
make[1]: *** [CMakeFiles/Makefile2:14979: CMakeFiles/check-all.dir/rule] Error
2
make: *** [Makefile:244: check-all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210506/5ebfa8cc/attachment-0001.html>


More information about the llvm-bugs mailing list