[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:13:18 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-riscv32-qemu-yocto-fullbuild-dbg` running on `rv32gc-qemu-system` while building `libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/196/builds/406
<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)
...
-- Build files have been written to: /home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/build
@@@BUILD_STEP build libc@@@
Running: ninja libc
ninja: no work to do.
@@@BUILD_STEP build libc-startup@@@
Running: ninja libc-startup
ninja: no work to do.
@@@BUILD_STEP libc-unit-tests@@@
Running: ninja libc-unit-tests
[1/913] 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/clang -mabi=ilp32d -march=rv32imafdc --target=riscv32-unknown-linux-gnu --sysroot=/opt/riscv/sysroot --gcc-toolchain=/opt/riscv -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 -fdiagnostics-color -g -fuse-ld=lld -Wl,--color-diagnostics --target=riscv32-unknown-linux-gnu -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffixed-point -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 && :
ld.lld: error: undefined symbol: iscanonical
>>> referenced by iscanonical_test.c:21 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:21)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
>>> referenced by iscanonical_test.c:22 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:22)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
ld.lld: error: undefined symbol: iscanonicalf
>>> referenced by iscanonical_test.c:21 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:21)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
>>> referenced by iscanonical_test.c:22 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:22)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
ld.lld: error: undefined symbol: iscanonicall
>>> referenced by iscanonical_test.c:0 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:0)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
>>> referenced by iscanonical_test.c:0 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:0)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[2/913] 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/clang -mabi=ilp32d -march=rv32imafdc --target=riscv32-unknown-linux-gnu --sysroot=/opt/riscv/sysroot --gcc-toolchain=/opt/riscv -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 -fdiagnostics-color -g -fuse-ld=lld -Wl,--color-diagnostics --target=riscv32-unknown-linux-gnu -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffixed-point -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 && :
ld.lld: error: undefined symbol: issignaling
>>> referenced by issignaling_test.c:21 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:21)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
>>> referenced by issignaling_test.c:22 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:22)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
ld.lld: error: undefined symbol: issignalingf
>>> referenced by issignaling_test.c:21 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:21)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
>>> referenced by issignaling_test.c:22 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:22)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
ld.lld: error: undefined symbol: issignalingl
>>> referenced by issignaling_test.c:0 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:0)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
>>> referenced by issignaling_test.c:0 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:0)
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
@@@BUILD_STEP libc-unit-tests@@@
Running: ninja libc-unit-tests
[1/913] 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/clang -mabi=ilp32d -march=rv32imafdc --target=riscv32-unknown-linux-gnu --sysroot=/opt/riscv/sysroot --gcc-toolchain=/opt/riscv -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 -fdiagnostics-color -g -fuse-ld=lld -Wl,--color-diagnostics --target=riscv32-unknown-linux-gnu -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffixed-point -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 && :
ld.lld: error: undefined symbol: iscanonical
>>> referenced by iscanonical_test.c:21 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:21)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
>>> referenced by iscanonical_test.c:22 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:22)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
ld.lld: error: undefined symbol: iscanonicalf
>>> referenced by iscanonical_test.c:21 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:21)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
>>> referenced by iscanonical_test.c:22 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:22)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
ld.lld: error: undefined symbol: iscanonicall
>>> referenced by iscanonical_test.c:0 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:0)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
>>> referenced by iscanonical_test.c:0 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/iscanonical_test.c:0)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.iscanonical_c_test.__unit__.__build__.dir/iscanonical_test.c.o:(main)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[2/913] 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/clang -mabi=ilp32d -march=rv32imafdc --target=riscv32-unknown-linux-gnu --sysroot=/opt/riscv/sysroot --gcc-toolchain=/opt/riscv -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 -fdiagnostics-color -g -fuse-ld=lld -Wl,--color-diagnostics --target=riscv32-unknown-linux-gnu -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffixed-point -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 && :
ld.lld: error: undefined symbol: issignaling
>>> referenced by issignaling_test.c:21 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:21)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
>>> referenced by issignaling_test.c:22 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:22)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
ld.lld: error: undefined symbol: issignalingf
>>> referenced by issignaling_test.c:21 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:21)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
>>> referenced by issignaling_test.c:22 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:22)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
ld.lld: error: undefined symbol: issignalingl
>>> referenced by issignaling_test.c:0 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:0)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
>>> referenced by issignaling_test.c:0 (/home/libcrv32buildbot/bbroot/libc-riscv32-qemu-yocto-fullbuild-dbg/llvm-project/libc/test/include/issignaling_test.c:0)
>>> projects/libc/test/include/CMakeFiles/libc.test.include.issignaling_c_test.__unit__.__build__.dir/issignaling_test.c.o:(main)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[3/913] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.issignalingf_test.__unit__.__build__
[4/913] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.iscanonicalf_test.__unit__.__build__
[5/913] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.issignalingl_test.__unit__.__build__
[6/913] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.iscanonical_test.__unit__.__build__
[7/913] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.iscanonicall_test.__unit__.__build__
[8/913] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.issignaling_test.__unit__.__build__
```
</details>
https://github.com/llvm/llvm-project/pull/114566
More information about the libc-commits
mailing list