[libc-commits] [libc] [libc] Remove _Exit proxy func header and use LIBC_NAMESPACE::_Exit in tests (PR #114904)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Thu Nov 7 09:14:56 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-aarch64-ubuntu-fullbuild-dbg` running on `libc-aarch64-ubuntu` while building `libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/71/builds/10064
<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 ] LlvmLibcLinkatTest.CreateAndUnlink (68 us)
[ RUN ] LlvmLibcLinkatTest.LinkToNonExistentFile
[ OK ] LlvmLibcLinkatTest.LinkToNonExistentFile (4 us)
Ran 2 tests. PASS: 2 FAIL: 0
[781/881] Running unit test libc.test.src.unistd.pathconf_test
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcPipeTest.SmokeTest
[ OK ] LlvmLibcPipeTest.SmokeTest (20 us)
Ran 1 tests. PASS: 1 FAIL: 0
[782/881] Building CXX object projects/libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.at_quick_exit_test.__unit__.__build__.dir/at_quick_exit_test.cpp.o
FAILED: projects/libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.at_quick_exit_test.__unit__.__build__.dir/at_quick_exit_test.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -Iprojects/libc/test/src/stdlib -I/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc/test/src/stdlib -I/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc -isystem projects/libc/include -fPIC -fvisibility-inlines-hidden -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 -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -std=c++17 -MD -MT projects/libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.at_quick_exit_test.__unit__.__build__.dir/at_quick_exit_test.cpp.o -MF projects/libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.at_quick_exit_test.__unit__.__build__.dir/at_quick_exit_test.cpp.o.d -o projects/libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.at_quick_exit_test.__unit__.__build__.dir/at_quick_exit_test.cpp.o -c /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc/test/src/stdlib/at_quick_exit_test.cpp
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc/test/src/stdlib/at_quick_exit_test.cpp:36:57: error: no member named '_Exit' in namespace '__llvm_libc_19_0_0_git'
LIBC_NAMESPACE::at_quick_exit(+[] { LIBC_NAMESPACE::_Exit(1); });
~~~~~~~~~~~~~~~~^
1 error generated.
[783/881] Running unit test libc.test.src.string.memmove_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcMemmoveTest.MoveZeroByte
[ OK ] LlvmLibcMemmoveTest.MoveZeroByte (3 us)
[ RUN ] LlvmLibcMemmoveTest.DstAndSrcPointToSameAddress
[ OK ] LlvmLibcMemmoveTest.DstAndSrcPointToSameAddress (1 us)
[ RUN ] LlvmLibcMemmoveTest.DstStartsBeforeSrc
[ OK ] LlvmLibcMemmoveTest.DstStartsBeforeSrc (1 us)
[ RUN ] LlvmLibcMemmoveTest.DstStartsAfterSrc
[ OK ] LlvmLibcMemmoveTest.DstStartsAfterSrc (0 ns)
[ RUN ] LlvmLibcMemmoveTest.SrcFollowDst
[ OK ] LlvmLibcMemmoveTest.SrcFollowDst (1 us)
[ RUN ] LlvmLibcMemmoveTest.DstFollowSrc
[ OK ] LlvmLibcMemmoveTest.DstFollowSrc (1 us)
[ RUN ] LlvmLibcMemmoveTest.SizeSweep
[ OK ] LlvmLibcMemmoveTest.SizeSweep (40 ms)
Ran 7 tests. PASS: 7 FAIL: 0
[784/881] Running unit test libc.test.src.unistd._exit_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcUniStd._exit
[ OK ] LlvmLibcUniStd._exit (281 us)
Ran 1 tests. PASS: 1 FAIL: 0
[785/881] Running unit test libc.test.src.unistd.isatty_test
[==========] Running 4 tests from 1 test suite.
[ RUN ] LlvmLibcIsATTYTest.StdInOutTests
[ OK ] LlvmLibcIsATTYTest.StdInOutTests (4 us)
[ RUN ] LlvmLibcIsATTYTest.BadFdTest
[ OK ] LlvmLibcIsATTYTest.BadFdTest (1 us)
[ RUN ] LlvmLibcIsATTYTest.DevTTYTest
[ OK ] LlvmLibcIsATTYTest.DevTTYTest (19 us)
[ RUN ] LlvmLibcIsATTYTest.FileTest
[ OK ] LlvmLibcIsATTYTest.FileTest (15 us)
Ran 4 tests. PASS: 4 FAIL: 0
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ OK ] LlvmLibcLinkatTest.CreateAndUnlink (68 us)
[ RUN ] LlvmLibcLinkatTest.LinkToNonExistentFile
[ OK ] LlvmLibcLinkatTest.LinkToNonExistentFile (4 us)
Ran 2 tests. PASS: 2 FAIL: 0
[781/881] Running unit test libc.test.src.unistd.pathconf_test
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcPipeTest.SmokeTest
[ OK ] LlvmLibcPipeTest.SmokeTest (20 us)
Ran 1 tests. PASS: 1 FAIL: 0
[782/881] Building CXX object projects/libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.at_quick_exit_test.__unit__.__build__.dir/at_quick_exit_test.cpp.o
FAILED: projects/libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.at_quick_exit_test.__unit__.__build__.dir/at_quick_exit_test.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -Iprojects/libc/test/src/stdlib -I/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc/test/src/stdlib -I/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc -isystem projects/libc/include -fPIC -fvisibility-inlines-hidden -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 -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -fpie -DLIBC_FULL_BUILD -ffreestanding -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -std=c++17 -MD -MT projects/libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.at_quick_exit_test.__unit__.__build__.dir/at_quick_exit_test.cpp.o -MF projects/libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.at_quick_exit_test.__unit__.__build__.dir/at_quick_exit_test.cpp.o.d -o projects/libc/test/src/stdlib/CMakeFiles/libc.test.src.stdlib.at_quick_exit_test.__unit__.__build__.dir/at_quick_exit_test.cpp.o -c /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc/test/src/stdlib/at_quick_exit_test.cpp
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu-fullbuild-dbg/llvm-project/libc/test/src/stdlib/at_quick_exit_test.cpp:36:57: error: no member named '_Exit' in namespace '__llvm_libc_19_0_0_git'
LIBC_NAMESPACE::at_quick_exit(+[] { LIBC_NAMESPACE::_Exit(1); });
~~~~~~~~~~~~~~~~^
1 error generated.
[783/881] Running unit test libc.test.src.string.memmove_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcMemmoveTest.MoveZeroByte
[ OK ] LlvmLibcMemmoveTest.MoveZeroByte (3 us)
[ RUN ] LlvmLibcMemmoveTest.DstAndSrcPointToSameAddress
[ OK ] LlvmLibcMemmoveTest.DstAndSrcPointToSameAddress (1 us)
[ RUN ] LlvmLibcMemmoveTest.DstStartsBeforeSrc
[ OK ] LlvmLibcMemmoveTest.DstStartsBeforeSrc (1 us)
[ RUN ] LlvmLibcMemmoveTest.DstStartsAfterSrc
[ OK ] LlvmLibcMemmoveTest.DstStartsAfterSrc (0 ns)
[ RUN ] LlvmLibcMemmoveTest.SrcFollowDst
[ OK ] LlvmLibcMemmoveTest.SrcFollowDst (1 us)
[ RUN ] LlvmLibcMemmoveTest.DstFollowSrc
[ OK ] LlvmLibcMemmoveTest.DstFollowSrc (1 us)
[ RUN ] LlvmLibcMemmoveTest.SizeSweep
[ OK ] LlvmLibcMemmoveTest.SizeSweep (40 ms)
Ran 7 tests. PASS: 7 FAIL: 0
[784/881] Running unit test libc.test.src.unistd._exit_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcUniStd._exit
[ OK ] LlvmLibcUniStd._exit (281 us)
Ran 1 tests. PASS: 1 FAIL: 0
[785/881] Running unit test libc.test.src.unistd.isatty_test
[==========] Running 4 tests from 1 test suite.
[ RUN ] LlvmLibcIsATTYTest.StdInOutTests
[ OK ] LlvmLibcIsATTYTest.StdInOutTests (4 us)
[ RUN ] LlvmLibcIsATTYTest.BadFdTest
[ OK ] LlvmLibcIsATTYTest.BadFdTest (1 us)
[ RUN ] LlvmLibcIsATTYTest.DevTTYTest
[ OK ] LlvmLibcIsATTYTest.DevTTYTest (19 us)
[ RUN ] LlvmLibcIsATTYTest.FileTest
[ OK ] LlvmLibcIsATTYTest.FileTest (15 us)
Ran 4 tests. PASS: 4 FAIL: 0
```
</details>
https://github.com/llvm/llvm-project/pull/114904
More information about the libc-commits
mailing list