[libcxx-commits] [libcxx] Reapply "[libc++][C++03] Copy the LLVM 19 headers (#108999)" (PR #112127)

LLVM Continuous Integration via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 23 19:51:40 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-bootstrap-msan` running on `sanitizer-buildbot10` while building `libcxx` at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/94/builds/1973

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=memory'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Werror=thread-safety -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %T -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: -faligned-allocation, -fsized-deallocation, add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, clang, clang-20, clang-20.0, clang-20.0.0, diagnose-if-support, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, msan, objective-c++, optimization=none, sanitizer-new-delete, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, thread-safety, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/discovery.py:250: warning: test suite 'libc++ benchmarks' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 9718 of 9738 tests, 48 workers --
Testing:  0.. 10
FAIL: llvm-libc++-shared.cfg.in :: libcxx/headers_in_modulemap.sh.py (1298 of 9718)
******************** TEST 'llvm-libc++-shared.cfg.in :: libcxx/headers_in_modulemap.sh.py' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils
# .---command stdout------------
# | Header __cxx03/stdio.h seems to be missing from the modulemap!
# | Header __cxx03/clocale seems to be missing from the modulemap!
# | Header __cxx03/scoped_allocator seems to be missing from the modulemap!
# | Header __cxx03/cwchar seems to be missing from the modulemap!
# | Header __cxx03/codecvt seems to be missing from the modulemap!
# | Header __cxx03/unordered_map seems to be missing from the modulemap!
# | Header __cxx03/wchar.h seems to be missing from the modulemap!
# | Header __cxx03/cassert seems to be missing from the modulemap!
# | Header __cxx03/__verbose_abort seems to be missing from the modulemap!
# | Header __cxx03/cfloat seems to be missing from the modulemap!
# | Header __cxx03/stdatomic.h seems to be missing from the modulemap!
# | Header __cxx03/mdspan seems to be missing from the modulemap!
# | Header __cxx03/cmath seems to be missing from the modulemap!
# | Header __cxx03/iostream seems to be missing from the modulemap!
# | Header __cxx03/locale.h seems to be missing from the modulemap!
# | Header __cxx03/initializer_list seems to be missing from the modulemap!
# | Header __cxx03/cstring seems to be missing from the modulemap!
# | Header __cxx03/__std_clang_module seems to be missing from the modulemap!
# | Header __cxx03/set seems to be missing from the modulemap!
# | Header __cxx03/__mbstate_t.h seems to be missing from the modulemap!
# | Header __cxx03/format seems to be missing from the modulemap!
# | Header __cxx03/ctype.h seems to be missing from the modulemap!
# | Header __cxx03/print seems to be missing from the modulemap!
# | Header __cxx03/cstdlib seems to be missing from the modulemap!
# | Header __cxx03/concepts seems to be missing from the modulemap!
# | Header __cxx03/typeindex seems to be missing from the modulemap!
# | Header __cxx03/condition_variable seems to be missing from the modulemap!
# | Header __cxx03/cstddef seems to be missing from the modulemap!
# | Header __cxx03/string.h seems to be missing from the modulemap!
Step 11 (stage2/msan check-cxx) failure: stage2/msan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=memory'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Werror=thread-safety -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %T -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: -faligned-allocation, -fsized-deallocation, add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, clang, clang-20, clang-20.0, clang-20.0.0, diagnose-if-support, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, msan, objective-c++, optimization=none, sanitizer-new-delete, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, thread-safety, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/discovery.py:250: warning: test suite 'libc++ benchmarks' contained no tests
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 9718 of 9738 tests, 48 workers --
Testing:  0.. 10
FAIL: llvm-libc++-shared.cfg.in :: libcxx/headers_in_modulemap.sh.py (1298 of 9718)
******************** TEST 'llvm-libc++-shared.cfg.in :: libcxx/headers_in_modulemap.sh.py' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils
# .---command stdout------------
# | Header __cxx03/stdio.h seems to be missing from the modulemap!
# | Header __cxx03/clocale seems to be missing from the modulemap!
# | Header __cxx03/scoped_allocator seems to be missing from the modulemap!
# | Header __cxx03/cwchar seems to be missing from the modulemap!
# | Header __cxx03/codecvt seems to be missing from the modulemap!
# | Header __cxx03/unordered_map seems to be missing from the modulemap!
# | Header __cxx03/wchar.h seems to be missing from the modulemap!
# | Header __cxx03/cassert seems to be missing from the modulemap!
# | Header __cxx03/__verbose_abort seems to be missing from the modulemap!
# | Header __cxx03/cfloat seems to be missing from the modulemap!
# | Header __cxx03/stdatomic.h seems to be missing from the modulemap!
# | Header __cxx03/mdspan seems to be missing from the modulemap!
# | Header __cxx03/cmath seems to be missing from the modulemap!
# | Header __cxx03/iostream seems to be missing from the modulemap!
# | Header __cxx03/locale.h seems to be missing from the modulemap!
# | Header __cxx03/initializer_list seems to be missing from the modulemap!
# | Header __cxx03/cstring seems to be missing from the modulemap!
# | Header __cxx03/__std_clang_module seems to be missing from the modulemap!
# | Header __cxx03/set seems to be missing from the modulemap!
# | Header __cxx03/__mbstate_t.h seems to be missing from the modulemap!
# | Header __cxx03/format seems to be missing from the modulemap!
# | Header __cxx03/ctype.h seems to be missing from the modulemap!
# | Header __cxx03/print seems to be missing from the modulemap!
# | Header __cxx03/cstdlib seems to be missing from the modulemap!
# | Header __cxx03/concepts seems to be missing from the modulemap!
# | Header __cxx03/typeindex seems to be missing from the modulemap!
# | Header __cxx03/condition_variable seems to be missing from the modulemap!
# | Header __cxx03/cstddef seems to be missing from the modulemap!
# | Header __cxx03/string.h seems to be missing from the modulemap!

```

</details>

https://github.com/llvm/llvm-project/pull/112127


More information about the libcxx-commits mailing list