Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

philnik777
Copy link
Contributor

This reverts commit 68c04b0.

This disables the IWYU mapping that caused the failure, since
the headers aren't reachable for now.

This is the first part of the "Freezing C++03 headers" proposal explained in https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release into a subdirectory of libc++ so that we can start using these headers when building in C++03 mode. We are going to be backporting important changes to that copy of the headers until the LLVM 21 release. After the LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy of the headers.

This patch only performs a copy of the headers -- these headers are still unused by the rest of the codebase.

Copy link

github-actions bot commented Oct 13, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

@philnik777 philnik777 force-pushed the cxx03_copy_headers branch 2 times, most recently from f8d1131 to 72c799c Compare October 16, 2024 09:14
This reverts commit 68c04b0.

This disables the IWYU mapping that caused the failure, since
the headers aren't reachable for now.

This is the first part of the "Freezing C++03 headers" proposal explained in https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release into a subdirectory of libc++ so that we can start using these headers when building in C++03 mode. We are going to be backporting important changes to that copy of the headers until the LLVM 21 release. After the LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy of the headers.

This patch only performs a copy of the headers -- these headers are still unused by the rest of the codebase.
@philnik777 philnik777 marked this pull request as ready for review October 23, 2024 22:17
@philnik777 philnik777 requested a review from a team as a code owner October 23, 2024 22:17
@philnik777
Copy link
Contributor Author

The CI failures are unrelated.

@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Oct 23, 2024
@philnik777 philnik777 merged commit e78f53d into llvm:main Oct 23, 2024
62 of 64 checks passed
@philnik777 philnik777 deleted the cxx03_copy_headers branch October 23, 2024 22:17
@llvmbot
Copy link
Member

llvmbot commented Oct 23, 2024

@llvm/pr-subscribers-libcxx

Author: Nikolas Klauser (philnik777)

Changes

This reverts commit 68c04b0.

This disables the IWYU mapping that caused the failure, since
the headers aren't reachable for now.

This is the first part of the "Freezing C++03 headers" proposal explained in https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release into a subdirectory of libc++ so that we can start using these headers when building in C++03 mode. We are going to be backporting important changes to that copy of the headers until the LLVM 21 release. After the LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy of the headers.

This patch only performs a copy of the headers -- these headers are still unused by the rest of the codebase.


Patch is 7.63 MiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/112127.diff

1020 Files Affected:

  • (added) libcxx/include/__cxx03/CMakeLists.txt (+1092)
  • (added) libcxx/include/__cxx03/__algorithm/adjacent_find.h (+58)
  • (added) libcxx/include/__cxx03/__algorithm/all_of.h (+32)
  • (added) libcxx/include/__cxx03/__algorithm/any_of.h (+32)
  • (added) libcxx/include/__cxx03/__algorithm/binary_search.h (+39)
  • (added) libcxx/include/__cxx03/__algorithm/clamp.h (+44)
  • (added) libcxx/include/__cxx03/__algorithm/comp.h (+49)
  • (added) libcxx/include/__cxx03/__algorithm/comp_ref_type.h (+67)
  • (added) libcxx/include/__cxx03/__algorithm/copy.h (+123)
  • (added) libcxx/include/__cxx03/__algorithm/copy_backward.h (+137)
  • (added) libcxx/include/__cxx03/__algorithm/copy_if.h (+34)
  • (added) libcxx/include/__cxx03/__algorithm/copy_move_common.h (+114)
  • (added) libcxx/include/__cxx03/__algorithm/copy_n.h (+60)
  • (added) libcxx/include/__cxx03/__algorithm/count.h (+92)
  • (added) libcxx/include/__cxx03/__algorithm/count_if.h (+35)
  • (added) libcxx/include/__cxx03/__algorithm/equal.h (+133)
  • (added) libcxx/include/__cxx03/__algorithm/equal_range.h (+85)
  • (added) libcxx/include/__cxx03/__algorithm/fill.h (+45)
  • (added) libcxx/include/__cxx03/__algorithm/fill_n.h (+98)
  • (added) libcxx/include/__cxx03/__algorithm/find.h (+181)
  • (added) libcxx/include/__cxx03/__algorithm/find_end.h (+225)
  • (added) libcxx/include/__cxx03/__algorithm/find_first_of.h (+55)
  • (added) libcxx/include/__cxx03/__algorithm/find_if.h (+32)
  • (added) libcxx/include/__cxx03/__algorithm/find_if_not.h (+32)
  • (added) libcxx/include/__cxx03/__algorithm/find_segment_if.h (+62)
  • (added) libcxx/include/__cxx03/__algorithm/fold.h (+128)
  • (added) libcxx/include/__cxx03/__algorithm/for_each.h (+57)
  • (added) libcxx/include/__cxx03/__algorithm/for_each_n.h (+41)
  • (added) libcxx/include/__cxx03/__algorithm/for_each_segment.h (+53)
  • (added) libcxx/include/__cxx03/__algorithm/generate.h (+29)
  • (added) libcxx/include/__cxx03/__algorithm/generate_n.h (+33)
  • (added) libcxx/include/__cxx03/__algorithm/half_positive.h (+37)
  • (added) libcxx/include/__cxx03/__algorithm/in_found_result.h (+54)
  • (added) libcxx/include/__cxx03/__algorithm/in_fun_result.h (+54)
  • (added) libcxx/include/__cxx03/__algorithm/in_in_out_result.h (+59)
  • (added) libcxx/include/__cxx03/__algorithm/in_in_result.h (+56)
  • (added) libcxx/include/__cxx03/__algorithm/in_out_out_result.h (+57)
  • (added) libcxx/include/__cxx03/__algorithm/in_out_result.h (+56)
  • (added) libcxx/include/__cxx03/__algorithm/includes.h (+79)
  • (added) libcxx/include/__cxx03/__algorithm/inplace_merge.h (+240)
  • (added) libcxx/include/__cxx03/__algorithm/is_heap.h (+38)
  • (added) libcxx/include/__cxx03/__algorithm/is_heap_until.h (+62)
  • (added) libcxx/include/__cxx03/__algorithm/is_partitioned.h (+37)
  • (added) libcxx/include/__cxx03/__algorithm/is_permutation.h (+308)
  • (added) libcxx/include/__cxx03/__algorithm/is_sorted.h (+38)
  • (added) libcxx/include/__cxx03/__algorithm/is_sorted_until.h (+51)
  • (added) libcxx/include/__cxx03/__algorithm/iter_swap.h (+31)
  • (added) libcxx/include/__cxx03/__algorithm/iterator_operations.h (+223)
  • (added) libcxx/include/__cxx03/__algorithm/lexicographical_compare.h (+57)
  • (added) libcxx/include/__cxx03/__algorithm/lexicographical_compare_three_way.h (+125)
  • (added) libcxx/include/__cxx03/__algorithm/lower_bound.h (+109)
  • (added) libcxx/include/__cxx03/__algorithm/make_heap.h (+60)
  • (added) libcxx/include/__cxx03/__algorithm/make_projected.h (+106)
  • (added) libcxx/include/__cxx03/__algorithm/max.h (+58)
  • (added) libcxx/include/__cxx03/__algorithm/max_element.h (+51)
  • (added) libcxx/include/__cxx03/__algorithm/merge.h (+69)
  • (added) libcxx/include/__cxx03/__algorithm/min.h (+58)
  • (added) libcxx/include/__cxx03/__algorithm/min_element.h (+71)
  • (added) libcxx/include/__cxx03/__algorithm/min_max_result.h (+56)
  • (added) libcxx/include/__cxx03/__algorithm/minmax.h (+59)
  • (added) libcxx/include/__cxx03/__algorithm/minmax_element.h (+100)
  • (added) libcxx/include/__cxx03/__algorithm/mismatch.h (+217)
  • (added) libcxx/include/__cxx03/__algorithm/move.h (+127)
  • (added) libcxx/include/__cxx03/__algorithm/move_backward.h (+137)
  • (added) libcxx/include/__cxx03/__algorithm/next_permutation.h (+75)
  • (added) libcxx/include/__cxx03/__algorithm/none_of.h (+32)
  • (added) libcxx/include/__cxx03/__algorithm/nth_element.h (+261)
  • (added) libcxx/include/__cxx03/__algorithm/partial_sort.h (+91)
  • (added) libcxx/include/__cxx03/__algorithm/partial_sort_copy.h (+106)
  • (added) libcxx/include/__cxx03/__algorithm/partition.h (+90)
  • (added) libcxx/include/__cxx03/__algorithm/partition_copy.h (+43)
  • (added) libcxx/include/__cxx03/__algorithm/partition_point.h (+44)
  • (added) libcxx/include/__cxx03/__algorithm/pop_heap.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/prev_permutation.h (+75)
  • (added) libcxx/include/__cxx03/__algorithm/pstl.h (+663)
  • (added) libcxx/include/__cxx03/__algorithm/push_heap.h (+84)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_adjacent_find.h (+83)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_all_of.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_any_of.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_binary_search.h (+73)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_clamp.h (+66)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_contains.h (+66)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_contains_subrange.h (+97)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_copy.h (+71)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_copy_backward.h (+69)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_copy_if.h (+87)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_copy_n.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_count.h (+66)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_count_if.h (+79)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_ends_with.h (+201)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_equal.h (+109)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_equal_range.h (+80)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_fill.h (+62)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_fill_n.h (+53)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find.h (+80)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find_end.h (+103)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find_first_of.h (+106)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find_if.h (+75)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find_if_not.h (+69)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_find_last.h (+175)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_for_each.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_for_each_n.h (+64)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_generate.h (+73)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_generate_n.h (+65)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_includes.h (+98)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_inplace_merge.h (+84)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_heap.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_heap_until.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_partitioned.h (+86)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_permutation.h (+107)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_sorted.h (+67)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_is_sorted_until.h (+82)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_iterator_concept.h (+56)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_lexicographical_compare.h (+106)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_lower_bound.h (+73)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_make_heap.h (+85)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_max.h (+103)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_max_element.h (+69)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_merge.h (+138)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_min.h (+95)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_min_element.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_minmax.h (+175)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_minmax_element.h (+78)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_mismatch.h (+100)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_move.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_move_backward.h (+76)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_next_permutation.h (+78)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_none_of.h (+75)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_nth_element.h (+84)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_partial_sort.h (+82)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_partial_sort_copy.h (+114)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_partition.h (+88)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_partition_copy.h (+110)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_partition_point.h (+93)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_pop_heap.h (+86)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_prev_permutation.h (+78)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_push_heap.h (+85)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_remove.h (+68)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_remove_copy.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_remove_copy_if.h (+95)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_remove_if.h (+89)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_replace.h (+68)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_replace_copy.h (+93)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_replace_copy_if.h (+98)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_replace_if.h (+81)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_reverse.h (+79)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_reverse_copy.h (+70)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_rotate.h (+71)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_rotate_copy.h (+68)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_sample.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_search.h (+134)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_search_n.h (+116)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_set_difference.h (+109)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_set_intersection.h (+114)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_set_symmetric_difference.h (+114)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_set_union.h (+115)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_shuffle.h (+72)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_sort.h (+84)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_sort_heap.h (+85)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_stable_partition.h (+92)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_stable_sort.h (+82)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_starts_with.h (+95)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_swap_ranges.h (+70)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_transform.h (+177)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_unique.h (+82)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_unique_copy.h (+120)
  • (added) libcxx/include/__cxx03/__algorithm/ranges_upper_bound.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/remove.h (+46)
  • (added) libcxx/include/__cxx03/__algorithm/remove_copy.h (+34)
  • (added) libcxx/include/__cxx03/__algorithm/remove_copy_if.h (+34)
  • (added) libcxx/include/__cxx03/__algorithm/remove_if.h (+45)
  • (added) libcxx/include/__cxx03/__algorithm/replace.h (+30)
  • (added) libcxx/include/__cxx03/__algorithm/replace_copy.h (+37)
  • (added) libcxx/include/__cxx03/__algorithm/replace_copy_if.h (+37)
  • (added) libcxx/include/__cxx03/__algorithm/replace_if.h (+30)
  • (added) libcxx/include/__cxx03/__algorithm/reverse.h (+62)
  • (added) libcxx/include/__cxx03/__algorithm/reverse_copy.h (+30)
  • (added) libcxx/include/__cxx03/__algorithm/rotate.h (+198)
  • (added) libcxx/include/__cxx03/__algorithm/rotate_copy.h (+29)
  • (added) libcxx/include/__cxx03/__algorithm/sample.h (+123)
  • (added) libcxx/include/__cxx03/__algorithm/search.h (+192)
  • (added) libcxx/include/__cxx03/__algorithm/search_n.h (+155)
  • (added) libcxx/include/__cxx03/__algorithm/set_difference.h (+79)
  • (added) libcxx/include/__cxx03/__algorithm/set_intersection.h (+217)
  • (added) libcxx/include/__cxx03/__algorithm/set_symmetric_difference.h (+109)
  • (added) libcxx/include/__cxx03/__algorithm/set_union.h (+105)
  • (added) libcxx/include/__cxx03/__algorithm/shift_left.h (+59)
  • (added) libcxx/include/__cxx03/__algorithm/shift_right.h (+105)
  • (added) libcxx/include/__cxx03/__algorithm/shuffle.h (+167)
  • (added) libcxx/include/__cxx03/__algorithm/sift_down.h (+118)
  • (added) libcxx/include/__cxx03/__algorithm/simd_utils.h (+164)
  • (added) libcxx/include/__cxx03/__algorithm/sort.h (+1016)
  • (added) libcxx/include/__cxx03/__algorithm/sort_heap.h (+63)
  • (added) libcxx/include/__cxx03/__algorithm/stable_partition.h (+307)
  • (added) libcxx/include/__cxx03/__algorithm/stable_sort.h (+273)
  • (added) libcxx/include/__cxx03/__algorithm/swap_ranges.h (+62)
  • (added) libcxx/include/__cxx03/__algorithm/three_way_comp_ref_type.h (+74)
  • (added) libcxx/include/__cxx03/__algorithm/transform.h (+42)
  • (added) libcxx/include/__cxx03/__algorithm/uniform_random_bit_generator_adaptor.h (+58)
  • (added) libcxx/include/__cxx03/__algorithm/unique.h (+64)
  • (added) libcxx/include/__cxx03/__algorithm/unique_copy.h (+127)
  • (added) libcxx/include/__cxx03/__algorithm/unwrap_iter.h (+85)
  • (added) libcxx/include/__cxx03/__algorithm/unwrap_range.h (+99)
  • (added) libcxx/include/__cxx03/__algorithm/upper_bound.h (+68)
  • (added) libcxx/include/__cxx03/__assert (+118)
  • (added) libcxx/include/__cxx03/__atomic/aliases.h (+110)
  • (added) libcxx/include/__cxx03/__atomic/atomic.h (+622)
  • (added) libcxx/include/__cxx03/__atomic/atomic_base.h (+221)
  • (added) libcxx/include/__cxx03/__atomic/atomic_flag.h (+189)
  • (added) libcxx/include/__cxx03/__atomic/atomic_init.h (+25)
  • (added) libcxx/include/__cxx03/__atomic/atomic_lock_free.h (+48)
  • (added) libcxx/include/__cxx03/__atomic/atomic_ref.h (+378)
  • (added) libcxx/include/__cxx03/__atomic/atomic_sync.h (+205)
  • (added) libcxx/include/__cxx03/__atomic/check_memory_order.h (+34)
  • (added) libcxx/include/__cxx03/__atomic/contention_t.h (+32)
  • (added) libcxx/include/__cxx03/__atomic/cxx_atomic_impl.h (+510)
  • (added) libcxx/include/__cxx03/__atomic/fence.h (+28)
  • (added) libcxx/include/__cxx03/__atomic/is_always_lock_free.h (+28)
  • (added) libcxx/include/__cxx03/__atomic/kill_dependency.h (+27)
  • (added) libcxx/include/__cxx03/__atomic/memory_order.h (+65)
  • (added) libcxx/include/__cxx03/__atomic/to_gcc_order.h (+54)
  • (added) libcxx/include/__cxx03/__bit/bit_cast.h (+44)
  • (added) libcxx/include/__cxx03/__bit/bit_ceil.h (+54)
  • (added) libcxx/include/__cxx03/__bit/bit_floor.h (+34)
  • (added) libcxx/include/__cxx03/__bit/bit_log2.h (+34)
  • (added) libcxx/include/__cxx03/__bit/bit_width.h (+33)
  • (added) libcxx/include/__cxx03/__bit/blsr.h (+34)
  • (added) libcxx/include/__cxx03/__bit/byteswap.h (+53)
  • (added) libcxx/include/__cxx03/__bit/countl.h (+113)
  • (added) libcxx/include/__cxx03/__bit/countr.h (+84)
  • (added) libcxx/include/__cxx03/__bit/endian.h (+38)
  • (added) libcxx/include/__cxx03/__bit/has_single_bit.h (+37)
  • (added) libcxx/include/__cxx03/__bit/invert_if.h (+30)
  • (added) libcxx/include/__cxx03/__bit/popcount.h (+71)
  • (added) libcxx/include/__cxx03/__bit/rotate.h (+72)
  • (added) libcxx/include/__cxx03/__bit_reference (+1024)
  • (added) libcxx/include/__cxx03/__charconv/chars_format.h (+61)
  • (added) libcxx/include/__cxx03/__charconv/from_chars_integral.h (+240)
  • (added) libcxx/include/__cxx03/__charconv/from_chars_result.h (+39)
  • (added) libcxx/include/__cxx03/__charconv/tables.h (+163)
  • (added) libcxx/include/__cxx03/__charconv/to_chars.h (+25)
  • (added) libcxx/include/__cxx03/__charconv/to_chars_base_10.h (+188)
  • (added) libcxx/include/__cxx03/__charconv/to_chars_floating_point.h (+55)
  • (added) libcxx/include/__cxx03/__charconv/to_chars_integral.h (+327)
  • (added) libcxx/include/__cxx03/__charconv/to_chars_result.h (+39)
  • (added) libcxx/include/__cxx03/__charconv/traits.h (+200)
  • (added) libcxx/include/__cxx03/__chrono/calendar.h (+44)
  • (added) libcxx/include/__cxx03/__chrono/concepts.h (+36)
  • (added) libcxx/include/__cxx03/__chrono/convert_to_timespec.h (+51)
  • (added) libcxx/include/__cxx03/__chrono/convert_to_tm.h (+202)
  • (added) libcxx/include/__cxx03/__chrono/day.h (+99)
  • (added) libcxx/include/__cxx03/__chrono/duration.h (+550)
  • (added) libcxx/include/__cxx03/__chrono/exception.h (+135)
  • (added) libcxx/include/__cxx03/__chrono/file_clock.h (+80)
  • (added) libcxx/include/__cxx03/__chrono/formatter.h (+990)
  • (added) libcxx/include/__cxx03/__chrono/hh_mm_ss.h (+112)
  • (added) libcxx/include/__cxx03/__chrono/high_resolution_clock.h (+35)
  • (added) libcxx/include/__cxx03/__chrono/leap_second.h (+126)
  • (added) libcxx/include/__cxx03/__chrono/literals.h (+45)
  • (added) libcxx/include/__cxx03/__chrono/local_info.h (+50)
  • (added) libcxx/include/__cxx03/__chrono/month.h (+115)
  • (added) libcxx/include/__cxx03/__chrono/month_weekday.h (+105)
  • (added) libcxx/include/__cxx03/__chrono/monthday.h (+133)
  • (added) libcxx/include/__cxx03/__chrono/ostream.h (+322)
  • (added) libcxx/include/__cxx03/__chrono/parser_std_format_spec.h (+416)
  • (added) libcxx/include/__cxx03/__chrono/statically_widen.h (+52)
  • (added) libcxx/include/__cxx03/__chrono/steady_clock.h (+42)
  • (added) libcxx/include/__cxx03/__chrono/sys_info.h (+51)
  • (added) libcxx/include/__cxx03/__chrono/system_clock.h (+52)
  • (added) libcxx/include/__cxx03/__chrono/time_point.h (+220)
  • (added) libcxx/include/__cxx03/__chrono/time_zone.h (+182)
  • (added) libcxx/include/__cxx03/__chrono/time_zone_link.h (+79)
  • (added) libcxx/include/__cxx03/__chrono/tzdb.h (+94)
  • (added) libcxx/include/__cxx03/__chrono/tzdb_list.h (+108)
  • (added) libcxx/include/__cxx03/__chrono/weekday.h (+186)
  • (added) libcxx/include/__cxx03/__chrono/year.h (+118)
  • (added) libcxx/include/__cxx03/__chrono/year_month.h (+123)
  • (added) libcxx/include/__cxx03/__chrono/year_month_day.h (+337)
  • (added) libcxx/include/__cxx03/__chrono/year_month_weekday.h (+287)
  • (added) libcxx/include/__cxx03/__chrono/zoned_time.h (+227)
  • (added) libcxx/include/__cxx03/__compare/common_comparison_category.h (+86)
  • (added) libcxx/include/__cxx03/__compare/compare_partial_order_fallback.h (+76)
  • (added) libcxx/include/__cxx03/__compare/compare_strong_order_fallback.h (+73)
  • (added) libcxx/include/__cxx03/__compare/compare_three_way.h (+40)
  • (added) libcxx/include/__cxx03/__compare/compare_three_way_result.h (+45)
  • (added) libcxx/include/__cxx03/__compare/compare_weak_order_fallback.h (+73)
  • (added) libcxx/include/__cxx03/__compare/is_eq.h (+34)
  • (added) libcxx/include/__cxx03/__compare/ordering.h (+278)
  • (added) libcxx/include/__cxx03/__compare/partial_order.h (+77)
  • (added) libcxx/include/__cxx03/__compare/strong_order.h (+143)
  • (added) libcxx/include/__cxx03/__compare/synth_three_way.h (+52)
  • (added) libcxx/include/__cxx03/__compare/three_way_comparable.h (+55)
  • (added) libcxx/include/__cxx03/__compare/weak_order.h (+105)
  • (added) libcxx/include/__cxx03/__concepts/arithmetic.h (+56)
  • (added) libcxx/include/__cxx03/__concepts/assignable.h (+41)
  • (added) libcxx/include/__cxx03/__concepts/boolean_testable.h (+38)
  • (added) libcxx/include/__cxx03/__concepts/class_or_enum.h (+35)
  • (added) libcxx/include/__cxx03/__concepts/common_reference_with.h (+36)
  • (added) libcxx/include/__cxx03/__concepts/common_with.h (+52)
  • (added) libcxx/include/__cxx03/__concepts/constructible.h (+55)
  • (added) libcxx/include/__cxx03/__concepts/convertible_to.h (+33)
  • (added) libcxx/include/__cxx03/__concepts/copyable.h (+41)
  • (added) libcxx/include/__cxx03/__concepts/derived_from.h (+33)
  • (added) libcxx/include/__cxx03/__concepts/destructible.h (+32)
diff --git a/libcxx/include/__cxx03/CMakeLists.txt b/libcxx/include/__cxx03/CMakeLists.txt
new file mode 100644
index 00000000000000..32579272858a8e
--- /dev/null
+++ b/libcxx/include/__cxx03/CMakeLists.txt
@@ -0,0 +1,1092 @@
+set(files
+  __algorithm/adjacent_find.h
+  __algorithm/all_of.h
+  __algorithm/any_of.h
+  __algorithm/binary_search.h
+  __algorithm/clamp.h
+  __algorithm/comp.h
+  __algorithm/comp_ref_type.h
+  __algorithm/copy.h
+  __algorithm/copy_backward.h
+  __algorithm/copy_if.h
+  __algorithm/copy_move_common.h
+  __algorithm/copy_n.h
+  __algorithm/count.h
+  __algorithm/count_if.h
+  __algorithm/equal.h
+  __algorithm/equal_range.h
+  __algorithm/fill.h
+  __algorithm/fill_n.h
+  __algorithm/find.h
+  __algorithm/find_end.h
+  __algorithm/find_first_of.h
+  __algorithm/find_if.h
+  __algorithm/find_if_not.h
+  __algorithm/find_segment_if.h
+  __algorithm/fold.h
+  __algorithm/for_each.h
+  __algorithm/for_each_n.h
+  __algorithm/for_each_segment.h
+  __algorithm/generate.h
+  __algorithm/generate_n.h
+  __algorithm/half_positive.h
+  __algorithm/in_found_result.h
+  __algorithm/in_fun_result.h
+  __algorithm/in_in_out_result.h
+  __algorithm/in_in_result.h
+  __algorithm/in_out_out_result.h
+  __algorithm/in_out_result.h
+  __algorithm/includes.h
+  __algorithm/inplace_merge.h
+  __algorithm/is_heap.h
+  __algorithm/is_heap_until.h
+  __algorithm/is_partitioned.h
+  __algorithm/is_permutation.h
+  __algorithm/is_sorted.h
+  __algorithm/is_sorted_until.h
+  __algorithm/iter_swap.h
+  __algorithm/iterator_operations.h
+  __algorithm/lexicographical_compare.h
+  __algorithm/lexicographical_compare_three_way.h
+  __algorithm/lower_bound.h
+  __algorithm/make_heap.h
+  __algorithm/make_projected.h
+  __algorithm/max.h
+  __algorithm/max_element.h
+  __algorithm/merge.h
+  __algorithm/min.h
+  __algorithm/min_element.h
+  __algorithm/min_max_result.h
+  __algorithm/minmax.h
+  __algorithm/minmax_element.h
+  __algorithm/mismatch.h
+  __algorithm/move.h
+  __algorithm/move_backward.h
+  __algorithm/next_permutation.h
+  __algorithm/none_of.h
+  __algorithm/nth_element.h
+  __algorithm/partial_sort.h
+  __algorithm/partial_sort_copy.h
+  __algorithm/partition.h
+  __algorithm/partition_copy.h
+  __algorithm/partition_point.h
+  __algorithm/pop_heap.h
+  __algorithm/prev_permutation.h
+  __algorithm/pstl.h
+  __algorithm/push_heap.h
+  __algorithm/ranges_adjacent_find.h
+  __algorithm/ranges_all_of.h
+  __algorithm/ranges_any_of.h
+  __algorithm/ranges_binary_search.h
+  __algorithm/ranges_clamp.h
+  __algorithm/ranges_contains.h
+  __algorithm/ranges_contains_subrange.h
+  __algorithm/ranges_copy.h
+  __algorithm/ranges_copy_backward.h
+  __algorithm/ranges_copy_if.h
+  __algorithm/ranges_copy_n.h
+  __algorithm/ranges_count.h
+  __algorithm/ranges_count_if.h
+  __algorithm/ranges_ends_with.h
+  __algorithm/ranges_equal.h
+  __algorithm/ranges_equal_range.h
+  __algorithm/ranges_fill.h
+  __algorithm/ranges_fill_n.h
+  __algorithm/ranges_find.h
+  __algorithm/ranges_find_end.h
+  __algorithm/ranges_find_first_of.h
+  __algorithm/ranges_find_if.h
+  __algorithm/ranges_find_if_not.h
+  __algorithm/ranges_find_last.h
+  __algorithm/ranges_for_each.h
+  __algorithm/ranges_for_each_n.h
+  __algorithm/ranges_generate.h
+  __algorithm/ranges_generate_n.h
+  __algorithm/ranges_includes.h
+  __algorithm/ranges_inplace_merge.h
+  __algorithm/ranges_is_heap.h
+  __algorithm/ranges_is_heap_until.h
+  __algorithm/ranges_is_partitioned.h
+  __algorithm/ranges_is_permutation.h
+  __algorithm/ranges_is_sorted.h
+  __algorithm/ranges_is_sorted_until.h
+  __algorithm/ranges_iterator_concept.h
+  __algorithm/ranges_lexicographical_compare.h
+  __algorithm/ranges_lower_bound.h
+  __algorithm/ranges_make_heap.h
+  __algorithm/ranges_max.h
+  __algorithm/ranges_max_element.h
+  __algorithm/ranges_merge.h
+  __algorithm/ranges_min.h
+  __algorithm/ranges_min_element.h
+  __algorithm/ranges_minmax.h
+  __algorithm/ranges_minmax_element.h
+  __algorithm/ranges_mismatch.h
+  __algorithm/ranges_move.h
+  __algorithm/ranges_move_backward.h
+  __algorithm/ranges_next_permutation.h
+  __algorithm/ranges_none_of.h
+  __algorithm/ranges_nth_element.h
+  __algorithm/ranges_partial_sort.h
+  __algorithm/ranges_partial_sort_copy.h
+  __algorithm/ranges_partition.h
+  __algorithm/ranges_partition_copy.h
+  __algorithm/ranges_partition_point.h
+  __algorithm/ranges_pop_heap.h
+  __algorithm/ranges_prev_permutation.h
+  __algorithm/ranges_push_heap.h
+  __algorithm/ranges_remove.h
+  __algorithm/ranges_remove_copy.h
+  __algorithm/ranges_remove_copy_if.h
+  __algorithm/ranges_remove_if.h
+  __algorithm/ranges_replace.h
+  __algorithm/ranges_replace_copy.h
+  __algorithm/ranges_replace_copy_if.h
+  __algorithm/ranges_replace_if.h
+  __algorithm/ranges_reverse.h
+  __algorithm/ranges_reverse_copy.h
+  __algorithm/ranges_rotate.h
+  __algorithm/ranges_rotate_copy.h
+  __algorithm/ranges_sample.h
+  __algorithm/ranges_search.h
+  __algorithm/ranges_search_n.h
+  __algorithm/ranges_set_difference.h
+  __algorithm/ranges_set_intersection.h
+  __algorithm/ranges_set_symmetric_difference.h
+  __algorithm/ranges_set_union.h
+  __algorithm/ranges_shuffle.h
+  __algorithm/ranges_sort.h
+  __algorithm/ranges_sort_heap.h
+  __algorithm/ranges_stable_partition.h
+  __algorithm/ranges_stable_sort.h
+  __algorithm/ranges_starts_with.h
+  __algorithm/ranges_swap_ranges.h
+  __algorithm/ranges_transform.h
+  __algorithm/ranges_unique.h
+  __algorithm/ranges_unique_copy.h
+  __algorithm/ranges_upper_bound.h
+  __algorithm/remove.h
+  __algorithm/remove_copy.h
+  __algorithm/remove_copy_if.h
+  __algorithm/remove_if.h
+  __algorithm/replace.h
+  __algorithm/replace_copy.h
+  __algorithm/replace_copy_if.h
+  __algorithm/replace_if.h
+  __algorithm/reverse.h
+  __algorithm/reverse_copy.h
+  __algorithm/rotate.h
+  __algorithm/rotate_copy.h
+  __algorithm/sample.h
+  __algorithm/search.h
+  __algorithm/search_n.h
+  __algorithm/set_difference.h
+  __algorithm/set_intersection.h
+  __algorithm/set_symmetric_difference.h
+  __algorithm/set_union.h
+  __algorithm/shift_left.h
+  __algorithm/shift_right.h
+  __algorithm/shuffle.h
+  __algorithm/sift_down.h
+  __algorithm/simd_utils.h
+  __algorithm/sort.h
+  __algorithm/sort_heap.h
+  __algorithm/stable_partition.h
+  __algorithm/stable_sort.h
+  __algorithm/swap_ranges.h
+  __algorithm/three_way_comp_ref_type.h
+  __algorithm/transform.h
+  __algorithm/uniform_random_bit_generator_adaptor.h
+  __algorithm/unique.h
+  __algorithm/unique_copy.h
+  __algorithm/unwrap_iter.h
+  __algorithm/unwrap_range.h
+  __algorithm/upper_bound.h
+  __assert
+  __atomic/aliases.h
+  __atomic/atomic.h
+  __atomic/atomic_base.h
+  __atomic/atomic_flag.h
+  __atomic/atomic_init.h
+  __atomic/atomic_lock_free.h
+  __atomic/atomic_ref.h
+  __atomic/atomic_sync.h
+  __atomic/check_memory_order.h
+  __atomic/contention_t.h
+  __atomic/cxx_atomic_impl.h
+  __atomic/fence.h
+  __atomic/is_always_lock_free.h
+  __atomic/kill_dependency.h
+  __atomic/memory_order.h
+  __atomic/to_gcc_order.h
+  __bit/bit_cast.h
+  __bit/bit_ceil.h
+  __bit/bit_floor.h
+  __bit/bit_log2.h
+  __bit/bit_width.h
+  __bit/blsr.h
+  __bit/byteswap.h
+  __bit/countl.h
+  __bit/countr.h
+  __bit/endian.h
+  __bit/has_single_bit.h
+  __bit/invert_if.h
+  __bit/popcount.h
+  __bit/rotate.h
+  __bit_reference
+  __charconv/chars_format.h
+  __charconv/from_chars_integral.h
+  __charconv/from_chars_result.h
+  __charconv/tables.h
+  __charconv/to_chars.h
+  __charconv/to_chars_base_10.h
+  __charconv/to_chars_floating_point.h
+  __charconv/to_chars_integral.h
+  __charconv/to_chars_result.h
+  __charconv/traits.h
+  __chrono/calendar.h
+  __chrono/concepts.h
+  __chrono/convert_to_timespec.h
+  __chrono/convert_to_tm.h
+  __chrono/day.h
+  __chrono/duration.h
+  __chrono/exception.h
+  __chrono/file_clock.h
+  __chrono/formatter.h
+  __chrono/hh_mm_ss.h
+  __chrono/high_resolution_clock.h
+  __chrono/leap_second.h
+  __chrono/literals.h
+  __chrono/local_info.h
+  __chrono/month.h
+  __chrono/month_weekday.h
+  __chrono/monthday.h
+  __chrono/ostream.h
+  __chrono/parser_std_format_spec.h
+  __chrono/statically_widen.h
+  __chrono/steady_clock.h
+  __chrono/sys_info.h
+  __chrono/system_clock.h
+  __chrono/time_point.h
+  __chrono/time_zone.h
+  __chrono/time_zone_link.h
+  __chrono/tzdb.h
+  __chrono/tzdb_list.h
+  __chrono/weekday.h
+  __chrono/year.h
+  __chrono/year_month.h
+  __chrono/year_month_day.h
+  __chrono/year_month_weekday.h
+  __chrono/zoned_time.h
+  __compare/common_comparison_category.h
+  __compare/compare_partial_order_fallback.h
+  __compare/compare_strong_order_fallback.h
+  __compare/compare_three_way.h
+  __compare/compare_three_way_result.h
+  __compare/compare_weak_order_fallback.h
+  __compare/is_eq.h
+  __compare/ordering.h
+  __compare/partial_order.h
+  __compare/strong_order.h
+  __compare/synth_three_way.h
+  __compare/three_way_comparable.h
+  __compare/weak_order.h
+  __concepts/arithmetic.h
+  __concepts/assignable.h
+  __concepts/boolean_testable.h
+  __concepts/class_or_enum.h
+  __concepts/common_reference_with.h
+  __concepts/common_with.h
+  __concepts/constructible.h
+  __concepts/convertible_to.h
+  __concepts/copyable.h
+  __concepts/derived_from.h
+  __concepts/destructible.h
+  __concepts/different_from.h
+  __concepts/equality_comparable.h
+  __concepts/invocable.h
+  __concepts/movable.h
+  __concepts/predicate.h
+  __concepts/regular.h
+  __concepts/relation.h
+  __concepts/same_as.h
+  __concepts/semiregular.h
+  __concepts/swappable.h
+  __concepts/totally_ordered.h
+  __condition_variable/condition_variable.h
+  __config
+  __configuration/abi.h
+  __configuration/availability.h
+  __configuration/compiler.h
+  __configuration/language.h
+  __configuration/platform.h
+  __coroutine/coroutine_handle.h
+  __coroutine/coroutine_traits.h
+  __coroutine/noop_coroutine_handle.h
+  __coroutine/trivial_awaitables.h
+  __debug_utils/randomize_range.h
+  __debug_utils/sanitizers.h
+  __debug_utils/strict_weak_ordering_check.h
+  __exception/exception.h
+  __exception/exception_ptr.h
+  __exception/nested_exception.h
+  __exception/operations.h
+  __exception/terminate.h
+  __expected/bad_expected_access.h
+  __expected/expected.h
+  __expected/unexpect.h
+  __expected/unexpected.h
+  __filesystem/copy_options.h
+  __filesystem/directory_entry.h
+  __filesystem/directory_iterator.h
+  __filesystem/directory_options.h
+  __filesystem/file_status.h
+  __filesystem/file_time_type.h
+  __filesystem/file_type.h
+  __filesystem/filesystem_error.h
+  __filesystem/operations.h
+  __filesystem/path.h
+  __filesystem/path_iterator.h
+  __filesystem/perm_options.h
+  __filesystem/perms.h
+  __filesystem/recursive_directory_iterator.h
+  __filesystem/space_info.h
+  __filesystem/u8path.h
+  __format/buffer.h
+  __format/concepts.h
+  __format/container_adaptor.h
+  __format/enable_insertable.h
+  __format/escaped_output_table.h
+  __format/extended_grapheme_cluster_table.h
+  __format/format_arg.h
+  __format/format_arg_store.h
+  __format/format_args.h
+  __format/format_context.h
+  __format/format_error.h
+  __format/format_functions.h
+  __format/format_parse_context.h
+  __format/format_string.h
+  __format/format_to_n_result.h
+  __format/formatter.h
+  __format/formatter_bool.h
+  __format/formatter_char.h
+  __format/formatter_floating_point.h
+  __format/formatter_integer.h
+  __format/formatter_integral.h
+  __format/formatter_output.h
+  __format/formatter_pointer.h
+  __format/formatter_string.h
+  __format/formatter_tuple.h
+  __format/indic_conjunct_break_table.h
+  __format/parser_std_format_spec.h
+  __format/range_default_formatter.h
+  __format/range_formatter.h
+  __format/unicode.h
+  __format/width_estimation_table.h
+  __format/write_escaped.h
+  __functional/binary_function.h
+  __functional/binary_negate.h
+  __functional/bind.h
+  __functional/bind_back.h
+  __functional/bind_front.h
+  __functional/binder1st.h
+  __functional/binder2nd.h
+  __functional/boyer_moore_searcher.h
+  __functional/compose.h
+  __functional/default_searcher.h
+  __functional/function.h
+  __functional/hash.h
+  __functional/identity.h
+  __functional/invoke.h
+  __functional/is_transparent.h
+  __functional/mem_fn.h
+  __functional/mem_fun_ref.h
+  __functional/not_fn.h
+  __functional/operations.h
+  __functional/perfect_forward.h
+  __functional/pointer_to_binary_function.h
+  __functional/pointer_to_unary_function.h
+  __functional/ranges_operations.h
+  __functional/reference_wrapper.h
+  __functional/unary_function.h
+  __functional/unary_negate.h
+  __functional/weak_result_type.h
+  __fwd/array.h
+  __fwd/bit_reference.h
+  __fwd/complex.h
+  __fwd/deque.h
+  __fwd/format.h
+  __fwd/fstream.h
+  __fwd/functional.h
+  __fwd/ios.h
+  __fwd/istream.h
+  __fwd/mdspan.h
+  __fwd/memory.h
+  __fwd/memory_resource.h
+  __fwd/ostream.h
+  __fwd/pair.h
+  __fwd/queue.h
+  __fwd/span.h
+  __fwd/sstream.h
+  __fwd/stack.h
+  __fwd/streambuf.h
+  __fwd/string.h
+  __fwd/string_view.h
+  __fwd/subrange.h
+  __fwd/tuple.h
+  __fwd/vector.h
+  __hash_table
+  __ios/fpos.h
+  __iterator/access.h
+  __iterator/advance.h
+  __iterator/aliasing_iterator.h
+  __iterator/back_insert_iterator.h
+  __iterator/bounded_iter.h
+  __iterator/common_iterator.h
+  __iterator/concepts.h
+  __iterator/counted_iterator.h
+  __iterator/cpp17_iterator_concepts.h
+  __iterator/data.h
+  __iterator/default_sentinel.h
+  __iterator/distance.h
+  __iterator/empty.h
+  __iterator/erase_if_container.h
+  __iterator/front_insert_iterator.h
+  __iterator/incrementable_traits.h
+  __iterator/indirectly_comparable.h
+  __iterator/insert_iterator.h
+  __iterator/istream_iterator.h
+  __iterator/istreambuf_iterator.h
+  __iterator/iter_move.h
+  __iterator/iter_swap.h
+  __iterator/iterator.h
+  __iterator/iterator_traits.h
+  __iterator/iterator_with_data.h
+  __iterator/mergeable.h
+  __iterator/move_iterator.h
+  __iterator/move_sentinel.h
+  __iterator/next.h
+  __iterator/ostream_iterator.h
+  __iterator/ostreambuf_iterator.h
+  __iterator/permutable.h
+  __iterator/prev.h
+  __iterator/projected.h
+  __iterator/ranges_iterator_traits.h
+  __iterator/readable_traits.h
+  __iterator/reverse_access.h
+  __iterator/reverse_iterator.h
+  __iterator/segmented_iterator.h
+  __iterator/size.h
+  __iterator/sortable.h
+  __iterator/unreachable_sentinel.h
+  __iterator/wrap_iter.h
+  __locale
+  __locale_dir/locale_base_api.h
+  __locale_dir/locale_base_api/android.h
+  __locale_dir/locale_base_api/bsd_locale_defaults.h
+  __locale_dir/locale_base_api/bsd_locale_fallbacks.h
+  __locale_dir/locale_base_api/fuchsia.h
+  __locale_dir/locale_base_api/ibm.h
+  __locale_dir/locale_base_api/locale_guard.h
+  __locale_dir/locale_base_api/musl.h
+  __locale_dir/locale_base_api/newlib.h
+  __locale_dir/locale_base_api/openbsd.h
+  __locale_dir/locale_base_api/win32.h
+  __math/abs.h
+  __math/copysign.h
+  __math/error_functions.h
+  __math/exponential_functions.h
+  __math/fdim.h
+  __math/fma.h
+  __math/gamma.h
+  __math/hyperbolic_functions.h
+  __math/hypot.h
+  __math/inverse_hyperbolic_functions.h
+  __math/inverse_trigonometric_functions.h
+  __math/logarithms.h
+  __math/min_max.h
+  __math/modulo.h
+  __math/remainder.h
+  __math/roots.h
+  __math/rounding_functions.h
+  __math/special_functions.h
+  __math/traits.h
+  __math/trigonometric_functions.h
+  __mbstate_t.h
+  __mdspan/default_accessor.h
+  __mdspan/extents.h
+  __mdspan/layout_left.h
+  __mdspan/layout_right.h
+  __mdspan/layout_stride.h
+  __mdspan/mdspan.h
+  __memory/addressof.h
+  __memory/align.h
+  __memory/aligned_alloc.h
+  __memory/allocate_at_least.h
+  __memory/allocation_guard.h
+  __memory/allocator.h
+  __memory/allocator_arg_t.h
+  __memory/allocator_destructor.h
+  __memory/allocator_traits.h
+  __memory/assume_aligned.h
+  __memory/auto_ptr.h
+  __memory/builtin_new_allocator.h
+  __memory/compressed_pair.h
+  __memory/concepts.h
+  __memory/construct_at.h
+  __memory/destruct_n.h
+  __memory/inout_ptr.h
+  __memory/out_ptr.h
+  __memory/pointer_traits.h
+  __memory/ranges_construct_at.h
+  __memory/ranges_uninitialized_algorithms.h
+  __memory/raw_storage_iterator.h
+  __memory/shared_ptr.h
+  __memory/swap_allocator.h
+  __memory/temp_value.h
+  __memory/temporary_buffer.h
+  __memory/uninitialized_algorithms.h
+  __memory/unique_ptr.h
+  __memory/uses_allocator.h
+  __memory/uses_allocator_construction.h
+  __memory/voidify.h
+  __memory_resource/memory_resource.h
+  __memory_resource/monotonic_buffer_resource.h
+  __memory_resource/polymorphic_allocator.h
+  __memory_resource/pool_options.h
+  __memory_resource/synchronized_pool_resource.h
+  __memory_resource/unsynchronized_pool_resource.h
+  __mutex/lock_guard.h
+  __mutex/mutex.h
+  __mutex/once_flag.h
+  __mutex/tag_types.h
+  __mutex/unique_lock.h
+  __node_handle
+  __numeric/accumulate.h
+  __numeric/adjacent_difference.h
+  __numeric/exclusive_scan.h
+  __numeric/gcd_lcm.h
+  __numeric/inclusive_scan.h
+  __numeric/inner_product.h
+  __numeric/iota.h
+  __numeric/midpoint.h
+  __numeric/partial_sum.h
+  __numeric/pstl.h
+  __numeric/reduce.h
+  __numeric/saturation_arithmetic.h
+  __numeric/transform_exclusive_scan.h
+  __numeric/transform_inclusive_scan.h
+  __numeric/transform_reduce.h
+  __ostream/basic_ostream.h
+  __ostream/print.h
+  __pstl/backend.h
+  __pstl/backend_fwd.h
+  __pstl/backends/default.h
+  __pstl/backends/libdispatch.h
+  __pstl/backends/serial.h
+  __pstl/backends/std_thread.h
+  __pstl/cpu_algos/any_of.h
+  __pstl/cpu_algos/cpu_traits.h
+  __pstl/cpu_algos/fill.h
+  __pstl/cpu_algos/find_if.h
+  __pstl/cpu_algos/for_each.h
+  __pstl/cpu_algos/merge.h
+  __pstl/cpu_algos/stable_sort.h
+  __pstl/cpu_algos/transform.h
+  __pstl/cpu_algos/transform_reduce.h
+  __pstl/dispatch.h
+  __pstl/handle_exception.h
+  __random/bernoulli_distribution.h
+  __random/binomial_distribution.h
+  __random/cauchy_distribution.h
+  __random/chi_squared_distribution.h
+  __random/clamp_to_integral.h
+  __random/default_random_engine.h
+  __random/discard_block_engine.h
+  __random/discrete_distribution.h
+  __random/exponential_distribution.h
+  __random/extreme_value_distribution.h
+  __random/fisher_f_distribution.h
+  __random/gamma_distribution.h
+  __random/generate_canonical.h
+  __random/geometric_distribution.h
+  __random/independent_bits_engine.h
+  __random/is_seed_sequence.h
+  __random/is_valid.h
+  __random/knuth_b.h
+  __random/linear_congruential_engine.h
+  __random/log2.h
+  __random/lognormal_distribution.h
+  __random/mersenne_twister_engine.h
+  __random/negative_binomial_distribution.h
+  __random/normal_distribution.h
+  __random/piecewise_constant_distribution.h
+  __random/piecewise_linear_distribution.h
+  __random/poisson_distribution.h
+  __random/random_device.h
+  __random/ranlux.h
+  __random/seed_seq.h
+  __random/shuffle_order_engine.h
+  __random/student_t_distribution.h
+  __random/subtract_with_carry_engine.h
+  __random/uniform_int_distribution.h
+  __random/uniform_random_bit_generator.h
+  __random/uniform_real_distribution.h
+  __random/weibull_distribution.h
+  __ranges/access.h
+  __ranges/all.h
+  __ranges/as_rvalue_view.h
+  __ranges/chunk_by_view.h
+  __ranges/common_view.h
+  __ranges/concepts.h
+  __ranges/container_compatible_range.h
+  __ranges/counted.h
+  __ranges/dangling.h
+  __ranges/data.h
+  __ranges/drop_view.h
+  __ranges/drop_while_view.h
+  __ranges/elements_view.h
+  __ranges/empty.h
+  __ranges/empty_view.h
+  __ranges/enable_borrowed_range.h
+  __ranges/enable_view.h
+  __ranges/filter_view.h
+  __ranges/from_range.h
+  __ranges/iota_view.h
+  __ranges/istream_view.h
+  __ranges/join_view.h
+  __ranges/lazy_split_view.h
+  __ranges/movable_box.h
+  __ranges/non_propagating_cache.h
+  __ranges/owning_view.h
+  __ranges/range_adaptor.h
+  __ranges/rbegin.h
+  __ranges/ref_view.h
+  __ranges/rend.h
+  __ranges/repeat_view.h
+  __ranges/reverse_view.h
+  __ranges/single_view.h
+  __ranges/size.h
+  __ranges/split_view.h
+  __ranges/subrange.h
+  __ranges/take_view.h
+  __ranges/take_while_view.h
+  __ranges/to.h
+  __ranges/transform_view.h
+  __ranges/view_interface.h
+  __ranges/views.h
+  __ranges/zip_view.h
+  __split_buffer
+  __std_clang_module
+  __std_mbstate_t.h
+  __stop_token/atomic_unique_lock.h
+  __stop_token/intrusive_list_view.h
+  __stop_...
[truncated]

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 23, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-win-x-aarch64 running on as-builder-2 while building libcxx at step 15 "test-check-cxx-aarch64-unknown-linux-gnu".

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

Here is the relevant piece of the build log for the reference
Step 15 (test-check-cxx-aarch64-unknown-linux-gnu) failure: Test just built components: check-cxx-aarch64-unknown-linux-gnu completed (failure)
******************** TEST 'llvm-libc++-static.cfg.in :: libcxx/headers_in_modulemap.sh.py' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
'C:\Python310\python.exe' C:\buildbot\as-builder-2\x-aarch64\llvm-project\libcxx\test\libcxx\headers_in_modulemap.sh.py C:/buildbot/as-builder-2/x-aarch64/llvm-project/libcxx/utils
# executed command: 'C:\Python310\python.exe' 'C:\buildbot\as-builder-2\x-aarch64\llvm-project\libcxx\test\libcxx\headers_in_modulemap.sh.py' C:/buildbot/as-builder-2/x-aarch64/llvm-project/libcxx/utils
# .---command stdout------------
# | Header __cxx03/algorithm seems to be missing from the modulemap!
# | Header __cxx03/any seems to be missing from the modulemap!
# | Header __cxx03/array seems to be missing from the modulemap!
# | Header __cxx03/atomic seems to be missing from the modulemap!
# | Header __cxx03/barrier seems to be missing from the modulemap!
# | Header __cxx03/bit seems to be missing from the modulemap!
# | Header __cxx03/bitset seems to be missing from the modulemap!
# | Header __cxx03/cassert seems to be missing from the modulemap!
# | Header __cxx03/ccomplex seems to be missing from the modulemap!
# | Header __cxx03/cctype seems to be missing from the modulemap!
# | Header __cxx03/cerrno seems to be missing from the modulemap!
# | Header __cxx03/cfenv seems to be missing from the modulemap!
# | Header __cxx03/cfloat seems to be missing from the modulemap!
# | Header __cxx03/charconv seems to be missing from the modulemap!
# | Header __cxx03/chrono seems to be missing from the modulemap!
# | Header __cxx03/cinttypes seems to be missing from the modulemap!
# | Header __cxx03/ciso646 seems to be missing from the modulemap!
# | Header __cxx03/climits seems to be missing from the modulemap!
# | Header __cxx03/clocale seems to be missing from the modulemap!
# | Header __cxx03/cmath seems to be missing from the modulemap!
# | Header __cxx03/codecvt seems to be missing from the modulemap!
# | Header __cxx03/compare seems to be missing from the modulemap!
# | Header __cxx03/complex seems to be missing from the modulemap!
# | Header __cxx03/complex.h seems to be missing from the modulemap!
# | Header __cxx03/concepts seems to be missing from the modulemap!
# | Header __cxx03/condition_variable seems to be missing from the modulemap!
# | Header __cxx03/coroutine seems to be missing from the modulemap!
# | Header __cxx03/csetjmp seems to be missing from the modulemap!
# | Header __cxx03/csignal seems to be missing from the modulemap!
# | Header __cxx03/cstdarg seems to be missing from the modulemap!
# | Header __cxx03/cstdbool seems to be missing from the modulemap!
# | Header __cxx03/cstddef seems to be missing from the modulemap!
# | Header __cxx03/cstdint seems to be missing from the modulemap!
# | Header __cxx03/cstdio seems to be missing from the modulemap!
# | Header __cxx03/cstdlib seems to be missing from the modulemap!
# | Header __cxx03/cstring seems to be missing from the modulemap!
# | Header __cxx03/ctgmath seems to be missing from the modulemap!
# | Header __cxx03/ctime seems to be missing from the modulemap!
# | Header __cxx03/ctype.h seems to be missing from the modulemap!
# | Header __cxx03/cuchar seems to be missing from the modulemap!
# | Header __cxx03/cwchar seems to be missing from the modulemap!
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 23, 2024

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

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-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-x86_64-linux-bootstrap-msan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=memory'
llvm-lit: /home/b/sanitizer-x86_64-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-x86_64-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-x86_64-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-x86_64-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=x86_64-unknown-linux-gnu, thread-safety, verify-support
llvm-lit: /home/b/sanitizer-x86_64-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-x86_64-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: 9721 of 9738 tests, 88 workers --
Testing:  0.. 10
FAIL: llvm-libc++-shared.cfg.in :: libcxx/headers_in_modulemap.sh.py (1273 of 9721)
******************** 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-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils
# .---command stdout------------
# | Header __cxx03/cwctype seems to be missing from the modulemap!
# | Header __cxx03/unordered_set seems to be missing from the modulemap!
# | Header __cxx03/new seems to be missing from the modulemap!
# | Header __cxx03/cstdarg seems to be missing from the modulemap!
# | Header __cxx03/string seems to be missing from the modulemap!
# | Header __cxx03/set seems to be missing from the modulemap!
# | Header __cxx03/stdint.h seems to be missing from the modulemap!
# | Header __cxx03/cstdbool seems to be missing from the modulemap!
# | Header __cxx03/cerrno seems to be missing from the modulemap!
# | Header __cxx03/istream seems to be missing from the modulemap!
# | Header __cxx03/csignal seems to be missing from the modulemap!
# | Header __cxx03/mdspan seems to be missing from the modulemap!
# | Header __cxx03/numbers seems to be missing from the modulemap!
# | Header __cxx03/array seems to be missing from the modulemap!
# | Header __cxx03/ctime seems to be missing from the modulemap!
# | Header __cxx03/math.h seems to be missing from the modulemap!
# | Header __cxx03/iostream seems to be missing from the modulemap!
# | Header __cxx03/coroutine seems to be missing from the modulemap!
# | Header __cxx03/cinttypes seems to be missing from the modulemap!
# | Header __cxx03/condition_variable seems to be missing from the modulemap!
# | Header __cxx03/syncstream seems to be missing from the modulemap!
# | Header __cxx03/__std_mbstate_t.h seems to be missing from the modulemap!
# | Header __cxx03/version seems to be missing from the modulemap!
# | Header __cxx03/__std_clang_module seems to be missing from the modulemap!
# | Header __cxx03/limits seems to be missing from the modulemap!
# | Header __cxx03/future seems to be missing from the modulemap!
# | Header __cxx03/barrier seems to be missing from the modulemap!
# | Header __cxx03/semaphore seems to be missing from the modulemap!
# | Header __cxx03/codecvt seems to be missing from the modulemap!
Step 11 (stage2/msan check-cxx) failure: stage2/msan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-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-x86_64-linux-bootstrap-msan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=memory'
llvm-lit: /home/b/sanitizer-x86_64-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-x86_64-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-x86_64-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-x86_64-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=x86_64-unknown-linux-gnu, thread-safety, verify-support
llvm-lit: /home/b/sanitizer-x86_64-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-x86_64-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: 9721 of 9738 tests, 88 workers --
Testing:  0.. 10
FAIL: llvm-libc++-shared.cfg.in :: libcxx/headers_in_modulemap.sh.py (1273 of 9721)
******************** 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-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils
# .---command stdout------------
# | Header __cxx03/cwctype seems to be missing from the modulemap!
# | Header __cxx03/unordered_set seems to be missing from the modulemap!
# | Header __cxx03/new seems to be missing from the modulemap!
# | Header __cxx03/cstdarg seems to be missing from the modulemap!
# | Header __cxx03/string seems to be missing from the modulemap!
# | Header __cxx03/set seems to be missing from the modulemap!
# | Header __cxx03/stdint.h seems to be missing from the modulemap!
# | Header __cxx03/cstdbool seems to be missing from the modulemap!
# | Header __cxx03/cerrno seems to be missing from the modulemap!
# | Header __cxx03/istream seems to be missing from the modulemap!
# | Header __cxx03/csignal seems to be missing from the modulemap!
# | Header __cxx03/mdspan seems to be missing from the modulemap!
# | Header __cxx03/numbers seems to be missing from the modulemap!
# | Header __cxx03/array seems to be missing from the modulemap!
# | Header __cxx03/ctime seems to be missing from the modulemap!
# | Header __cxx03/math.h seems to be missing from the modulemap!
# | Header __cxx03/iostream seems to be missing from the modulemap!
# | Header __cxx03/coroutine seems to be missing from the modulemap!
# | Header __cxx03/cinttypes seems to be missing from the modulemap!
# | Header __cxx03/condition_variable seems to be missing from the modulemap!
# | Header __cxx03/syncstream seems to be missing from the modulemap!
# | Header __cxx03/__std_mbstate_t.h seems to be missing from the modulemap!
# | Header __cxx03/version seems to be missing from the modulemap!
# | Header __cxx03/__std_clang_module seems to be missing from the modulemap!
# | Header __cxx03/limits seems to be missing from the modulemap!
# | Header __cxx03/future seems to be missing from the modulemap!
# | Header __cxx03/barrier seems to be missing from the modulemap!
# | Header __cxx03/semaphore seems to be missing from the modulemap!
# | Header __cxx03/codecvt seems to be missing from the modulemap!

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 24, 2024

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-ubsan running on sanitizer-buildbot4 while building libcxx at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize=float-divide-by-zero -fno-sanitize-recover=all'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/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-x86_64-linux-bootstrap-ubsan/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-x86_64-linux-bootstrap-ubsan/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-x86_64-linux-bootstrap-ubsan/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, objective-c++, optimization=none, stdlib=libc++, stdlib=llvm-libc++, target=x86_64-unknown-linux-gnu, thread-safety, ubsan, verify-support
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/discovery.py:250: warning: test suite 'libc++ benchmarks' contained no tests
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/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: 9721 of 9738 tests, 88 workers --
Testing:  0.. 10
FAIL: llvm-libc++-shared.cfg.in :: libcxx/headers_in_modulemap.sh.py (1270 of 9721)
******************** 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-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils
# .---command stdout------------
# | Header __cxx03/cwctype seems to be missing from the modulemap!
# | Header __cxx03/unordered_set seems to be missing from the modulemap!
# | Header __cxx03/new seems to be missing from the modulemap!
# | Header __cxx03/cstdarg seems to be missing from the modulemap!
# | Header __cxx03/string seems to be missing from the modulemap!
# | Header __cxx03/set seems to be missing from the modulemap!
# | Header __cxx03/stdint.h seems to be missing from the modulemap!
# | Header __cxx03/cstdbool seems to be missing from the modulemap!
# | Header __cxx03/cerrno seems to be missing from the modulemap!
# | Header __cxx03/istream seems to be missing from the modulemap!
# | Header __cxx03/csignal seems to be missing from the modulemap!
# | Header __cxx03/mdspan seems to be missing from the modulemap!
# | Header __cxx03/numbers seems to be missing from the modulemap!
# | Header __cxx03/array seems to be missing from the modulemap!
# | Header __cxx03/ctime seems to be missing from the modulemap!
# | Header __cxx03/math.h seems to be missing from the modulemap!
# | Header __cxx03/iostream seems to be missing from the modulemap!
# | Header __cxx03/coroutine seems to be missing from the modulemap!
# | Header __cxx03/cinttypes seems to be missing from the modulemap!
# | Header __cxx03/condition_variable seems to be missing from the modulemap!
# | Header __cxx03/syncstream seems to be missing from the modulemap!
# | Header __cxx03/__std_mbstate_t.h seems to be missing from the modulemap!
# | Header __cxx03/version seems to be missing from the modulemap!
# | Header __cxx03/__std_clang_module seems to be missing from the modulemap!
# | Header __cxx03/limits seems to be missing from the modulemap!
# | Header __cxx03/future seems to be missing from the modulemap!
# | Header __cxx03/barrier seems to be missing from the modulemap!
# | Header __cxx03/semaphore seems to be missing from the modulemap!
# | Header __cxx03/codecvt seems to be missing from the modulemap!
Step 11 (stage2/ubsan check-cxx) failure: stage2/ubsan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize=float-divide-by-zero -fno-sanitize-recover=all'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/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-x86_64-linux-bootstrap-ubsan/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-x86_64-linux-bootstrap-ubsan/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-x86_64-linux-bootstrap-ubsan/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, objective-c++, optimization=none, stdlib=libc++, stdlib=llvm-libc++, target=x86_64-unknown-linux-gnu, thread-safety, ubsan, verify-support
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/discovery.py:250: warning: test suite 'libc++ benchmarks' contained no tests
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/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: 9721 of 9738 tests, 88 workers --
Testing:  0.. 10
FAIL: llvm-libc++-shared.cfg.in :: libcxx/headers_in_modulemap.sh.py (1270 of 9721)
******************** 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-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils
# .---command stdout------------
# | Header __cxx03/cwctype seems to be missing from the modulemap!
# | Header __cxx03/unordered_set seems to be missing from the modulemap!
# | Header __cxx03/new seems to be missing from the modulemap!
# | Header __cxx03/cstdarg seems to be missing from the modulemap!
# | Header __cxx03/string seems to be missing from the modulemap!
# | Header __cxx03/set seems to be missing from the modulemap!
# | Header __cxx03/stdint.h seems to be missing from the modulemap!
# | Header __cxx03/cstdbool seems to be missing from the modulemap!
# | Header __cxx03/cerrno seems to be missing from the modulemap!
# | Header __cxx03/istream seems to be missing from the modulemap!
# | Header __cxx03/csignal seems to be missing from the modulemap!
# | Header __cxx03/mdspan seems to be missing from the modulemap!
# | Header __cxx03/numbers seems to be missing from the modulemap!
# | Header __cxx03/array seems to be missing from the modulemap!
# | Header __cxx03/ctime seems to be missing from the modulemap!
# | Header __cxx03/math.h seems to be missing from the modulemap!
# | Header __cxx03/iostream seems to be missing from the modulemap!
# | Header __cxx03/coroutine seems to be missing from the modulemap!
# | Header __cxx03/cinttypes seems to be missing from the modulemap!
# | Header __cxx03/condition_variable seems to be missing from the modulemap!
# | Header __cxx03/syncstream seems to be missing from the modulemap!
# | Header __cxx03/__std_mbstate_t.h seems to be missing from the modulemap!
# | Header __cxx03/version seems to be missing from the modulemap!
# | Header __cxx03/__std_clang_module seems to be missing from the modulemap!
# | Header __cxx03/limits seems to be missing from the modulemap!
# | Header __cxx03/future seems to be missing from the modulemap!
# | Header __cxx03/barrier seems to be missing from the modulemap!
# | Header __cxx03/semaphore seems to be missing from the modulemap!
# | Header __cxx03/codecvt seems to be missing from the modulemap!

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 24, 2024

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

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/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-hwasan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/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=hwaddress'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/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-hwasan/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-hwasan/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-hwasan/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, hwasan, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, lsan, 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-hwasan/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-hwasan/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-hwasan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/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/hwasan check-cxx) failure: stage2/hwasan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/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-hwasan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/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=hwaddress'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/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-hwasan/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-hwasan/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-hwasan/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, hwasan, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, lsan, 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-hwasan/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-hwasan/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-hwasan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/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!

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 24, 2024

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

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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-ubsan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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=undefined -fno-sanitize=float-divide-by-zero -fno-sanitize-recover=all'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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-ubsan/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-ubsan/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-ubsan/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, objective-c++, optimization=none, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, thread-safety, ubsan, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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-ubsan/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 (1305 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-ubsan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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/ubsan check-cxx) failure: stage2/ubsan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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-ubsan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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=undefined -fno-sanitize=float-divide-by-zero -fno-sanitize-recover=all'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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-ubsan/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-ubsan/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-ubsan/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, objective-c++, optimization=none, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, thread-safety, ubsan, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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-ubsan/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 (1305 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-ubsan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils
# executed command: /usr/bin/python3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/test/libcxx/headers_in_modulemap.sh.py /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/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!

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 24, 2024

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

Here is the relevant piece of the build log for the reference
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!

@frederick-vs-ja
Copy link
Contributor

frederick-vs-ja commented Oct 24, 2024

This PR caused CI failures from headers_in_modulemap.sh.py. Can we just exclude the __cxx03 subdirectory from is_in_modulemap?

@ldionne
Copy link
Member

ldionne commented Oct 24, 2024

This PR caused CI failures from headers_in_modulemap.sh.py. Can we just exclude the __cxx03 subdirectory from is_in_modulemap?

#113572

@frobtech frobtech mentioned this pull request Oct 25, 2024
NoumanAmir657 pushed a commit to NoumanAmir657/llvm-project that referenced this pull request Nov 4, 2024
…m#112127)

This reverts commit 68c04b0.

This disables the IWYU mapping that caused the failure, since
the headers aren't reachable for now.

This is the first part of the "Freezing C++03 headers" proposal
explained in
https://discourse.llvm.org/t/rfc-freezing-c-03-headers-in-libc/77319/58.

This patch mechanically copies the headers as of the LLVM 19.1 release
into a subdirectory of libc++ so that we can start using these headers
when building in C++03 mode. We are going to be backporting important
changes to that copy of the headers until the LLVM 21 release. After the
LLVM 21 release, only critical bugfixes will be fixed in the C++03 copy
of the headers.

This patch only performs a copy of the headers -- these headers are
still unused by the rest of the codebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants