[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:14 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-fullbuild-dbg-asan` 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/171/builds/9477
<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)
...
[ RUN ] LlvmLibcStrtollTest.DecodeInOtherBases
[ OK ] LlvmLibcStrtollTest.DecodeInOtherBases (411 ms)
[ RUN ] LlvmLibcStrtollTest.CleanBaseSixteenDecode
[ OK ] LlvmLibcStrtollTest.CleanBaseSixteenDecode (15 us)
[ RUN ] LlvmLibcStrtollTest.MessyBaseSixteenDecode
[ OK ] LlvmLibcStrtollTest.MessyBaseSixteenDecode (3 us)
[ RUN ] LlvmLibcStrtollTest.AutomaticBaseSelection
[ OK ] LlvmLibcStrtollTest.AutomaticBaseSelection (5 us)
Ran 7 tests. PASS: 7 FAIL: 0
[1078/1089] 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/bin/clang -fPIC -fno-semantic-interposition -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-c99-extensions -Wno-gnu-imaginary-constant -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-fullbuild-dbg-asan/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-fullbuild-dbg-asan/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-fullbuild-dbg-asan/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-fullbuild-dbg-asan/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-fullbuild-dbg-asan/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-fullbuild-dbg-asan/llvm-project/libc/test/include/issignaling_test.c:26: undefined reference to `issignalingl'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[1079/1089] Running unit test libc.test.src.stdlib.strtol_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcStrtolTest.InvalidBase
[ OK ] LlvmLibcStrtolTest.InvalidBase (6 us)
[ RUN ] LlvmLibcStrtolTest.CleanBaseTenDecode
[ OK ] LlvmLibcStrtolTest.CleanBaseTenDecode (10 us)
[ RUN ] LlvmLibcStrtolTest.MessyBaseTenDecode
[ OK ] LlvmLibcStrtolTest.MessyBaseTenDecode (9 us)
[ RUN ] LlvmLibcStrtolTest.DecodeInOtherBases
[ OK ] LlvmLibcStrtolTest.DecodeInOtherBases (466 ms)
[ RUN ] LlvmLibcStrtolTest.CleanBaseSixteenDecode
[ OK ] LlvmLibcStrtolTest.CleanBaseSixteenDecode (9 us)
[ RUN ] LlvmLibcStrtolTest.MessyBaseSixteenDecode
[ OK ] LlvmLibcStrtolTest.MessyBaseSixteenDecode (3 us)
[ RUN ] LlvmLibcStrtolTest.AutomaticBaseSelection
[ OK ] LlvmLibcStrtolTest.AutomaticBaseSelection (4 us)
Ran 7 tests. PASS: 7 FAIL: 0
[1080/1089] Running unit test libc.test.src.inttypes.strtoimax_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcStrtoimaxTest.InvalidBase
[ OK ] LlvmLibcStrtoimaxTest.InvalidBase (16 us)
[ RUN ] LlvmLibcStrtoimaxTest.CleanBaseTenDecode
[ OK ] LlvmLibcStrtoimaxTest.CleanBaseTenDecode (11 us)
[ RUN ] LlvmLibcStrtoimaxTest.MessyBaseTenDecode
[ OK ] LlvmLibcStrtoimaxTest.MessyBaseTenDecode (9 us)
[ RUN ] LlvmLibcStrtoimaxTest.DecodeInOtherBases
[ OK ] LlvmLibcStrtoimaxTest.DecodeInOtherBases (356 ms)
[ RUN ] LlvmLibcStrtoimaxTest.CleanBaseSixteenDecode
[ OK ] LlvmLibcStrtoimaxTest.CleanBaseSixteenDecode (9 us)
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ RUN ] LlvmLibcStrtollTest.DecodeInOtherBases
[ OK ] LlvmLibcStrtollTest.DecodeInOtherBases (411 ms)
[ RUN ] LlvmLibcStrtollTest.CleanBaseSixteenDecode
[ OK ] LlvmLibcStrtollTest.CleanBaseSixteenDecode (15 us)
[ RUN ] LlvmLibcStrtollTest.MessyBaseSixteenDecode
[ OK ] LlvmLibcStrtollTest.MessyBaseSixteenDecode (3 us)
[ RUN ] LlvmLibcStrtollTest.AutomaticBaseSelection
[ OK ] LlvmLibcStrtollTest.AutomaticBaseSelection (5 us)
Ran 7 tests. PASS: 7 FAIL: 0
[1078/1089] 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/bin/clang -fPIC -fno-semantic-interposition -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-c99-extensions -Wno-gnu-imaginary-constant -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-fullbuild-dbg-asan/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-fullbuild-dbg-asan/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-fullbuild-dbg-asan/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-fullbuild-dbg-asan/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-fullbuild-dbg-asan/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-fullbuild-dbg-asan/llvm-project/libc/test/include/issignaling_test.c:26: undefined reference to `issignalingl'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[1079/1089] Running unit test libc.test.src.stdlib.strtol_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcStrtolTest.InvalidBase
[ OK ] LlvmLibcStrtolTest.InvalidBase (6 us)
[ RUN ] LlvmLibcStrtolTest.CleanBaseTenDecode
[ OK ] LlvmLibcStrtolTest.CleanBaseTenDecode (10 us)
[ RUN ] LlvmLibcStrtolTest.MessyBaseTenDecode
[ OK ] LlvmLibcStrtolTest.MessyBaseTenDecode (9 us)
[ RUN ] LlvmLibcStrtolTest.DecodeInOtherBases
[ OK ] LlvmLibcStrtolTest.DecodeInOtherBases (466 ms)
[ RUN ] LlvmLibcStrtolTest.CleanBaseSixteenDecode
[ OK ] LlvmLibcStrtolTest.CleanBaseSixteenDecode (9 us)
[ RUN ] LlvmLibcStrtolTest.MessyBaseSixteenDecode
[ OK ] LlvmLibcStrtolTest.MessyBaseSixteenDecode (3 us)
[ RUN ] LlvmLibcStrtolTest.AutomaticBaseSelection
[ OK ] LlvmLibcStrtolTest.AutomaticBaseSelection (4 us)
Ran 7 tests. PASS: 7 FAIL: 0
[1080/1089] Running unit test libc.test.src.inttypes.strtoimax_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcStrtoimaxTest.InvalidBase
[ OK ] LlvmLibcStrtoimaxTest.InvalidBase (16 us)
[ RUN ] LlvmLibcStrtoimaxTest.CleanBaseTenDecode
[ OK ] LlvmLibcStrtoimaxTest.CleanBaseTenDecode (11 us)
[ RUN ] LlvmLibcStrtoimaxTest.MessyBaseTenDecode
[ OK ] LlvmLibcStrtoimaxTest.MessyBaseTenDecode (9 us)
[ RUN ] LlvmLibcStrtoimaxTest.DecodeInOtherBases
[ OK ] LlvmLibcStrtoimaxTest.DecodeInOtherBases (356 ms)
[ RUN ] LlvmLibcStrtoimaxTest.CleanBaseSixteenDecode
[ OK ] LlvmLibcStrtoimaxTest.CleanBaseSixteenDecode (9 us)
```
</details>
https://github.com/llvm/llvm-project/pull/114566
More information about the libc-commits
mailing list