[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:13:09 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-dbg` 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/93/builds/19937
<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)
...
[4009/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.ffsl_test.__unit__.__build__.dir/ffsl_test.cpp.o
[4010/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.bcmp_opt_host_test.__unit__.__build__.dir/bcmp_test.cpp.o
[4011/4312] Running unit test libc.test.src.strings.ffs_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcFfsTest.SimpleFfs
[ OK ] LlvmLibcFfsTest.SimpleFfs (5 us)
Ran 1 tests. PASS: 1 FAIL: 0
[4012/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.index_test.__unit__.__build__.dir/index_test.cpp.o
[4013/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.strncasecmp_test.__unit__.__build__.dir/strncasecmp_test.cpp.o
[4014/4312] 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/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/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 -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/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/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/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/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/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/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/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.
[4015/4312] Building CXX object libc/test/src/wchar/CMakeFiles/libc.test.src.wchar.wcslen_test.__unit__.__build__.dir/wcslen_test.cpp.o
[4016/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.bcmp_test.__unit__.__build__.dir/bcmp_test.cpp.o
[4017/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.bzero_opt_host_test.__unit__.__build__.dir/bzero_test.cpp.o
[4018/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.bcopy_test.__unit__.__build__.dir/bcopy_test.cpp.o
[4019/4312] Building CXX object libc/test/src/wchar/CMakeFiles/libc.test.src.wchar.wctob_test.__unit__.__build__.dir/wctob_test.cpp.o
[4020/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.bzero_test.__unit__.__build__.dir/bzero_test.cpp.o
[4021/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.strcasecmp_test.__unit__.__build__
[4022/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.rindex_test.__unit__.__build__
[4023/4312] Building CXX object libc/test/src/wchar/CMakeFiles/libc.test.src.wchar.btowc_test.__unit__.__build__.dir/btowc_test.cpp.o
[4024/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.index_test.__unit__.__build__
[4025/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.ffsll_test.__unit__.__build__
[4026/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.bcmp_opt_host_test.__unit__.__build__
[4027/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.chdir_test.__build__.dir/chdir_test.cpp.o
[4028/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.access_test.__build__.dir/access_test.cpp.o
[4029/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.ffsl_test.__unit__.__build__
[4030/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.strncasecmp_test.__unit__.__build__
[4031/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.dup3_test.__build__.dir/dup3_test.cpp.o
[4032/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.fchdir_test.__build__.dir/fchdir_test.cpp.o
[4033/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.ftruncate_test.__build__.dir/ftruncate_test.cpp.o
[4034/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.read_write_test.__build__.dir/read_write_test.cpp.o
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[4009/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.ffsl_test.__unit__.__build__.dir/ffsl_test.cpp.o
[4010/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.bcmp_opt_host_test.__unit__.__build__.dir/bcmp_test.cpp.o
[4011/4312] Running unit test libc.test.src.strings.ffs_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcFfsTest.SimpleFfs
[ OK ] LlvmLibcFfsTest.SimpleFfs (5 us)
Ran 1 tests. PASS: 1 FAIL: 0
[4012/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.index_test.__unit__.__build__.dir/index_test.cpp.o
[4013/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.strncasecmp_test.__unit__.__build__.dir/strncasecmp_test.cpp.o
[4014/4312] 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/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/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 -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/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/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/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/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/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/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/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.
[4015/4312] Building CXX object libc/test/src/wchar/CMakeFiles/libc.test.src.wchar.wcslen_test.__unit__.__build__.dir/wcslen_test.cpp.o
[4016/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.bcmp_test.__unit__.__build__.dir/bcmp_test.cpp.o
[4017/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.bzero_opt_host_test.__unit__.__build__.dir/bzero_test.cpp.o
[4018/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.bcopy_test.__unit__.__build__.dir/bcopy_test.cpp.o
[4019/4312] Building CXX object libc/test/src/wchar/CMakeFiles/libc.test.src.wchar.wctob_test.__unit__.__build__.dir/wctob_test.cpp.o
[4020/4312] Building CXX object libc/test/src/strings/CMakeFiles/libc.test.src.strings.bzero_test.__unit__.__build__.dir/bzero_test.cpp.o
[4021/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.strcasecmp_test.__unit__.__build__
[4022/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.rindex_test.__unit__.__build__
[4023/4312] Building CXX object libc/test/src/wchar/CMakeFiles/libc.test.src.wchar.btowc_test.__unit__.__build__.dir/btowc_test.cpp.o
[4024/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.index_test.__unit__.__build__
[4025/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.ffsll_test.__unit__.__build__
[4026/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.bcmp_opt_host_test.__unit__.__build__
[4027/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.chdir_test.__build__.dir/chdir_test.cpp.o
[4028/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.access_test.__build__.dir/access_test.cpp.o
[4029/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.ffsl_test.__unit__.__build__
[4030/4312] Linking CXX executable libc/test/src/strings/libc.test.src.strings.strncasecmp_test.__unit__.__build__
[4031/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.dup3_test.__build__.dir/dup3_test.cpp.o
[4032/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.fchdir_test.__build__.dir/fchdir_test.cpp.o
[4033/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.ftruncate_test.__build__.dir/ftruncate_test.cpp.o
[4034/4312] Building CXX object libc/test/src/unistd/CMakeFiles/libc.test.src.unistd.read_write_test.__build__.dir/read_write_test.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/136208
More information about the llvm-commits
mailing list