[libc] [llvm] [LLVM] Replace use of `LLVM_RUNTIMES_TARGET` with `LLVM_DEFAULT_TARGET_TRIPLE` (PR #136208)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 22 06:07:27 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-dbg-asan` running on `libc-x86_64-debian` while building `flang-rt,libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/147/builds/19403
<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 ] LlvmLibcMemcmpTest.LhsBeforeRhsLexically
[ OK ] LlvmLibcMemcmpTest.LhsBeforeRhsLexically (3 us)
[ RUN ] LlvmLibcMemcmpTest.LhsAfterRhsLexically
[ OK ] LlvmLibcMemcmpTest.LhsAfterRhsLexically (3 us)
[ RUN ] LlvmLibcMemcmpTest.Issue77080
[ OK ] LlvmLibcMemcmpTest.Issue77080 (2 us)
[ RUN ] LlvmLibcMemcmpTest.SizeSweep
[ OK ] LlvmLibcMemcmpTest.SizeSweep (46 ms)
Ran 6 tests. PASS: 6 FAIL: 0
[3997/4299] Building CXX object libc/test/src/string/memory_utils/CMakeFiles/libc.test.src.string.memory_utils.utils_test.__unit__.__build__.dir/op_tests.cpp.o
FAILED: libc/test/src/string/memory_utils/CMakeFiles/libc.test.src.string.memory_utils.utils_test.__unit__.__build__.dir/op_tests.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/libc/include -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -fsanitize=address -fdiagnostics-color -g --target=x86_64-unknown-linux-gnu -fpie -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -std=gnu++17 -MD -MT libc/test/src/string/memory_utils/CMakeFiles/libc.test.src.string.memory_utils.utils_test.__unit__.__build__.dir/op_tests.cpp.o -MF libc/test/src/string/memory_utils/CMakeFiles/libc.test.src.string.memory_utils.utils_test.__unit__.__build__.dir/op_tests.cpp.o.d -o libc/test/src/string/memory_utils/CMakeFiles/libc.test.src.string.memory_utils.utils_test.__unit__.__build__.dir/op_tests.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/string/memory_utils/op_tests.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/string/memory_utils/op_tests.cpp:15:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/string/memory_utils/op_generic.h:397:3: error: static_assert failed due to requirement 'is_element_type_v<__attribute__((__vector_size__(2 * sizeof(long long)))) long long>'
static_assert(is_element_type_v<T>);
^ ~~~~~~~~~~~~~~~~~~~~
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/string/memory_utils/op_tests.cpp:332:28: note: in instantiation of template class '__llvm_libc_20_0_0_git::generic::Memcmp<__attribute__((__vector_size__(2 * sizeof(long long)))) long long>' requested here
constexpr size_t kSize = Impl::SIZE;
^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/UnitTest/LibcTest.h:301:8: note: in instantiation of member function '__llvm_libc_20_0_0_git::LlvmLibcOpTest_Memcmp<__llvm_libc_20_0_0_git::generic::Memcmp<__attribute__((__vector_size__(2 * sizeof(long long)))) long long>>::Run' requested here
struct TestCreator<TemplatedTestClass, Head, Tail...>
^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/string/memory_utils/op_tests.cpp:332:32: error: incomplete definition of type '__llvm_libc_20_0_0_git::generic::Memcmp<__attribute__((__vector_size__(2 * sizeof(long long)))) long long>'
constexpr size_t kSize = Impl::SIZE;
~~~~^~
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/UnitTest/LibcTest.h:301:8: note: in instantiation of member function '__llvm_libc_20_0_0_git::LlvmLibcOpTest_Memcmp<__llvm_libc_20_0_0_git::generic::Memcmp<__attribute__((__vector_size__(2 * sizeof(long long)))) long long>>::Run' requested here
struct TestCreator<TemplatedTestClass, Head, Tail...>
^
2 errors generated.
[3998/4299] Running unit test libc.test.src.string.memset_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcMemsetTest.SizeSweep
[ OK ] LlvmLibcMemsetTest.SizeSweep (1 ms)
[ RUN ] LlvmLibcMemsetTest.CheckAccess
[ OK ] LlvmLibcMemsetTest.CheckAccess (3 ms)
Ran 2 tests. PASS: 2 FAIL: 0
[3999/4299] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.strcasecmp_test.__unit__.__build__.dir/strcasecmp_test.cpp.o
[4000/4299] Running unit test libc.test.src.string.memmove_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcMemmoveTest.MoveZeroByte
[ OK ] LlvmLibcMemmoveTest.MoveZeroByte (9 us)
[ RUN ] LlvmLibcMemmoveTest.DstAndSrcPointToSameAddress
[ OK ] LlvmLibcMemmoveTest.DstAndSrcPointToSameAddress (3 us)
[ RUN ] LlvmLibcMemmoveTest.DstStartsBeforeSrc
[ OK ] LlvmLibcMemmoveTest.DstStartsBeforeSrc (3 us)
[ RUN ] LlvmLibcMemmoveTest.DstStartsAfterSrc
[ OK ] LlvmLibcMemmoveTest.DstStartsAfterSrc (3 us)
[ RUN ] LlvmLibcMemmoveTest.SrcFollowDst
[ OK ] LlvmLibcMemmoveTest.SrcFollowDst (2 us)
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ RUN ] LlvmLibcMemcmpTest.LhsBeforeRhsLexically
[ OK ] LlvmLibcMemcmpTest.LhsBeforeRhsLexically (3 us)
[ RUN ] LlvmLibcMemcmpTest.LhsAfterRhsLexically
[ OK ] LlvmLibcMemcmpTest.LhsAfterRhsLexically (3 us)
[ RUN ] LlvmLibcMemcmpTest.Issue77080
[ OK ] LlvmLibcMemcmpTest.Issue77080 (2 us)
[ RUN ] LlvmLibcMemcmpTest.SizeSweep
[ OK ] LlvmLibcMemcmpTest.SizeSweep (46 ms)
Ran 6 tests. PASS: 6 FAIL: 0
[3997/4299] Building CXX object libc/test/src/string/memory_utils/CMakeFiles/libc.test.src.string.memory_utils.utils_test.__unit__.__build__.dir/op_tests.cpp.o
FAILED: libc/test/src/string/memory_utils/CMakeFiles/libc.test.src.string.memory_utils.utils_test.__unit__.__build__.dir/op_tests.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/libc/include -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -fsanitize=address -fdiagnostics-color -g --target=x86_64-unknown-linux-gnu -fpie -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wstrict-prototypes -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wthread-safety -std=gnu++17 -MD -MT libc/test/src/string/memory_utils/CMakeFiles/libc.test.src.string.memory_utils.utils_test.__unit__.__build__.dir/op_tests.cpp.o -MF libc/test/src/string/memory_utils/CMakeFiles/libc.test.src.string.memory_utils.utils_test.__unit__.__build__.dir/op_tests.cpp.o.d -o libc/test/src/string/memory_utils/CMakeFiles/libc.test.src.string.memory_utils.utils_test.__unit__.__build__.dir/op_tests.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/string/memory_utils/op_tests.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/string/memory_utils/op_tests.cpp:15:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/string/memory_utils/op_generic.h:397:3: error: static_assert failed due to requirement 'is_element_type_v<__attribute__((__vector_size__(2 * sizeof(long long)))) long long>'
static_assert(is_element_type_v<T>);
^ ~~~~~~~~~~~~~~~~~~~~
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/string/memory_utils/op_tests.cpp:332:28: note: in instantiation of template class '__llvm_libc_20_0_0_git::generic::Memcmp<__attribute__((__vector_size__(2 * sizeof(long long)))) long long>' requested here
constexpr size_t kSize = Impl::SIZE;
^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/UnitTest/LibcTest.h:301:8: note: in instantiation of member function '__llvm_libc_20_0_0_git::LlvmLibcOpTest_Memcmp<__llvm_libc_20_0_0_git::generic::Memcmp<__attribute__((__vector_size__(2 * sizeof(long long)))) long long>>::Run' requested here
struct TestCreator<TemplatedTestClass, Head, Tail...>
^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/src/string/memory_utils/op_tests.cpp:332:32: error: incomplete definition of type '__llvm_libc_20_0_0_git::generic::Memcmp<__attribute__((__vector_size__(2 * sizeof(long long)))) long long>'
constexpr size_t kSize = Impl::SIZE;
~~~~^~
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/test/UnitTest/LibcTest.h:301:8: note: in instantiation of member function '__llvm_libc_20_0_0_git::LlvmLibcOpTest_Memcmp<__llvm_libc_20_0_0_git::generic::Memcmp<__attribute__((__vector_size__(2 * sizeof(long long)))) long long>>::Run' requested here
struct TestCreator<TemplatedTestClass, Head, Tail...>
^
2 errors generated.
[3998/4299] Running unit test libc.test.src.string.memset_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcMemsetTest.SizeSweep
[ OK ] LlvmLibcMemsetTest.SizeSweep (1 ms)
[ RUN ] LlvmLibcMemsetTest.CheckAccess
[ OK ] LlvmLibcMemsetTest.CheckAccess (3 ms)
Ran 2 tests. PASS: 2 FAIL: 0
[3999/4299] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.strcasecmp_test.__unit__.__build__.dir/strcasecmp_test.cpp.o
[4000/4299] Running unit test libc.test.src.string.memmove_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcMemmoveTest.MoveZeroByte
[ OK ] LlvmLibcMemmoveTest.MoveZeroByte (9 us)
[ RUN ] LlvmLibcMemmoveTest.DstAndSrcPointToSameAddress
[ OK ] LlvmLibcMemmoveTest.DstAndSrcPointToSameAddress (3 us)
[ RUN ] LlvmLibcMemmoveTest.DstStartsBeforeSrc
[ OK ] LlvmLibcMemmoveTest.DstStartsBeforeSrc (3 us)
[ RUN ] LlvmLibcMemmoveTest.DstStartsAfterSrc
[ OK ] LlvmLibcMemmoveTest.DstStartsAfterSrc (3 us)
[ RUN ] LlvmLibcMemmoveTest.SrcFollowDst
[ OK ] LlvmLibcMemmoveTest.SrcFollowDst (2 us)
```
</details>
https://github.com/llvm/llvm-project/pull/136208
More information about the llvm-commits
mailing list