summaryrefslogtreecommitdiff
path: root/gnu/lib
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2021-12-17 14:55:48 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2021-12-17 14:55:48 +0000
commit3d2d3481f3fd5e51bc447f398ceb6f31b4ed5d9d (patch)
tree6577821ab61d6be0c7966f68e6b9e07b3eeebc5d /gnu/lib
parent85441880e8b445d58571a3bb2446a3bd1846c848 (diff)
Update build infrastructure for LLVM 13.0.0.
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libclang_rt/profile/Makefile14
-rw-r--r--gnu/lib/libcxx/Makefile617
-rw-r--r--gnu/lib/libcxx/include/c++/v1/__config_site42
-rw-r--r--gnu/lib/libcxx/shlib_version2
-rw-r--r--gnu/lib/libcxxabi/Makefile7
-rw-r--r--gnu/lib/libcxxabi/shlib_version4
-rw-r--r--gnu/lib/libexecinfo/Makefile3
7 files changed, 460 insertions, 229 deletions
diff --git a/gnu/lib/libclang_rt/profile/Makefile b/gnu/lib/libclang_rt/profile/Makefile
index 8442ee1d57b..422fc899e5a 100644
--- a/gnu/lib/libclang_rt/profile/Makefile
+++ b/gnu/lib/libclang_rt/profile/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.1 2021/09/15 10:21:30 fcambus Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:43 patrick Exp $
.include <bsd.own.mk>
-LLVM_V= 11.1.0
+LLVM_V= 13.0.0
LIBDIR= /usr/lib/clang/${LLVM_V}/lib
.if ${COMPILER_VERSION:L} != "clang"
@@ -27,18 +27,18 @@ CPPFLAGS+= -I${BSDSRCDIR}/gnu/llvm/compiler-rt/include/
SRCS+= GCDAProfiling.c \
InstrProfiling.c \
- InstrProfilingBiasVar.c \
+ InstrProfilingInternal.c \
+ InstrProfilingValue.c \
InstrProfilingBuffer.c \
InstrProfilingFile.c \
- InstrProfilingInternal.c \
InstrProfilingMerge.c \
InstrProfilingMergeFile.c \
InstrProfilingNameVar.c \
+ InstrProfilingVersionVar.c \
+ InstrProfilingWriter.c \
InstrProfilingPlatformOther.c \
InstrProfilingRuntime.cpp \
- InstrProfilingUtil.c \
- InstrProfilingValue.c \
- InstrProfilingWriter.c
+ InstrProfilingUtil.c
beforeinstall:
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${DIRMODE} \
diff --git a/gnu/lib/libcxx/Makefile b/gnu/lib/libcxx/Makefile
index dd78a48d70c..15ab0659bd8 100644
--- a/gnu/lib/libcxx/Makefile
+++ b/gnu/lib/libcxx/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2021/04/28 13:06:20 patrick Exp $
+# $OpenBSD: Makefile,v 1.5 2021/12/17 14:55:43 patrick Exp $
.include <bsd.own.mk>
@@ -15,6 +15,9 @@ AHDRDIR= ${.CURDIR}/../../../gnu/llvm/libcxxabi/include
UHDRDIR= ${.CURDIR}/../../../gnu/llvm/libunwind/include
CXXINCLUDEDIR= /usr/include/c++/v1
+LOCALHDRDIR= ${.CURDIR}/include/c++/v1
+CONFIG_SITE= ${LOCALHDRDIR}/__config_site
+
.PATH: ${SRCDIR} ${SRCDIR}/filesystem
LIB= c++
@@ -36,6 +39,7 @@ SRCS+= algorithm.cpp \
future.cpp \
hash.cpp \
ios.cpp \
+ ios.instantiations.cpp \
iostream.cpp \
locale.cpp \
memory.cpp \
@@ -60,7 +64,7 @@ SRCS+= algorithm.cpp \
vector.cpp
CPPFLAGS+= -Wall -DLIBCXXABI -I${HDRDIR} -D_LIBCPP_BUILDING_LIBRARY \
- -DLIBCXX_BUILDING_LIBCXXABI -I${AHDRDIR} -I${UHDRDIR} \
+ -DLIBCXX_BUILDING_LIBCXXABI -I${AHDRDIR} -I${UHDRDIR} -I${LOCALHDRDIR} \
-DNDEBUG
CXXFLAGS+= -nostdlib -nostdinc++
.if empty(CXXFLAGS:M-std=*)
@@ -70,224 +74,405 @@ CXXFLAGS+= -std=c++14
LDADD+= -L${BSDOBJDIR}/gnu/lib/libcxxabi -lc++abi
-STD_HEADERS= __bit_reference \
- __bsd_locale_defaults.h \
- __bsd_locale_fallbacks.h \
- __config \
- __config_site.in \
- __debug \
- __errc \
- __functional_03 \
- __functional_base \
- __functional_base_03 \
- __hash_table \
- __libcpp_version \
- __locale \
- __mutex_base \
- __node_handle \
- __nullptr \
- __split_buffer \
- __sso_allocator \
- __std_stream \
- __string \
- __threading_support \
- __tree \
- __tuple \
- __undef_macros \
- algorithm \
- any \
- array \
- atomic \
- barrier \
- bit \
- bitset \
- cassert \
- ccomplex \
- cctype \
- cerrno \
- cfenv \
- cfloat \
- charconv \
- chrono \
- cinttypes \
- ciso646 \
- climits \
- clocale \
- cmath \
- codecvt \
- compare \
- complex \
- complex.h \
- concepts \
- condition_variable \
- csetjmp \
- csignal \
- cstdarg \
- cstdbool \
- cstddef \
- cstdint \
- cstdio \
- cstdlib \
- cstring \
- ctgmath \
- ctime \
- ctype.h \
- cwchar \
- cwctype \
- deque \
- errno.h \
- exception \
- execution \
- fenv.h \
- filesystem \
- float.h \
- forward_list \
- fstream \
- functional \
- future \
- initializer_list \
- inttypes.h \
- iomanip \
- ios \
- iosfwd \
- iostream \
- istream \
- iterator \
- latch \
- limits \
- limits.h \
- list \
- locale \
- locale.h \
- map \
- math.h \
- memory \
- module.modulemap \
- mutex \
- new \
- numbers \
- numeric \
- optional \
- ostream \
- queue \
- random \
- ratio \
- regex \
- scoped_allocator \
- semaphore \
- set \
- setjmp.h \
- shared_mutex \
- span \
- sstream \
- stack \
- stdbool.h \
- stddef.h \
- stdexcept \
- stdint.h \
- stdio.h \
- stdlib.h \
- streambuf \
- string \
- string.h \
- string_view \
- strstream \
- system_error \
- tgmath.h \
- thread \
- tuple \
- type_traits \
- typeindex \
- typeinfo \
- unordered_map \
- unordered_set \
- utility \
- valarray \
- variant \
- vector \
- version \
- wchar.h \
- wctype.h
-
-.for hdr in ${STD_HEADERS}
-STD+= ${hdr} ${HDRDIR}/${hdr}
-.endfor
-STDDIR= ${CXXINCLUDEDIR}
-
-EXT_HEADERS= __hash\
- hash_map\
- hash_set
-
-.for hdr in ${EXT_HEADERS}
-EXT+= ${hdr} ${HDRDIR}/ext/${hdr}
-.endfor
-EXTDIR= ${CXXINCLUDEDIR}/ext
-
-
-EXP_HEADERS= __config \
- __memory \
- algorithm \
- coroutine \
- deque \
- filesystem \
- forward_list \
- functional \
- iterator \
- list \
- map \
- memory_resource \
- propagate_const \
- regex \
- set \
- simd \
- string \
- utility \
- type_traits \
- unordered_map \
- unordered_set \
- vector
-
-.for hdr in ${EXP_HEADERS}
-EXP+= ${hdr} ${HDRDIR}/experimental/${hdr}
-.endfor
-EXPDIR= ${CXXINCLUDEDIR}/experimental
-
-XLOCALE_HEADERS= __nop_locale_mgmt.h\
- __posix_l_fallback.h\
- __strtonum_fallback.h
-
-.for hdr in ${XLOCALE_HEADERS}
-XLOCALE+= ${hdr} ${HDRDIR}/support/xlocale/${hdr}
-.endfor
-XLOCALEDIR= ${CXXINCLUDEDIR}/support/xlocale
+STD_HEADERS= \
+ __algorithm/adjacent_find.h \
+ __algorithm/all_of.h \
+ __algorithm/any_of.h \
+ __algorithm/binary_search.h \
+ __algorithm/clamp.h \
+ __algorithm/comp_ref_type.h \
+ __algorithm/comp.h \
+ __algorithm/copy_backward.h \
+ __algorithm/copy_if.h \
+ __algorithm/copy_n.h \
+ __algorithm/copy.h \
+ __algorithm/count_if.h \
+ __algorithm/count.h \
+ __algorithm/equal_range.h \
+ __algorithm/equal.h \
+ __algorithm/fill_n.h \
+ __algorithm/fill.h \
+ __algorithm/find_end.h \
+ __algorithm/find_first_of.h \
+ __algorithm/find_if_not.h \
+ __algorithm/find_if.h \
+ __algorithm/find.h \
+ __algorithm/for_each_n.h \
+ __algorithm/for_each.h \
+ __algorithm/generate_n.h \
+ __algorithm/generate.h \
+ __algorithm/half_positive.h \
+ __algorithm/includes.h \
+ __algorithm/inplace_merge.h \
+ __algorithm/is_heap_until.h \
+ __algorithm/is_heap.h \
+ __algorithm/is_partitioned.h \
+ __algorithm/is_permutation.h \
+ __algorithm/is_sorted_until.h \
+ __algorithm/is_sorted.h \
+ __algorithm/iter_swap.h \
+ __algorithm/lexicographical_compare.h \
+ __algorithm/lower_bound.h \
+ __algorithm/make_heap.h \
+ __algorithm/max_element.h \
+ __algorithm/max.h \
+ __algorithm/merge.h \
+ __algorithm/min_element.h \
+ __algorithm/min.h \
+ __algorithm/minmax_element.h \
+ __algorithm/minmax.h \
+ __algorithm/mismatch.h \
+ __algorithm/move_backward.h \
+ __algorithm/move.h \
+ __algorithm/next_permutation.h \
+ __algorithm/none_of.h \
+ __algorithm/nth_element.h \
+ __algorithm/partial_sort_copy.h \
+ __algorithm/partial_sort.h \
+ __algorithm/partition_copy.h \
+ __algorithm/partition_point.h \
+ __algorithm/partition.h \
+ __algorithm/pop_heap.h \
+ __algorithm/prev_permutation.h \
+ __algorithm/push_heap.h \
+ __algorithm/remove_copy_if.h \
+ __algorithm/remove_copy.h \
+ __algorithm/remove_if.h \
+ __algorithm/remove.h \
+ __algorithm/replace_copy_if.h \
+ __algorithm/replace_copy.h \
+ __algorithm/replace_if.h \
+ __algorithm/replace.h \
+ __algorithm/reverse_copy.h \
+ __algorithm/reverse.h \
+ __algorithm/rotate_copy.h \
+ __algorithm/rotate.h \
+ __algorithm/sample.h \
+ __algorithm/search_n.h \
+ __algorithm/search.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/sort_heap.h \
+ __algorithm/sort.h \
+ __algorithm/stable_partition.h \
+ __algorithm/stable_sort.h \
+ __algorithm/swap_ranges.h \
+ __algorithm/transform.h \
+ __algorithm/unique_copy.h \
+ __algorithm/unique.h \
+ __algorithm/unwrap_iter.h \
+ __algorithm/upper_bound.h \
+ __availability \
+ __bit_reference \
+ __bits \
+ __bsd_locale_defaults.h \
+ __bsd_locale_fallbacks.h \
+ __config \
+ __debug \
+ __errc \
+ __format/format_error.h \
+ __format/format_parse_context.h \
+ __function_like.h \
+ __functional_base \
+ __functional/binary_function.h \
+ __functional/binary_negate.h \
+ __functional/bind_front.h \
+ __functional/bind.h \
+ __functional/binder1st.h \
+ __functional/binder2nd.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/unwrap_ref.h \
+ __functional/weak_result_type.h \
+ __hash_table \
+ __iterator/access.h \
+ __iterator/advance.h \
+ __iterator/back_insert_iterator.h \
+ __iterator/common_iterator.h \
+ __iterator/concepts.h \
+ __iterator/counted_iterator.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/insert_iterator.h \
+ __iterator/istream_iterator.h \
+ __iterator/istreambuf_iterator.h \
+ __iterator/iter_move.h \
+ __iterator/iter_swap.h \
+ __iterator/iterator_traits.h \
+ __iterator/iterator.h \
+ __iterator/move_iterator.h \
+ __iterator/next.h \
+ __iterator/ostream_iterator.h \
+ __iterator/ostreambuf_iterator.h \
+ __iterator/prev.h \
+ __iterator/projected.h \
+ __iterator/readable_traits.h \
+ __iterator/reverse_access.h \
+ __iterator/reverse_iterator.h \
+ __iterator/size.h \
+ __iterator/wrap_iter.h \
+ __libcpp_version \
+ __locale \
+ __memory/addressof.h \
+ __memory/allocation_guard.h \
+ __memory/allocator_arg_t.h \
+ __memory/allocator_traits.h \
+ __memory/allocator.h \
+ __memory/auto_ptr.h \
+ __memory/compressed_pair.h \
+ __memory/construct_at.h \
+ __memory/pointer_safety.h \
+ __memory/pointer_traits.h \
+ __memory/raw_storage_iterator.h \
+ __memory/shared_ptr.h \
+ __memory/temporary_buffer.h \
+ __memory/uninitialized_algorithms.h \
+ __memory/unique_ptr.h \
+ __memory/uses_allocator.h \
+ __mutex_base \
+ __node_handle \
+ __nullptr \
+ __random/uniform_int_distribution.h \
+ __ranges/access.h \
+ __ranges/all.h \
+ __ranges/common_view.h \
+ __ranges/concepts.h \
+ __ranges/copyable_box.h \
+ __ranges/dangling.h \
+ __ranges/data.h \
+ __ranges/drop_view.h \
+ __ranges/empty_view.h \
+ __ranges/empty.h \
+ __ranges/enable_borrowed_range.h \
+ __ranges/enable_view.h \
+ __ranges/non_propagating_cache.h \
+ __ranges/ref_view.h \
+ __ranges/size.h \
+ __ranges/subrange.h \
+ __ranges/transform_view.h \
+ __ranges/view_interface.h \
+ __split_buffer \
+ __std_stream \
+ __string \
+ __support/android/locale_bionic.h \
+ __support/fuchsia/xlocale.h \
+ __support/ibm/gettod_zos.h \
+ __support/ibm/limits.h \
+ __support/ibm/locale_mgmt_aix.h \
+ __support/ibm/locale_mgmt_zos.h \
+ __support/ibm/nanosleep.h \
+ __support/ibm/support.h \
+ __support/ibm/xlocale.h \
+ __support/musl/xlocale.h \
+ __support/newlib/xlocale.h \
+ __support/nuttx/xlocale.h \
+ __support/openbsd/xlocale.h \
+ __support/solaris/floatingpoint.h \
+ __support/solaris/wchar.h \
+ __support/solaris/xlocale.h \
+ __support/win32/limits_msvc_win32.h \
+ __support/win32/locale_win32.h \
+ __support/xlocale/__nop_locale_mgmt.h \
+ __support/xlocale/__posix_l_fallback.h \
+ __support/xlocale/__strtonum_fallback.h \
+ __threading_support \
+ __tree \
+ __tuple \
+ __undef_macros \
+ __utility/__decay_copy.h \
+ __utility/as_const.h \
+ __utility/cmp.h \
+ __utility/declval.h \
+ __utility/exchange.h \
+ __utility/forward.h \
+ __utility/in_place.h \
+ __utility/integer_sequence.h \
+ __utility/move.h \
+ __utility/pair.h \
+ __utility/piecewise_construct.h \
+ __utility/rel_ops.h \
+ __utility/swap.h \
+ __utility/to_underlying.h \
+ __variant/monostate.h \
+ algorithm \
+ any \
+ array \
+ atomic \
+ barrier \
+ bit \
+ bitset \
+ cassert \
+ ccomplex \
+ cctype \
+ cerrno \
+ cfenv \
+ cfloat \
+ charconv \
+ chrono \
+ cinttypes \
+ ciso646 \
+ climits \
+ clocale \
+ cmath \
+ codecvt \
+ compare \
+ complex \
+ complex.h \
+ concepts \
+ condition_variable \
+ csetjmp \
+ csignal \
+ cstdarg \
+ cstdbool \
+ cstddef \
+ cstdint \
+ cstdio \
+ cstdlib \
+ cstring \
+ ctgmath \
+ ctime \
+ ctype.h \
+ cwchar \
+ cwctype \
+ deque \
+ errno.h \
+ exception \
+ execution \
+ experimental/__config \
+ experimental/__memory \
+ experimental/algorithm \
+ experimental/coroutine \
+ experimental/deque \
+ experimental/filesystem \
+ experimental/forward_list \
+ experimental/functional \
+ experimental/iterator \
+ experimental/list \
+ experimental/map \
+ experimental/memory_resource \
+ experimental/propagate_const \
+ experimental/regex \
+ experimental/set \
+ experimental/simd \
+ experimental/string \
+ experimental/type_traits \
+ experimental/unordered_map \
+ experimental/unordered_set \
+ experimental/utility \
+ experimental/vector \
+ ext/__hash \
+ ext/hash_map \
+ ext/hash_set \
+ fenv.h \
+ filesystem \
+ float.h \
+ format \
+ forward_list \
+ fstream \
+ functional \
+ future \
+ initializer_list \
+ inttypes.h \
+ iomanip \
+ ios \
+ iosfwd \
+ iostream \
+ istream \
+ iterator \
+ latch \
+ limits \
+ limits.h \
+ list \
+ locale \
+ locale.h \
+ map \
+ math.h \
+ memory \
+ module.modulemap \
+ mutex \
+ new \
+ numbers \
+ numeric \
+ optional \
+ ostream \
+ queue \
+ random \
+ ranges \
+ ranges \
+ ratio \
+ regex \
+ scoped_allocator \
+ semaphore \
+ set \
+ setjmp.h \
+ shared_mutex \
+ span \
+ sstream \
+ stack \
+ stdbool.h \
+ stddef.h \
+ stdexcept \
+ stdint.h \
+ stdio.h \
+ stdlib.h \
+ streambuf \
+ string \
+ string_view \
+ string.h \
+ strstream \
+ system_error \
+ tgmath.h \
+ thread \
+ tuple \
+ type_traits \
+ typeindex \
+ typeinfo \
+ unordered_map \
+ unordered_set \
+ utility \
+ valarray \
+ variant \
+ vector \
+ version \
+ wchar.h \
+ wctype.h
includes:
@echo installing ${STD_HEADERS}
- ${INSTALL} -d -m 755 ${DESTDIR}/${STDDIR};
-. for hdr src in ${STD}
- cmp -s ${src} ${DESTDIR}/${STDDIR}/${hdr} || \
- ${INSTALL} ${INSTALL_COPY} -m 444 ${src} ${DESTDIR}/${STDDIR}/${hdr};
-. endfor
- ${INSTALL} -d -m 755 ${DESTDIR}/${EXTDIR};
-. for hdr src in ${EXT}
- cmp -s ${src} ${DESTDIR}/${EXTDIR}/${hdr} || \
- ${INSTALL} ${INSTALL_COPY} -m 444 ${src} ${DESTDIR}/${EXTDIR}/${hdr};
-. endfor
- ${INSTALL} -d -m 755 ${DESTDIR}/${EXPDIR};
-. for hdr src in ${EXP}
- cmp -s ${src} ${DESTDIR}/${EXPDIR}/${hdr} || \
- ${INSTALL} ${INSTALL_COPY} -m 444 ${src} ${DESTDIR}/${EXPDIR}/${hdr};
-. endfor
- ${INSTALL} -d -m 755 ${DESTDIR}/${CXXINCLUDEDIR}/support/newlib;
- cmp -s ${HDRDIR}/support/newlib/xlocale.h \
- ${DESTDIR}/${CXXINCLUDEDIR}/support/newlib/xlocale.h || \
- ${INSTALL} ${INSTALL_COPY} -m 444 ${HDRDIR}/support/newlib/xlocale.h \
- ${DESTDIR}/${CXXINCLUDEDIR}/support/newlib/xlocale.h;
- ${INSTALL} -d -m 755 ${DESTDIR}/${CXXINCLUDEDIR}/support/xlocale;
-. for hdr src in ${XLOCALE}
- cmp -s ${src} ${DESTDIR}/${XLOCALEDIR}/${hdr} || \
- ${INSTALL} ${INSTALL_COPY} -m 444 ${src} ${DESTDIR}/${XLOCALEDIR}/${hdr};
+. for hdr in ${STD_HEADERS}
+ cmp -s ${HDRDIR}/${hdr} ${DESTDIR}/${CXXINCLUDEDIR}/${hdr} || \
+ ${INSTALL} ${INSTALL_COPY} -D -m 444 ${HDRDIR}/${hdr} \
+ ${DESTDIR}/${CXXINCLUDEDIR}/${hdr};
. endfor
+ cmp -s ${CONFIG_SITE} ${DESTDIR}/${CXXINCLUDEDIR}/${CONFIG_SITE:T} || \
+ ${INSTALL} ${INSTALL_COPY} -D -m 444 ${CONFIG_SITE} \
+ ${DESTDIR}/${CXXINCLUDEDIR}/${CONFIG_SITE:T}
.include <bsd.lib.mk>
diff --git a/gnu/lib/libcxx/include/c++/v1/__config_site b/gnu/lib/libcxx/include/c++/v1/__config_site
new file mode 100644
index 00000000000..cb195721d10
--- /dev/null
+++ b/gnu/lib/libcxx/include/c++/v1/__config_site
@@ -0,0 +1,42 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP_CONFIG_SITE
+#define _LIBCPP_CONFIG_SITE
+
+/* #undef _LIBCPP_ABI_VERSION */
+/* #undef _LIBCPP_ABI_UNSTABLE */
+/* #undef _LIBCPP_ABI_FORCE_ITANIUM */
+/* #undef _LIBCPP_ABI_FORCE_MICROSOFT */
+/* #undef _LIBCPP_HIDE_FROM_ABI_PER_TU_BY_DEFAULT */
+/* #undef _LIBCPP_HAS_NO_GLOBAL_FILESYSTEM_NAMESPACE */
+/* #undef _LIBCPP_HAS_NO_STDIN */
+/* #undef _LIBCPP_HAS_NO_STDOUT */
+/* #undef _LIBCPP_HAS_NO_THREADS */
+/* #undef _LIBCPP_HAS_NO_MONOTONIC_CLOCK */
+/* #undef _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS */
+/* #undef _LIBCPP_HAS_MUSL_LIBC */
+/* #undef _LIBCPP_HAS_THREAD_API_PTHREAD */
+/* #undef _LIBCPP_HAS_THREAD_API_EXTERNAL */
+/* #undef _LIBCPP_HAS_THREAD_API_WIN32 */
+/* #undef _LIBCPP_HAS_THREAD_LIBRARY_EXTERNAL */
+/* #undef _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS */
+#define _LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS
+/* #undef _LIBCPP_NO_VCRUNTIME */
+/* #undef _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION */
+/* #undef _LIBCPP_ABI_NAMESPACE */
+/* #undef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY */
+/* #undef _LIBCPP_HAS_PARALLEL_ALGORITHMS */
+/* #undef _LIBCPP_HAS_NO_RANDOM_DEVICE */
+/* #undef _LIBCPP_HAS_NO_LOCALIZATION */
+/* #undef _LIBCPP_HAS_NO_INCOMPLETE_FORMAT */
+/* #undef _LIBCPP_HAS_NO_INCOMPLETE_RANGES */
+
+
+
+#endif // _LIBCPP_CONFIG_SITE
diff --git a/gnu/lib/libcxx/shlib_version b/gnu/lib/libcxx/shlib_version
index d0f0988b418..1c5d96eb2aa 100644
--- a/gnu/lib/libcxx/shlib_version
+++ b/gnu/lib/libcxx/shlib_version
@@ -1,2 +1,2 @@
-major=8
+major=9
minor=0
diff --git a/gnu/lib/libcxxabi/Makefile b/gnu/lib/libcxxabi/Makefile
index b3626afdeb7..fcd30f80960 100644
--- a/gnu/lib/libcxxabi/Makefile
+++ b/gnu/lib/libcxxabi/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2021/04/28 13:06:20 patrick Exp $
+# $OpenBSD: Makefile,v 1.4 2021/12/17 14:55:44 patrick Exp $
.include <bsd.own.mk>
@@ -15,6 +15,8 @@ SHDRDIR= ${.CURDIR}/../../../gnu/llvm/libcxx/include
UHDRDIR= ${.CURDIR}/../../../gnu/llvm/libunwind/include
CXXINCLUDEDIR= /usr/include/c++/v1
+LOCALHDRDIR= ${.CURDIR}/../libcxx/include/c++/v1
+
.PATH: ${SRCDIR} ${.CURDIR}/../../../gnu/llvm/libunwind/src
LIB= c++abi
@@ -46,7 +48,8 @@ SRCS+= abort_message.cpp \
UnwindRegistersSave.S \
libunwind.cpp
-CPPFLAGS+= -Wall -I${SHDRDIR} -I${HDRDIR} -I${UHDRDIR}
+CPPFLAGS+= -Wall -I${SHDRDIR} -I${HDRDIR} -I${UHDRDIR} \
+ -I${LOCALHDRDIR} -I${SHDRDIR}/../
CPPFLAGS+= -D_LIBUNWIND_IS_NATIVE_ONLY
CPPFLAGS+= -D_LIBCXXABI_BUILDING_LIBRARY
CPPFLAGS+= -DNDEBUG
diff --git a/gnu/lib/libcxxabi/shlib_version b/gnu/lib/libcxxabi/shlib_version
index 23268d4770a..a6349c22dec 100644
--- a/gnu/lib/libcxxabi/shlib_version
+++ b/gnu/lib/libcxxabi/shlib_version
@@ -1,3 +1,3 @@
# Don't forget to give libc++ the same type of bump!
-major=5
-minor=1
+major=6
+minor=0
diff --git a/gnu/lib/libexecinfo/Makefile b/gnu/lib/libexecinfo/Makefile
index fe0855a4552..047803f63c0 100644
--- a/gnu/lib/libexecinfo/Makefile
+++ b/gnu/lib/libexecinfo/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2021/06/09 19:37:43 mortimer Exp $
+# $OpenBSD: Makefile,v 1.2 2021/12/17 14:55:44 patrick Exp $
.include <bsd.own.mk>
@@ -19,6 +19,7 @@ CFLAGS+= -std=gnu99
.PATH: ${SRCDIR} ${BSDSRCDIR}/gnu/llvm/libunwind/src
.PATH: ${SRCDIR} ${BSDSRCDIR}/gnu/llvm/libcxx/src
CXXFLAGS+= -I${BSDSRCDIR}/gnu/llvm/libunwind/include \
+ -I${BSDSRCDIR}/gnu/lib/libcxx/include/c++/v1/ \
-I${BSDSRCDIR}/gnu/llvm/libcxx/include
CFLAGS+= -I${BSDSRCDIR}/gnu/llvm/libunwind/include