[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:17:38 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-riscv64-debian-fullbuild-dbg` running on `libc-riscv64-debian` while building `libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/183/builds/5673
<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)
...
[ OK ] LlvmLibcStdbitTest.TypeGenericMacroBitFloor (5 us)
[ RUN ] LlvmLibcStdbitTest.TypeGenericMacroBitCeil
[ OK ] LlvmLibcStdbitTest.TypeGenericMacroBitCeil (3 us)
[ RUN ] LlvmLibcStdbitTest.VersionMacro
[ OK ] LlvmLibcStdbitTest.VersionMacro (2 us)
[ RUN ] LlvmLibcStdbitTest.EndianMacros
[ OK ] LlvmLibcStdbitTest.EndianMacros (3 us)
Ran 16 tests. PASS: 16 FAIL: 0
[972/1012] Running unit test libc.test.include.stdbit_c_test.__unit__
[973/1012] 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/bin/clang -fPIC -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 -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.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/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:20: undefined reference to `iscanonical'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:(.text+0x52): undefined reference to `iscanonicalf'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:(.text+0x94): undefined reference to `iscanonicall'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:23: undefined reference to `iscanonicalf'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:24: undefined reference to `iscanonical'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:(.text+0x17a): undefined reference to `iscanonicall'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[974/1012] 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 -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 -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/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:20: undefined reference to `issignaling'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:(.text+0x52): undefined reference to `issignalingf'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:(.text+0x90): undefined reference to `issignalingl'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:23: undefined reference to `issignalingf'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:24: undefined reference to `issignaling'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:(.text+0x174): undefined reference to `issignalingl'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[975/1012] Running unit test libc.test.include.stdckdint_test.__unit__
[==========] Running 3 tests from 1 test suite.
[ RUN ] LlvmLibcStdCkdIntTest.Add
[ OK ] LlvmLibcStdCkdIntTest.Add (5 us)
[ RUN ] LlvmLibcStdCkdIntTest.Sub
[ OK ] LlvmLibcStdCkdIntTest.Sub (3 us)
[ RUN ] LlvmLibcStdCkdIntTest.Mul
[ OK ] LlvmLibcStdCkdIntTest.Mul (2 us)
Ran 3 tests. PASS: 3 FAIL: 0
[976/1012] Running unit test libc.test.src.time.nanosleep_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcNanosleep.SmokeTest
[ OK ] LlvmLibcNanosleep.SmokeTest (28 us)
Ran 1 tests. PASS: 1 FAIL: 0
[977/1012] Running unit test libc.test.src.inttypes.strtoimax_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcStrtoimaxTest.InvalidBase
[ OK ] LlvmLibcStrtoimaxTest.InvalidBase (6 us)
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ OK ] LlvmLibcStdbitTest.TypeGenericMacroBitFloor (5 us)
[ RUN ] LlvmLibcStdbitTest.TypeGenericMacroBitCeil
[ OK ] LlvmLibcStdbitTest.TypeGenericMacroBitCeil (3 us)
[ RUN ] LlvmLibcStdbitTest.VersionMacro
[ OK ] LlvmLibcStdbitTest.VersionMacro (2 us)
[ RUN ] LlvmLibcStdbitTest.EndianMacros
[ OK ] LlvmLibcStdbitTest.EndianMacros (3 us)
Ran 16 tests. PASS: 16 FAIL: 0
[972/1012] Running unit test libc.test.include.stdbit_c_test.__unit__
[973/1012] 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/bin/clang -fPIC -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 -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.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/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:20: undefined reference to `iscanonical'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:(.text+0x52): undefined reference to `iscanonicalf'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:(.text+0x94): undefined reference to `iscanonicall'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:23: undefined reference to `iscanonicalf'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:24: undefined reference to `iscanonical'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:(.text+0x17a): undefined reference to `iscanonicall'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[974/1012] 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 -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 -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/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:20: undefined reference to `issignaling'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:(.text+0x52): undefined reference to `issignalingf'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:(.text+0x90): undefined reference to `issignalingl'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:23: undefined reference to `issignalingf'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:24: undefined reference to `issignaling'
/usr/bin/ld: /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:(.text+0x174): undefined reference to `issignalingl'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[975/1012] Running unit test libc.test.include.stdckdint_test.__unit__
[==========] Running 3 tests from 1 test suite.
[ RUN ] LlvmLibcStdCkdIntTest.Add
[ OK ] LlvmLibcStdCkdIntTest.Add (5 us)
[ RUN ] LlvmLibcStdCkdIntTest.Sub
[ OK ] LlvmLibcStdCkdIntTest.Sub (3 us)
[ RUN ] LlvmLibcStdCkdIntTest.Mul
[ OK ] LlvmLibcStdCkdIntTest.Mul (2 us)
Ran 3 tests. PASS: 3 FAIL: 0
[976/1012] Running unit test libc.test.src.time.nanosleep_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcNanosleep.SmokeTest
[ OK ] LlvmLibcNanosleep.SmokeTest (28 us)
Ran 1 tests. PASS: 1 FAIL: 0
[977/1012] Running unit test libc.test.src.inttypes.strtoimax_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcStrtoimaxTest.InvalidBase
[ OK ] LlvmLibcStrtoimaxTest.InvalidBase (6 us)
```
</details>
https://github.com/llvm/llvm-project/pull/114566
More information about the libc-commits
mailing list