[libc-commits] [libc] [libc][cmake] disable include tests in overlay mode (PR #114566)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Fri Nov 1 15:04:23 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-gcc-fullbuild-dbg` running on `libc-x86_64-debian-fullbuild` while building `libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/131/builds/9551
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcIsFiniteTest.SpecialNumbers
[ OK ] LlvmLibcIsFiniteTest.SpecialNumbers (4 us)
Ran 1 tests. PASS: 1 FAIL: 0
[1065/1093] Running unit test libc.test.include.isinf_c_test.__unit__
[1066/1093] Running unit test libc.test.include.isfinite_c_test.__unit__
[1067/1093] Running unit test libc.test.include.issubnormal_c_test.__unit__
[1068/1093] Running unit test libc.test.include.fpclassify_c_test.__unit__
[1069/1093] Running unit test libc.test.include.iszero_c_test.__unit__
[1070/1093] Linking C executable projects/libc/test/include/libc.test.include.iscanonical_c_test.__unit__.__build__
FAILED: projects/libc/test/include/libc.test.include.iscanonical_c_test.__unit__.__build__
: && /usr/local/bin/gcc -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -g -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-pedantic -Wall -Werror projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o -o projects/libc/test/include/libc.test.include.iscanonical_c_test.__unit__.__build__ projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.iscanonical.__internal__.dir/./iscanonical.cpp.o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.iscanonicalf.__internal__.dir/./iscanonicalf.cpp.o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.iscanonicall.__internal__.dir/./iscanonicall.cpp.o && :
/usr/bin/ld: projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o: in function `main':
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:21: undefined reference to `iscanonical'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:22: undefined reference to `iscanonicalf'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:23: undefined reference to `iscanonicall'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:24: undefined reference to `iscanonicalf'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:25: undefined reference to `iscanonical'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:26: undefined reference to `iscanonicall'
collect2: error: ld returned 1 exit status
[1071/1093] Linking C executable projects/libc/test/include/libc.test.include.issignaling_c_test.__unit__.__build__
FAILED: projects/libc/test/include/libc.test.include.issignaling_c_test.__unit__.__build__
: && /usr/local/bin/gcc -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -g -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-pedantic -Wall -Werror projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o -o projects/libc/test/include/libc.test.include.issignaling_c_test.__unit__.__build__ projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.issignaling.__internal__.dir/./issignaling.cpp.o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.issignalingf.__internal__.dir/./issignalingf.cpp.o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.issignalingl.__internal__.dir/./issignalingl.cpp.o && :
/usr/bin/ld: projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o: in function `main':
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:21: undefined reference to `issignaling'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:22: undefined reference to `issignalingf'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:23: undefined reference to `issignalingl'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:24: undefined reference to `issignalingf'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:25: undefined reference to `issignaling'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:26: undefined reference to `issignalingl'
collect2: error: ld returned 1 exit status
[1072/1093] Running unit test libc.test.src.stdio.sprintf_test.__unit__
[==========] Running 20 tests from 1 test suite.
[ RUN ] LlvmLibcSPrintfTest.Macros
[ OK ] LlvmLibcSPrintfTest.Macros (35 us)
[ RUN ] LlvmLibcSPrintfTest.SimpleNoConv
[ OK ] LlvmLibcSPrintfTest.SimpleNoConv (3 us)
[ RUN ] LlvmLibcSPrintfTest.PercentConv
[ OK ] LlvmLibcSPrintfTest.PercentConv (4 us)
[ RUN ] LlvmLibcSPrintfTest.CharConv
[ OK ] LlvmLibcSPrintfTest.CharConv (6 us)
[ RUN ] LlvmLibcSPrintfTest.StringConv
[ OK ] LlvmLibcSPrintfTest.StringConv (9 us)
[ RUN ] LlvmLibcSPrintfTest.IntConv
[ OK ] LlvmLibcSPrintfTest.IntConv (91 us)
[ RUN ] LlvmLibcSPrintfTest.HexConv
[ OK ] LlvmLibcSPrintfTest.HexConv (49 us)
[ RUN ] LlvmLibcSPrintfTest.BinConv
[ OK ] LlvmLibcSPrintfTest.BinConv (41 us)
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcIsFiniteTest.SpecialNumbers
[ OK ] LlvmLibcIsFiniteTest.SpecialNumbers (4 us)
Ran 1 tests. PASS: 1 FAIL: 0
[1065/1093] Running unit test libc.test.include.isinf_c_test.__unit__
[1066/1093] Running unit test libc.test.include.isfinite_c_test.__unit__
[1067/1093] Running unit test libc.test.include.issubnormal_c_test.__unit__
[1068/1093] Running unit test libc.test.include.fpclassify_c_test.__unit__
[1069/1093] Running unit test libc.test.include.iszero_c_test.__unit__
[1070/1093] Linking C executable projects/libc/test/include/libc.test.include.iscanonical_c_test.__unit__.__build__
FAILED: projects/libc/test/include/libc.test.include.iscanonical_c_test.__unit__.__build__
: && /usr/local/bin/gcc -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -g -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-pedantic -Wall -Werror projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o -o projects/libc/test/include/libc.test.include.iscanonical_c_test.__unit__.__build__ projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.iscanonical.__internal__.dir/./iscanonical.cpp.o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.iscanonicalf.__internal__.dir/./iscanonicalf.cpp.o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.iscanonicall.__internal__.dir/./iscanonicall.cpp.o && :
/usr/bin/ld: projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o: in function `main':
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:21: undefined reference to `iscanonical'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:22: undefined reference to `iscanonicalf'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:23: undefined reference to `iscanonicall'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:24: undefined reference to `iscanonicalf'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:25: undefined reference to `iscanonical'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:26: undefined reference to `iscanonicall'
collect2: error: ld returned 1 exit status
[1071/1093] Linking C executable projects/libc/test/include/libc.test.include.issignaling_c_test.__unit__.__build__
FAILED: projects/libc/test/include/libc.test.include.issignaling_c_test.__unit__.__build__
: && /usr/local/bin/gcc -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -g -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-pedantic -Wall -Werror projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o -o projects/libc/test/include/libc.test.include.issignaling_c_test.__unit__.__build__ projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.issignaling.__internal__.dir/./issignaling.cpp.o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.issignalingf.__internal__.dir/./issignalingf.cpp.o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.issignalingl.__internal__.dir/./issignalingl.cpp.o && :
/usr/bin/ld: projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o: in function `main':
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:21: undefined reference to `issignaling'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:22: undefined reference to `issignalingf'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:23: undefined reference to `issignalingl'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:24: undefined reference to `issignalingf'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:25: undefined reference to `issignaling'
/usr/bin/ld: /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:26: undefined reference to `issignalingl'
collect2: error: ld returned 1 exit status
[1072/1093] Running unit test libc.test.src.stdio.sprintf_test.__unit__
[==========] Running 20 tests from 1 test suite.
[ RUN ] LlvmLibcSPrintfTest.Macros
[ OK ] LlvmLibcSPrintfTest.Macros (35 us)
[ RUN ] LlvmLibcSPrintfTest.SimpleNoConv
[ OK ] LlvmLibcSPrintfTest.SimpleNoConv (3 us)
[ RUN ] LlvmLibcSPrintfTest.PercentConv
[ OK ] LlvmLibcSPrintfTest.PercentConv (4 us)
[ RUN ] LlvmLibcSPrintfTest.CharConv
[ OK ] LlvmLibcSPrintfTest.CharConv (6 us)
[ RUN ] LlvmLibcSPrintfTest.StringConv
[ OK ] LlvmLibcSPrintfTest.StringConv (9 us)
[ RUN ] LlvmLibcSPrintfTest.IntConv
[ OK ] LlvmLibcSPrintfTest.IntConv (91 us)
[ RUN ] LlvmLibcSPrintfTest.HexConv
[ OK ] LlvmLibcSPrintfTest.HexConv (49 us)
[ RUN ] LlvmLibcSPrintfTest.BinConv
[ OK ] LlvmLibcSPrintfTest.BinConv (41 us)
```
</details>
https://github.com/llvm/llvm-project/pull/114566
More information about the libc-commits
mailing list