From 57f804675e65951d630a38d94c07be4a27ae4053 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sat, 29 Feb 2020 03:25:51 +0000 Subject: remove GCC 4.2.1 build infrastructure As described in Warner's email message[1] to the FreeBSD-arch mailing list we have reached GCC 4.2.1's retirement date. At this time all supported architectures either use in-tree Clang, or rely on external toolchain (i.e., a contemporary GCC version from ports). GCC 4.2.1 was released July 18, 2007 and was imported into FreeBSD later that year, in r171825. GCC has served us well, but version 4.2.1 is obsolete and not used by default on any architecture in FreeBSD. It does not support modern C and does not support arm64 or RISC-V. Thanks to everyone responsible for maintaining, updating, and testing GCC in the FreeBSD base system over the years. So long, and thanks for all the fish. [1] https://lists.freebsd.org/pipermail/freebsd-arch/2020-January/019823.html PR: 228919 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23124 --- gnu/lib/Makefile | 11 - gnu/lib/libgcov/Makefile | 66 --- gnu/lib/libgcov/Makefile.depend | 13 - gnu/lib/libgomp/Makefile | 61 -- gnu/lib/libgomp/Makefile.depend | 16 - gnu/lib/libgomp/config.h | 115 ---- gnu/lib/libstdc++/Makefile | 637 --------------------- gnu/lib/libstdc++/Makefile.depend | 17 - gnu/lib/libstdc++/config.h | 1109 ------------------------------------- gnu/lib/libsupc++/Makefile | 56 -- gnu/lib/libsupc++/Makefile.depend | 17 - gnu/lib/libsupc++/Version.map | 193 ------- 12 files changed, 2311 deletions(-) delete mode 100644 gnu/lib/libgcov/Makefile delete mode 100644 gnu/lib/libgcov/Makefile.depend delete mode 100644 gnu/lib/libgomp/Makefile delete mode 100644 gnu/lib/libgomp/Makefile.depend delete mode 100644 gnu/lib/libgomp/config.h delete mode 100644 gnu/lib/libstdc++/Makefile delete mode 100644 gnu/lib/libstdc++/Makefile.depend delete mode 100644 gnu/lib/libstdc++/config.h delete mode 100644 gnu/lib/libsupc++/Makefile delete mode 100644 gnu/lib/libsupc++/Makefile.depend delete mode 100644 gnu/lib/libsupc++/Version.map (limited to 'gnu/lib') diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile index c3ea5ac85881..25255514261c 100644 --- a/gnu/lib/Makefile +++ b/gnu/lib/Makefile @@ -4,10 +4,6 @@ SUBDIR= SUBDIR.${MK_DIALOG}+= libdialog -SUBDIR.${MK_GCC}+= libgcov -.if ${MK_GCC} != "no" && ${MK_OPENMP} == "no" -SUBDIR+= libgomp -.endif SUBDIR.${MK_TESTS}+= tests .if ${MK_GNU_GREP} != "no" || ${MK_GNU_GREP_COMPAT} != "no" || \ @@ -15,13 +11,6 @@ SUBDIR.${MK_TESTS}+= tests SUBDIR+= libregex .endif -# libsupc++ uses libstdc++ headers, although 'make includes' should -# have taken care of that already. -.if ${MK_GNUCXX} != "no" -SUBDIR+= libstdc++ libsupc++ -SUBDIR_DEPENDS_libsupc++:= libstdc++ -.endif - SUBDIR_PARALLEL= .include diff --git a/gnu/lib/libgcov/Makefile b/gnu/lib/libgcov/Makefile deleted file mode 100644 index 1510eea759b2..000000000000 --- a/gnu/lib/libgcov/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -# $FreeBSD$ - -MK_PROFILE= no -MK_SSP= no - -.include - -GCCDIR= ${SRCTOP}/contrib/gcc -GCCLIB= ${SRCTOP}/contrib/gcclibs -CCDIR= ${SRCTOP}/gnu/usr.bin/cc -.include "${CCDIR}/Makefile.tgt" -.include "${CCDIR}/cc_tools/Makefile.hdrs" - -.PATH: ${GCCDIR}/config/${GCC_CPU} ${GCCDIR} - -LIB= gcov - -CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -CFLAGS+= -D_PTHREADS -DGTHREAD_USE_WEAK -CFLAGS+= -I${CCDIR}/cc_tools \ - -I${GCCLIB}/include -I${GCCDIR}/config -I${GCCDIR} -I. - -.if ${TARGET_CPUARCH} == "arm" -CFLAGS+= -DTARGET_ARM_EABI -.endif - -# -# Library members defined in libgcov.c. -# Defined in libgcov.c, included only in gcov library -SYMS = _gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta \ - _gcov_fork _gcov_execl _gcov_execlp _gcov_execle \ - _gcov_execv _gcov_execvp _gcov_execve \ - _gcov_interval_profiler _gcov_pow2_profiler _gcov_one_value_profiler - -OBJS= ${SYMS:S/$/.o/} -OBJS_T= ${SYMS:S/$/.o/} -OBJS_P= ${SYMS:S/$/.po/} -OBJS_S= ${SYMS:S/$/.pico/} - -#----------------------------------------------------------------------- -# -# Helpful shortcuts for compiler invocations. -# -CC_T = ${CC} -c ${CFLAGS} -fPIC -CC_P = ${CC} -c ${CFLAGS} -p -fPIC -CC_S = ${CC} -c ${CFLAGS} ${PICFLAG} -DSHARED - -COMMONHDRS= tm.h tconfig.h gcov-iov.h options.h -CLEANFILES+= ${COMMONHDRS} cs-tm.h cs-tconfig.h options.h optionlist - -${OBJS} beforedepend: ${COMMONHDRS} - -${OBJS_T}: libgcov.c - ${CC_T} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c:[1]} - -.if !defined(NO_PIC) -${OBJS_S}: libgcov.c - ${CC_S} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c:[1]} -.endif - -.if ${MK_PROFILE} != "no" -${OBJS_P}: libgcov.c - ${CC_P} -DL${.PREFIX} -o ${.TARGET} ${.ALLSRC:M*.c:[1]} -.endif - -.include diff --git a/gnu/lib/libgcov/Makefile.depend b/gnu/lib/libgcov/Makefile.depend deleted file mode 100644 index 18be76b0cb6f..000000000000 --- a/gnu/lib/libgcov/Makefile.depend +++ /dev/null @@ -1,13 +0,0 @@ -# $FreeBSD$ -# Autogenerated - do NOT edit! - -DIRDEPS = \ - include \ - include/xlocale \ - - -.include - -.if ${DEP_RELDIR} == ${_DEP_RELDIR} -# local dependencies - needed for -jN in clean tree -.endif diff --git a/gnu/lib/libgomp/Makefile b/gnu/lib/libgomp/Makefile deleted file mode 100644 index 5a97172aad7e..000000000000 --- a/gnu/lib/libgomp/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# $FreeBSD$ - -GCCDIR= ${SRCTOP}/contrib/gcc -GCCLIB= ${SRCTOP}/contrib/gcclibs -SRCDIR= ${GCCLIB}/libgomp - -.PATH: ${SRCDIR} ${SRCDIR}/config/posix - -LIB= gomp -SHLIB_MAJOR= 1 - -SRCS= alloc.c barrier.c critical.c env.c \ - error.c iter.c loop.c ordered.c parallel.c sections.c \ - single.c team.c work.c lock.c mutex.c proc.c sem.c \ - bar.c time.c fortran.c affinity.c -SRCS+= gstdint.h libgomp_f.h omp.h omp_lib.h - -INCS+= omp.h - -CFLAGS+= -DHAVE_CONFIG_H -CFLAGS+= -I${.CURDIR} -I. -I${SRCDIR} -I${SRCDIR}/config/posix - -VERSION_MAP= ${SRCDIR}/libgomp.map - -# Target-specific OpenMP configuration -.if ${MACHINE_CPUARCH} == arm || ${MACHINE_CPUARCH} == i386 || \ - ${MACHINE_ARCH} == powerpc || ${MACHINE_ARCH} == powerpcspe || \ - (${MACHINE_CPUARCH} == mips && ${MACHINE_ARCH:Mmips64*} == "") -OMP_LOCK_ALIGN = 4 -OMP_LOCK_KIND= 4 -OMP_LOCK_SIZE= 4 -OMP_NEST_LOCK_ALIGN= 4 -OMP_NEST_LOCK_KIND= 8 -OMP_NEST_LOCK_SIZE= 8 -.else -OMP_LOCK_ALIGN = 8 -OMP_LOCK_KIND= 8 -OMP_LOCK_SIZE= 8 -OMP_NEST_LOCK_ALIGN= 8 -OMP_NEST_LOCK_KIND= 8 -OMP_NEST_LOCK_SIZE= 16 -.endif - -gstdint.h: - echo '#include ' > ${.TARGET} - echo '#include ' >> ${.TARGET} -CLEANFILES+= gstdint.h - -.for HFILE in libgomp_f.h omp.h omp_lib.h -${HFILE}: ${SRCDIR}/${HFILE}.in ${.CURDIR}/Makefile - sed -e 's/@OMP_LOCK_ALIGN@/${OMP_LOCK_ALIGN}/g' \ - -e 's/@OMP_LOCK_KIND@/${OMP_LOCK_KIND}/g' \ - -e 's/@OMP_LOCK_SIZE@/${OMP_LOCK_SIZE}/g' \ - -e 's/@OMP_NEST_LOCK_ALIGN@/${OMP_NEST_LOCK_ALIGN}/g' \ - -e 's/@OMP_NEST_LOCK_KIND@/${OMP_NEST_LOCK_KIND}/g' \ - -e 's/@OMP_NEST_LOCK_SIZE@/${OMP_NEST_LOCK_SIZE}/g' \ - < ${SRCDIR}/${HFILE}.in > ${.TARGET} -CLEANFILES+= ${HFILE} -.endfor - -.include diff --git a/gnu/lib/libgomp/Makefile.depend b/gnu/lib/libgomp/Makefile.depend deleted file mode 100644 index 8d409f5263ac..000000000000 --- a/gnu/lib/libgomp/Makefile.depend +++ /dev/null @@ -1,16 +0,0 @@ -# $FreeBSD$ -# Autogenerated - do NOT edit! - -DIRDEPS = \ - include \ - include/xlocale \ - lib/${CSU_DIR} \ - lib/libc \ - lib/libcompiler_rt \ - - -.include - -.if ${DEP_RELDIR} == ${_DEP_RELDIR} -# local dependencies - needed for -jN in clean tree -.endif diff --git a/gnu/lib/libgomp/config.h b/gnu/lib/libgomp/config.h deleted file mode 100644 index 547e6927db35..000000000000 --- a/gnu/lib/libgomp/config.h +++ /dev/null @@ -1,115 +0,0 @@ -/* config.h. Generated by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ -/* $FreeBSD$ */ - -/* Define to 1 if the target supports __attribute__((alias(...))). */ -#define HAVE_ATTRIBUTE_ALIAS 1 - -/* Define to 1 if the target supports __attribute__((dllexport)). */ -/* #undef HAVE_ATTRIBUTE_DLLEXPORT */ - -/* Define to 1 if the target supports __attribute__((visibility(...))). */ -#define HAVE_ATTRIBUTE_VISIBILITY 1 - -/* Define if the POSIX Semaphores do not work on your system. */ -/* #undef HAVE_BROKEN_POSIX_SEMAPHORES */ - -/* Define to 1 if you have the `clock_gettime' function. */ -#define HAVE_CLOCK_GETTIME 1 - -/* Define to 1 if you have the `getloadavg' function. */ -#define HAVE_GETLOADAVG 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define if pthread_{,attr_}{g,s}etaffinity_np is supported. */ -#undef HAVE_PTHREAD_AFFINITY_NP - -/* Define to 1 if you have the header file. */ -#define HAVE_SEMAPHORE_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if the target supports __sync_*_compare_and_swap */ -#ifdef __amd64__ -#define HAVE_SYNC_BUILTINS 1 -#endif - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_LOADAVG_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_SYSCTL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if the target supports thread-local storage. */ -#if !defined(__mips__) -#define HAVE_TLS 1 -#endif - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Name of package */ -#define PACKAGE "libgomp" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "GNU OpenMP Runtime Library" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "libgomp" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "1.0" - -/* The size of a `char', as computed by sizeof. */ -/* #undef SIZEOF_CHAR */ - -/* The size of a `int', as computed by sizeof. */ -/* #undef SIZEOF_INT */ - -/* The size of a `long', as computed by sizeof. */ -/* #undef SIZEOF_LONG */ - -/* The size of a `short', as computed by sizeof. */ -/* #undef SIZEOF_SHORT */ - -/* The size of a `void *', as computed by sizeof. */ -/* #undef SIZEOF_VOID_P */ - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define to 1 if you can safely include both and . */ -#define TIME_WITH_SYS_TIME 1 - -/* Version number of package */ -#define VERSION "1.0" diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile deleted file mode 100644 index 8c4972db4c41..000000000000 --- a/gnu/lib/libstdc++/Makefile +++ /dev/null @@ -1,637 +0,0 @@ -# $FreeBSD$ - -.include - -GCCVER= 4.2 -GCCDIR= ${SRCTOP}/contrib/gcc -GCCLIB= ${SRCTOP}/contrib/gcclibs -SRCDIR= ${SRCTOP}/contrib/libstdc++ -SUPDIR= ${SRCDIR}/libsupc++ - -.PATH: ${SRCDIR}/src ${SRCDIR}/libmath ${SRCDIR}/config/io \ - ${SRCDIR}/config/locale/darwin ${SRCDIR}/config/locale/generic \ - ${SRCDIR}/include ${SUPDIR} ${GCCDIR} ${GCCLIB}/libiberty - -LIB= stdc++ -SHLIB_MAJOR= 6 - -CFLAGS+= -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -CFLAGS+= -I${.CURDIR} -I${SUPDIR} -I${GCCDIR} -I${SRCDIR}/include -CFLAGS+= -I${GCCLIB}/include -I${SRCDIR}/include -I. -CFLAGS+= -frandom-seed=RepeatabilityConsideredGood -CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections \ - -Wno-deprecated -PO_CXXFLAGS= ${CXXFLAGS:N-ffunction-sections} - -LIBADD+= m -LDADD= -Wl,-f,libsupc++.so.1 - -# libstdc++ sources -SRCS+= bitmap_allocator.cc pool_allocator.cc \ - mt_allocator.cc codecvt.cc compatibility.cc complex_io.cc \ - ctype.cc debug.cc debug_list.cc functexcept.cc globals_io.cc \ - ios.cc ios_failure.cc ios_init.cc ios_locale.cc limits.cc \ - list.cc locale.cc locale_init.cc locale_facets.cc \ - localename.cc stdexcept.cc strstream.cc tree.cc \ - allocator-inst.cc concept-inst.cc fstream-inst.cc ext-inst.cc \ - ios-inst.cc iostream-inst.cc istream-inst.cc istream.cc \ - locale-inst.cc misc-inst.cc ostream-inst.cc sstream-inst.cc \ - streambuf-inst.cc streambuf.cc string-inst.cc valarray-inst.cc \ - wlocale-inst.cc wstring-inst.cc atomicity.cc \ - codecvt_members.cc collate_members.cc ctype_members.cc \ - messages_members.cc monetary_members.cc numeric_members.cc \ - time_members.cc basic_file_stdio.cc c_locale.cc \ -# compatibility-ldbl.cc - -# target sources -SRCS+= atomicity.cc codecvt_members.cc collate_members.cc ctype_members.cc \ - messages_members.cc monetary_members.cc numeric_members.cc \ - time_members.cc - -# target sources extra -SRCS+= basic_file_stdio.cc c_locale.cc - -# C parts of math -SRCS+= stubs.c - -# Embedded copy of libsupc++ -SRCS+= del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_arm.cc \ - eh_aux_runtime.cc eh_call.cc eh_catch.cc eh_exception.cc eh_globals.cc \ - eh_personality.cc eh_term_handler.cc eh_terminate.cc eh_throw.cc \ - eh_type.cc eh_unex_handler.cc guard.cc new_handler.cc new_op.cc \ - new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc \ - vec.cc vterminate.cc - -# from libiberty: -SRCS+= cp-demangle.c - -# MD headers location -.if ${MACHINE_CPUARCH} == "sparc64" -MARCHDIR= sparc -.elif ${MACHINE_CPUARCH} == "i386" && ${MACHINE_CPU} != 'i386' -MARCHDIR= i486 -.elif ${MACHINE_CPUARCH} == "amd64" -MARCHDIR= i486 -.else -MARCHDIR= ${MACHINE_CPUARCH} -.endif - -.if exists(${SRCDIR}/config/cpu/${MARCHDIR}/atomicity.h) -ATOMICITY_H= ${SRCDIR}/config/cpu/${MARCHDIR}/atomicity.h -.else -ATOMICITY_H= ${SRCDIR}/config/cpu/generic/atomicity_mutex/atomicity.h -.endif - -.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" -.if exists(${SRCDIR}/config/cpu/generic/atomicity_builtins/atomicity.h) -ATOMICITY_H= ${SRCDIR}/config/cpu/generic/atomicity_builtins/atomicity.h -.endif -.endif - -atomicity.cc: ${ATOMICITY_H} .NOMETA - ln -sf ${.ALLSRC} ${.TARGET} -CLEANFILES+= atomicity.cc - -INCSGROUPS= BITSHDRS BKWHDRS EXTHDRS BASEHDRS BASEXHDRS STDHDRS \ - TARGETHDRS THRHDRS DEBUGHDRS TR1HDRS PBHDRS0 PBHDRS1 -CXXINCLUDEDIR= ${INCLUDEDIR}/c++/${GCCVER} - -STDHDRS= std_algorithm.h std_bitset.h std_complex.h std_deque.h \ - std_fstream.h std_functional.h std_iomanip.h std_ios.h \ - std_iosfwd.h std_iostream.h std_istream.h std_iterator.h \ - std_limits.h std_list.h std_locale.h std_map.h std_memory.h \ - std_numeric.h std_ostream.h std_queue.h std_set.h \ - std_sstream.h std_stack.h std_stdexcept.h std_streambuf.h \ - std_string.h std_utility.h std_valarray.h std_vector.h -.for h in ${STDHDRS} -STDHDRSNAME_$h=${h:R:S;^std_;;} -.endfor -STDHDRS:= ${STDHDRS:S;^;${SRCDIR}/include/std/;} -STDHDRSDIR= ${CXXINCLUDEDIR} - -BITSHDRS= allocator.h basic_ios.h basic_ios.tcc basic_string.h \ - basic_string.tcc boost_concept_check.h char_traits.h codecvt.h \ - concept_check.h cpp_type_traits.h deque.tcc fstream.tcc \ - functexcept.h gslice.h gslice_array.h indirect_array.h \ - ios_base.h istream.tcc list.tcc locale_classes.h \ - locale_facets.h locale_facets.tcc localefwd.h mask_array.h \ - ostream.tcc ostream_insert.h postypes.h stream_iterator.h \ - streambuf_iterator.h slice_array.h sstream.tcc stl_algo.h \ - stl_algobase.h stl_bvector.h stl_construct.h stl_deque.h \ - stl_function.h stl_heap.h stl_iterator.h \ - stl_iterator_base_funcs.h stl_iterator_base_types.h stl_list.h \ - stl_map.h stl_multimap.h stl_multiset.h stl_numeric.h \ - stl_pair.h stl_queue.h stl_raw_storage_iter.h stl_relops.h \ - stl_set.h stl_stack.h stl_tempbuf.h stl_tree.h \ - stl_uninitialized.h stl_vector.h streambuf.tcc stringfwd.h \ - valarray_array.h valarray_array.tcc valarray_before.h \ - valarray_after.h vector.tcc -BITSHDRS:= ${BITSHDRS:S;^;${SRCDIR}/include/bits/;} -BITSHDRSDIR= ${CXXINCLUDEDIR}/bits - -BKWHDRS= complex.h iomanip.h istream.h ostream.h stream.h streambuf.h \ - algo.h algobase.h alloc.h bvector.h defalloc.h deque.h \ - function.h hash_map.h hash_set.h hashtable.h heap.h iostream.h \ - iterator.h list.h map.h multimap.h new.h multiset.h pair.h \ - queue.h rope.h set.h slist.h stack.h tempbuf.h tree.h \ - vector.h fstream.h strstream backward_warning.h -BKWHDRS:= ${BKWHDRS:S;^;${SRCDIR}/include/backward/;} -BKWHDRSDIR= ${CXXINCLUDEDIR}/backward - -EXTHDRS= algorithm atomicity.h array_allocator.h bitmap_allocator.h \ - codecvt_specializations.h concurrence.h debug_allocator.h \ - stdio_filebuf.h stdio_sync_filebuf.h functional \ - hash_map hash_set hash_fun.h hashtable.h iterator \ - malloc_allocator.h memory mt_allocator.h new_allocator.h \ - numeric numeric_traits.h pod_char_traits.h pool_allocator.h \ - rb_tree rope ropeimpl.h slist throw_allocator.h typelist.h \ - type_traits.h rc_string_base.h sso_string_base.h vstring.h \ - vstring.tcc vstring_fwd.h vstring_util.h - -EXTHDRS:= ${EXTHDRS:S;^;${SRCDIR}/include/ext/;} -EXTHDRSDIR= ${CXXINCLUDEDIR}/ext - -TR1HDRS= array bind_repeat.h bind_iterate.h boost_shared_ptr.h cctype \ - cfenv cfloat cinttypes climits cmath common.h complex cstdarg \ - cstdbool cstdint cstdio cstdlib ctgmath ctime ctype.h cwchar \ - cwctype fenv.h float.h functional functional_hash.h \ - functional_iterate.h hashtable hashtable_policy.h inttypes.h \ - limits.h math.h memory mu_iterate.h random random.tcc \ - ref_fwd.h ref_wrap_iterate.h repeat.h stdarg.h stdbool.h \ - stdint.h stdio.h stdlib.h tgmath.h tuple tuple_defs.h \ - tuple_iterate.h type_traits type_traits_fwd.h unordered_set \ - unordered_map utility wchar.h wctype.h - -TR1HDRS:= ${TR1HDRS:S;^;${SRCDIR}/include/tr1/;} -TR1HDRSDIR= ${CXXINCLUDEDIR}/tr1 - -# This is the common subset of files that all three "C" header models use. -BASEHDRS= std_cassert.h std_cctype.h std_cerrno.h std_cfloat.h \ - std_ciso646.h std_climits.h std_clocale.h std_cmath.h \ - std_csetjmp.h std_csignal.h std_cstdarg.h std_cstddef.h \ - std_cstdio.h std_cstdlib.h std_cstring.h std_ctime.h \ - std_cwchar.h std_cwctype.h -.for h in ${BASEHDRS} -BASEHDRSNAME_$h=${h:R:S;^std_;;} -.endfor -BASEHDRS:= ${BASEHDRS:S;^;${SRCDIR}/include/c_std/;} -BASEHDRSDIR= ${CXXINCLUDEDIR} - -# Some of the different "C" header models need extra files. -BASEXHDRS= ${SRCDIR}/include/c_std/cmath.tcc -BASEXHDRSDIR= ${CXXINCLUDEDIR}/bits - -DEBUGHDRS= bitset debug.h deque formatter.h functions.h hash_map \ - hash_map.h hash_multimap.h hash_multiset.h hash_set hash_set.h \ - list macros.h map map.h multimap.h multiset.h safe_base.h \ - safe_iterator.h safe_iterator.tcc safe_sequence.h set set.h \ - string vector -DEBUGHDRS:= ${DEBUGHDRS:S;^;${SRCDIR}/include/debug/;} -DEBUGHDRSDIR= ${CXXINCLUDEDIR}/debug - -# Not installed, but kept here for completeness -COMPATHDRS= assert.h ctype.h errno.h float.h iso646.h limits.h locale.h \ - math.h setjmp.h signal.h stdarg.h stddef.h stdio.h stdlib.h \ - string.h time.h wchar.h wctype.h -COMPATHDRS:= ${COMPATHDRS:S;^;${SRCDIR}/include/debug/;} -COMPATHDRSDIR= ${CXXINCLUDEDIR}/c_compatibility - -PBHDRS0 = \ - assoc_container.hpp \ - exception.hpp \ - hash_policy.hpp \ - list_update_policy.hpp \ - priority_queue.hpp \ - tag_and_trait.hpp \ - tree_policy.hpp \ - trie_policy.hpp -PBHDRS0:= ${PBHDRS0:S;^;${SRCDIR}/include/ext/pb_ds/;} -PBHDRS0DIR= ${CXXINCLUDEDIR}/ext/pb_ds - -PBHDRS1 = \ - basic_types.hpp \ - cond_dealtor.hpp \ - constructors_destructor_fn_imps.hpp \ - container_base_dispatch.hpp \ - map_debug_base.hpp \ - priority_queue_base_dispatch.hpp \ - standard_policies.hpp \ - tree_trace_base.hpp \ - type_utils.hpp \ - types_traits.hpp -PBHDRS1:= ${PBHDRS1:S;^;${SRCDIR}/include/ext/pb_ds/detail/;} -PBHDRS1DIR= ${CXXINCLUDEDIR}/ext/pb_ds/detail - -PBHDRS+= \ - basic_tree_policy/basic_tree_policy_base.hpp \ - basic_tree_policy/null_node_metadata.hpp \ - basic_tree_policy/traits.hpp \ - basic_types.hpp \ - binary_heap_/binary_heap_.hpp \ - binary_heap_/const_iterator.hpp \ - binary_heap_/const_point_iterator.hpp \ - binary_heap_/constructors_destructor_fn_imps.hpp \ - binary_heap_/debug_fn_imps.hpp \ - binary_heap_/entry_cmp.hpp \ - binary_heap_/entry_pred.hpp \ - binary_heap_/erase_fn_imps.hpp \ - binary_heap_/find_fn_imps.hpp \ - binary_heap_/info_fn_imps.hpp \ - binary_heap_/insert_fn_imps.hpp \ - binary_heap_/iterators_fn_imps.hpp \ - binary_heap_/policy_access_fn_imps.hpp \ - binary_heap_/resize_policy.hpp \ - binary_heap_/split_join_fn_imps.hpp \ - binary_heap_/trace_fn_imps.hpp \ - binomial_heap_base_/binomial_heap_base_.hpp \ - binomial_heap_base_/constructors_destructor_fn_imps.hpp \ - binomial_heap_base_/debug_fn_imps.hpp \ - binomial_heap_base_/erase_fn_imps.hpp \ - binomial_heap_base_/find_fn_imps.hpp \ - binomial_heap_base_/insert_fn_imps.hpp \ - binomial_heap_base_/split_join_fn_imps.hpp \ - binomial_heap_/binomial_heap_.hpp \ - binomial_heap_/constructors_destructor_fn_imps.hpp \ - binomial_heap_/debug_fn_imps.hpp \ - bin_search_tree_/bin_search_tree_.hpp \ - bin_search_tree_/cond_dtor_entry_dealtor.hpp \ - bin_search_tree_/cond_key_dtor_entry_dealtor.hpp - -PBHDRS+= \ - bin_search_tree_/constructors_destructor_fn_imps.hpp \ - bin_search_tree_/debug_fn_imps.hpp \ - bin_search_tree_/erase_fn_imps.hpp \ - bin_search_tree_/find_fn_imps.hpp \ - bin_search_tree_/info_fn_imps.hpp \ - bin_search_tree_/insert_fn_imps.hpp \ - bin_search_tree_/iterators_fn_imps.hpp \ - bin_search_tree_/node_iterators.hpp \ - bin_search_tree_/point_iterators.hpp \ - bin_search_tree_/policy_access_fn_imps.hpp \ - bin_search_tree_/r_erase_fn_imps.hpp \ - bin_search_tree_/rotate_fn_imps.hpp \ - bin_search_tree_/split_join_fn_imps.hpp \ - bin_search_tree_/traits.hpp \ - cc_hash_table_map_/cc_ht_map_.hpp \ - cc_hash_table_map_/cmp_fn_imps.hpp \ - cc_hash_table_map_/cond_key_dtor_entry_dealtor.hpp \ - cc_hash_table_map_/constructor_destructor_fn_imps.hpp \ - cc_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp \ - cc_hash_table_map_/constructor_destructor_store_hash_fn_imps.hpp \ - cc_hash_table_map_/debug_fn_imps.hpp \ - cc_hash_table_map_/debug_no_store_hash_fn_imps.hpp \ - cc_hash_table_map_/debug_store_hash_fn_imps.hpp \ - cc_hash_table_map_/entry_list_fn_imps.hpp \ - cc_hash_table_map_/erase_fn_imps.hpp \ - cc_hash_table_map_/erase_no_store_hash_fn_imps.hpp \ - cc_hash_table_map_/erase_store_hash_fn_imps.hpp \ - cc_hash_table_map_/find_fn_imps.hpp \ - cc_hash_table_map_/find_store_hash_fn_imps.hpp \ - cc_hash_table_map_/info_fn_imps.hpp \ - cc_hash_table_map_/insert_fn_imps.hpp \ - cc_hash_table_map_/insert_no_store_hash_fn_imps.hpp \ - cc_hash_table_map_/insert_store_hash_fn_imps.hpp \ - cc_hash_table_map_/iterators_fn_imps.hpp \ - cc_hash_table_map_/policy_access_fn_imps.hpp \ - cc_hash_table_map_/resize_fn_imps.hpp \ - cc_hash_table_map_/resize_no_store_hash_fn_imps.hpp \ - cc_hash_table_map_/resize_store_hash_fn_imps.hpp \ - cc_hash_table_map_/size_fn_imps.hpp \ - cc_hash_table_map_/standard_policies.hpp - -PBHDRS+= \ - cc_hash_table_map_/trace_fn_imps.hpp \ - cond_dealtor.hpp \ - constructors_destructor_fn_imps.hpp \ - container_base_dispatch.hpp \ - eq_fn/eq_by_less.hpp \ - eq_fn/hash_eq_fn.hpp \ - gp_hash_table_map_/constructor_destructor_fn_imps.hpp \ - gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp \ - gp_hash_table_map_/constructor_destructor_store_hash_fn_imps.hpp \ - gp_hash_table_map_/debug_fn_imps.hpp \ - gp_hash_table_map_/debug_no_store_hash_fn_imps.hpp \ - gp_hash_table_map_/debug_store_hash_fn_imps.hpp \ - gp_hash_table_map_/erase_fn_imps.hpp \ - gp_hash_table_map_/erase_no_store_hash_fn_imps.hpp \ - gp_hash_table_map_/erase_store_hash_fn_imps.hpp \ - gp_hash_table_map_/find_fn_imps.hpp \ - gp_hash_table_map_/find_no_store_hash_fn_imps.hpp \ - gp_hash_table_map_/find_store_hash_fn_imps.hpp \ - gp_hash_table_map_/gp_ht_map_.hpp \ - gp_hash_table_map_/info_fn_imps.hpp \ - gp_hash_table_map_/insert_fn_imps.hpp \ - gp_hash_table_map_/insert_no_store_hash_fn_imps.hpp \ - gp_hash_table_map_/insert_store_hash_fn_imps.hpp \ - gp_hash_table_map_/iterator_fn_imps.hpp \ - gp_hash_table_map_/policy_access_fn_imps.hpp \ - gp_hash_table_map_/resize_fn_imps.hpp \ - gp_hash_table_map_/resize_no_store_hash_fn_imps.hpp \ - gp_hash_table_map_/resize_store_hash_fn_imps.hpp \ - gp_hash_table_map_/standard_policies.hpp \ - gp_hash_table_map_/trace_fn_imps.hpp \ - hash_fn/direct_mask_range_hashing_imp.hpp \ - hash_fn/direct_mod_range_hashing_imp.hpp \ - hash_fn/linear_probe_fn_imp.hpp \ - hash_fn/mask_based_range_hashing.hpp \ - hash_fn/mod_based_range_hashing.hpp \ - hash_fn/probe_fn_base.hpp \ - hash_fn/quadratic_probe_fn_imp.hpp \ - hash_fn/ranged_hash_fn.hpp \ - hash_fn/ranged_probe_fn.hpp - -PBHDRS+= \ - hash_fn/sample_probe_fn.hpp \ - hash_fn/sample_ranged_hash_fn.hpp \ - hash_fn/sample_ranged_probe_fn.hpp \ - hash_fn/sample_range_hashing.hpp \ - left_child_next_sibling_heap_/const_iterator.hpp \ - left_child_next_sibling_heap_/const_point_iterator.hpp \ - left_child_next_sibling_heap_/constructors_destructor_fn_imps.hpp \ - left_child_next_sibling_heap_/debug_fn_imps.hpp \ - left_child_next_sibling_heap_/erase_fn_imps.hpp \ - left_child_next_sibling_heap_/info_fn_imps.hpp \ - left_child_next_sibling_heap_/insert_fn_imps.hpp \ - left_child_next_sibling_heap_/iterators_fn_imps.hpp \ - left_child_next_sibling_heap_/left_child_next_sibling_heap_.hpp \ - left_child_next_sibling_heap_/node.hpp \ - left_child_next_sibling_heap_/null_metadata.hpp \ - left_child_next_sibling_heap_/policy_access_fn_imps.hpp \ - left_child_next_sibling_heap_/trace_fn_imps.hpp \ - list_update_map_/constructor_destructor_fn_imps.hpp \ - list_update_map_/debug_fn_imps.hpp \ - list_update_map_/entry_metadata_base.hpp \ - list_update_map_/erase_fn_imps.hpp \ - list_update_map_/find_fn_imps.hpp \ - list_update_map_/info_fn_imps.hpp \ - list_update_map_/insert_fn_imps.hpp \ - list_update_map_/iterators_fn_imps.hpp \ - list_update_map_/lu_map_.hpp \ - list_update_map_/trace_fn_imps.hpp \ - list_update_policy/counter_lu_metadata.hpp \ - list_update_policy/counter_lu_policy_imp.hpp \ - list_update_policy/mtf_lu_policy_imp.hpp \ - list_update_policy/sample_update_policy.hpp \ - map_debug_base.hpp \ - ov_tree_map_/cond_dtor.hpp \ - ov_tree_map_/constructors_destructor_fn_imps.hpp \ - ov_tree_map_/debug_fn_imps.hpp \ - ov_tree_map_/erase_fn_imps.hpp \ - ov_tree_map_/info_fn_imps.hpp \ - ov_tree_map_/insert_fn_imps.hpp \ - ov_tree_map_/iterators_fn_imps.hpp \ - ov_tree_map_/node_iterators.hpp \ - ov_tree_map_/ov_tree_map_.hpp - -PBHDRS+= \ - ov_tree_map_/policy_access_fn_imps.hpp \ - ov_tree_map_/split_join_fn_imps.hpp \ - ov_tree_map_/traits.hpp \ - pairing_heap_/constructors_destructor_fn_imps.hpp \ - pairing_heap_/debug_fn_imps.hpp \ - pairing_heap_/erase_fn_imps.hpp \ - pairing_heap_/find_fn_imps.hpp \ - pairing_heap_/insert_fn_imps.hpp \ - pairing_heap_/pairing_heap_.hpp \ - pairing_heap_/split_join_fn_imps.hpp \ - pat_trie_/child_iterator.hpp \ - pat_trie_/cond_dtor_entry_dealtor.hpp \ - pat_trie_/const_child_iterator.hpp \ - pat_trie_/constructors_destructor_fn_imps.hpp \ - pat_trie_/debug_fn_imps.hpp \ - pat_trie_/erase_fn_imps.hpp \ - pat_trie_/find_fn_imps.hpp \ - pat_trie_/head.hpp \ - pat_trie_/info_fn_imps.hpp \ - pat_trie_/insert_join_fn_imps.hpp \ - pat_trie_/internal_node.hpp \ - pat_trie_/iterators_fn_imps.hpp \ - pat_trie_/leaf.hpp \ - pat_trie_/node_base.hpp \ - pat_trie_/node_iterators.hpp \ - pat_trie_/node_metadata_base.hpp \ - pat_trie_/pat_trie_.hpp \ - pat_trie_/point_iterators.hpp \ - pat_trie_/policy_access_fn_imps.hpp \ - pat_trie_/r_erase_fn_imps.hpp \ - pat_trie_/rotate_fn_imps.hpp \ - pat_trie_/split_fn_imps.hpp \ - pat_trie_/split_join_branch_bag.hpp \ - pat_trie_/synth_e_access_traits.hpp \ - pat_trie_/trace_fn_imps.hpp \ - pat_trie_/traits.hpp \ - pat_trie_/update_fn_imps.hpp \ - priority_queue_base_dispatch.hpp \ - rb_tree_map_/constructors_destructor_fn_imps.hpp \ - rb_tree_map_/debug_fn_imps.hpp - -PBHDRS+= \ - rb_tree_map_/erase_fn_imps.hpp \ - rb_tree_map_/find_fn_imps.hpp \ - rb_tree_map_/info_fn_imps.hpp \ - rb_tree_map_/insert_fn_imps.hpp \ - rb_tree_map_/node.hpp \ - rb_tree_map_/rb_tree_.hpp \ - rb_tree_map_/split_join_fn_imps.hpp \ - rb_tree_map_/traits.hpp \ - rc_binomial_heap_/constructors_destructor_fn_imps.hpp \ - rc_binomial_heap_/debug_fn_imps.hpp \ - rc_binomial_heap_/erase_fn_imps.hpp \ - rc_binomial_heap_/insert_fn_imps.hpp \ - rc_binomial_heap_/rc_binomial_heap_.hpp \ - rc_binomial_heap_/rc.hpp \ - rc_binomial_heap_/split_join_fn_imps.hpp \ - rc_binomial_heap_/trace_fn_imps.hpp \ - resize_policy/cc_hash_max_collision_check_resize_trigger_imp.hpp \ - resize_policy/hash_exponential_size_policy_imp.hpp \ - resize_policy/hash_load_check_resize_trigger_imp.hpp \ - resize_policy/hash_load_check_resize_trigger_size_base.hpp \ - resize_policy/hash_prime_size_policy_imp.hpp \ - resize_policy/hash_standard_resize_policy_imp.hpp \ - resize_policy/sample_resize_policy.hpp \ - resize_policy/sample_resize_trigger.hpp \ - resize_policy/sample_size_policy.hpp \ - splay_tree_/constructors_destructor_fn_imps.hpp \ - splay_tree_/debug_fn_imps.hpp \ - splay_tree_/erase_fn_imps.hpp \ - splay_tree_/find_fn_imps.hpp \ - splay_tree_/info_fn_imps.hpp \ - splay_tree_/insert_fn_imps.hpp \ - splay_tree_/node.hpp \ - splay_tree_/splay_fn_imps.hpp \ - splay_tree_/splay_tree_.hpp \ - splay_tree_/split_join_fn_imps.hpp \ - splay_tree_/traits.hpp \ - standard_policies.hpp \ - thin_heap_/constructors_destructor_fn_imps.hpp \ - thin_heap_/debug_fn_imps.hpp \ - thin_heap_/erase_fn_imps.hpp - -PBHDRS+= \ - thin_heap_/find_fn_imps.hpp \ - thin_heap_/insert_fn_imps.hpp \ - thin_heap_/split_join_fn_imps.hpp \ - thin_heap_/thin_heap_.hpp \ - thin_heap_/trace_fn_imps.hpp \ - tree_policy/node_metadata_selector.hpp \ - tree_policy/null_node_update_imp.hpp \ - tree_policy/order_statistics_imp.hpp \ - tree_policy/sample_tree_node_update.hpp \ - tree_trace_base.hpp \ - trie_policy/node_metadata_selector.hpp \ - trie_policy/null_node_update_imp.hpp \ - trie_policy/order_statistics_imp.hpp \ - trie_policy/prefix_search_node_update_imp.hpp \ - trie_policy/sample_trie_e_access_traits.hpp \ - trie_policy/sample_trie_node_update.hpp \ - trie_policy/string_trie_e_access_traits_imp.hpp \ - trie_policy/trie_policy_base.hpp \ - types_traits.hpp \ - type_utils.hpp \ - unordered_iterator/const_iterator.hpp \ - unordered_iterator/const_point_iterator.hpp \ - unordered_iterator/iterator.hpp \ - unordered_iterator/point_iterator.hpp - -PBHDRSDIRS= \ - pairing_heap_ \ - splay_tree_ \ - list_update_map_ \ - basic_tree_policy \ - trie_policy \ - gp_hash_table_map_ \ - tree_policy \ - binomial_heap_base_ \ - resize_policy \ - bin_search_tree_ \ - binomial_heap_ \ - thin_heap_ \ - pat_trie_ \ - cc_hash_table_map_ \ - rc_binomial_heap_ \ - left_child_next_sibling_heap_ \ - unordered_iterator \ - binary_heap_ \ - ov_tree_map_ \ - hash_fn \ - eq_fn \ - rb_tree_map_ \ - list_update_policy - -.for D in ${PBHDRSDIRS} -PHDRGRP$D:= ${PBHDRS:M$D/*:S;^;${SRCDIR}/include/ext/pb_ds/detail/;} -PHDRGRP$DDIR= ${CXXINCLUDEDIR}/ext/pb_ds/detail/$D -INCSGROUPS+= PHDRGRP$D -.endfor - -TARGETHDRS= abi/compatibility.h \ - allocator/new_allocator_base.h \ - io/basic_file_stdio.h \ - io/c_io_stdio.h \ - locale/generic/c_locale.h \ - locale/generic/c++locale_internal.h \ - locale/generic/messages_members.h \ - locale/generic/time_members.h \ - os/bsd/freebsd/ctype_base.h \ - os/bsd/freebsd/ctype_inline.h \ - os/bsd/freebsd/ctype_noninline.h \ - os/bsd/freebsd/os_defines.h -TARGETHDRS:= ${TARGETHDRS:S;^;${SRCDIR}/config/;} -TARGETHDRS+= c++config.h -TARGETHDRSNAME_basic_file_stdio.h= basic_file.h -TARGETHDRSNAME_c_io_stdio.h= c++io.h -TARGETHDRSNAME_c_locale.h= c++locale.h -TARGETHDRSNAME_new_allocator_base.h= c++allocator.h -TARGETHDRSDIR= ${CXXINCLUDEDIR}/bits - -MARCHHDRS= atomic_word.h cpu_defines.h cxxabi_tweaks.h -.for h in ${MARCHHDRS} -.if exists(${SRCDIR}/config/cpu/${MARCHDIR}/${h}) -TARGETHDRS+= ${SRCDIR}/config/cpu/${MARCHDIR}/${h} -.else -TARGETHDRS+= ${SRCDIR}/config/cpu/generic/${h} -.endif -.endfor - -THRHDRS= gthr.h gthr-single.h gthr-posix.h gthr-tpf.h gthr-default.h -THRHDRSDIR= ${CXXINCLUDEDIR}/bits -uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_] - -gthr.h: ${GCCDIR}/gthr.h - sed -e '/^#pragma/b' \ - -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \ - -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \ - -e 's,^#include "\(.*\)",#include ,g' \ - < ${.ALLSRC} > ${.TARGET} - -gthr-single.h: ${GCCDIR}/gthr-single.h - sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ - -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \ - < ${.ALLSRC} > ${.TARGET} - -gthr-posix.h: ${GCCDIR}/gthr-posix.h - sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ - -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \ - -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \ - -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \ - < ${.ALLSRC} > ${.TARGET} - -gthr-tpf.h: ${GCCDIR}/gthr-posix.h - sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ - -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \ - -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \ - -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \ - < ${.ALLSRC} > ${.TARGET} - -gthr-default.h: ${GCCDIR}/gthr-posix.h - sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ - -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \ - -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \ - -e 's/\(${uppercase}*USE_WEAK\)/_GLIBCXX_\1/g' \ - -e 's,^#include "\(.*\)",#include ,g' \ - < ${.ALLSRC} > ${.TARGET} - -CLEANFILES+= ${THRHDRS} - -.if ${MACHINE_CPUARCH} == "arm" -unwind.h: ${GCCDIR}/config/arm/unwind-arm.h -.else -unwind.h: ${GCCDIR}/unwind-generic.h -.endif - -unwind.h: .NOMETA - ln -sf ${.ALLSRC} ${.TARGET} - -SRCS+= unwind.h -CLEANFILES+= unwind.h - -DATESTAMP!= cat ${GCCDIR}/DATESTAMP - -c++config.h: ${.CURDIR}/config.h ${SRCDIR}/include/bits/c++config - sed -e "s/\\(define __GLIBCXX__\\)/\1 ${DATESTAMP}/" \ - -e 's/\(define _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY\)/\1 1/' \ - -e 's/\(define _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION\)/\1 0/' \ - < ${SRCDIR}/include/bits/c++config > ${.TARGET} && \ - sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \ - -e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \ - -e 's/VERSION/_GLIBCXX_VERSION/g' \ - -e 's/WORDS_/_GLIBCXX_WORDS_/g' \ - < ${.CURDIR}/config.h >> ${.TARGET} && \ - echo "#endif // _CXXCONFIG_" >> ${.TARGET} -CLEANFILES+= c++config.h - -# Symbol versioning. - -VERSION_MAP= libstdc++.map - -${VERSION_MAP}: ${SRCDIR}/config/abi/pre/gnu.ver .NOMETA - ln -sf ${.ALLSRC} ${.TARGET} - -CLEANFILES+= ${VERSION_MAP} - -CXXFLAGS.clang+= -stdlib=libstdc++ - -.include - -# Filter out libc++-specific flags, and -std= flags above c++98 or gnu++98. -CXXFLAGS:= ${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]} diff --git a/gnu/lib/libstdc++/Makefile.depend b/gnu/lib/libstdc++/Makefile.depend deleted file mode 100644 index 5f1a802404d8..000000000000 --- a/gnu/lib/libstdc++/Makefile.depend +++ /dev/null @@ -1,17 +0,0 @@ -# $FreeBSD$ -# Autogenerated - do NOT edit! - -DIRDEPS = \ - include \ - include/xlocale \ - lib/${CSU_DIR} \ - lib/libc \ - lib/libcompiler_rt \ - lib/msun \ - - -.include - -.if ${DEP_RELDIR} == ${_DEP_RELDIR} -# local dependencies - needed for -jN in clean tree -.endif diff --git a/gnu/lib/libstdc++/config.h b/gnu/lib/libstdc++/config.h deleted file mode 100644 index 26b363098201..000000000000 --- a/gnu/lib/libstdc++/config.h +++ /dev/null @@ -1,1109 +0,0 @@ -/* $FreeBSD$ */ -#ifndef __ISO_C_VISIBLE -#include -#endif - -/* config.h. Generated by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define to 1 if you have the `acosf' function. */ -#define HAVE_ACOSF 1 - -/* Define to 1 if you have the `acosl' function. */ -/* #undef HAVE_ACOSL */ - -/* Define to 1 if you have the `asinf' function. */ -#define HAVE_ASINF 1 - -/* Define to 1 if you have the `asinl' function. */ -/* #undef HAVE_ASINL */ - -/* Define to 1 if you have the `atan2f' function. */ -#define HAVE_ATAN2F 1 - -/* Define to 1 if you have the `atan2l' function. */ -#define HAVE_ATAN2L 1 - -/* Define to 1 if you have the `atanf' function. */ -#define HAVE_ATANF 1 - -/* Define to 1 if you have the `atanl' function. */ -#define HAVE_ATANL 1 - -/* Define to 1 if you have the `ceilf' function. */ -#define HAVE_CEILF 1 - -/* Define to 1 if you have the `ceill' function. */ -#define HAVE_CEILL 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_COMPLEX_H 1 - -/* Define to 1 if you have the `copysign' function. */ -#define HAVE_COPYSIGN 1 - -/* Define to 1 if you have the `copysignf' function. */ -#define HAVE_COPYSIGNF 1 - -/* Define to 1 if you have the `copysignl' function. */ -#define HAVE_COPYSIGNL 1 - -/* Define to 1 if you have the `cosf' function. */ -#define HAVE_COSF 1 - -/* Define to 1 if you have the `coshf' function. */ -#define HAVE_COSHF 1 - -/* Define to 1 if you have the `coshl' function. */ -#define HAVE_COSHL 1 - -/* Define to 1 if you have the `cosl' function. */ -#define HAVE_COSL 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_ENDIAN_H */ - -/* Define to 1 if you have the `expf' function. */ -#define HAVE_EXPF 1 - -/* Define to 1 if you have the `expl' function. */ -#define HAVE_EXPL 1 - -/* Define to 1 if you have the `fabsf' function. */ -#define HAVE_FABSF 1 - -/* Define to 1 if you have the `fabsl' function. */ -#define HAVE_FABSL 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_FENV_H 1 - -/* Define to 1 if you have the `finite' function. */ -#define HAVE_FINITE 1 - -/* Define to 1 if you have the `finitef' function. */ -#define HAVE_FINITEF 1 - -/* Define to 1 if you have the `finitel' function. */ -/* #undef HAVE_FINITEL */ - -/* Define to 1 if you have the header file. */ -#define HAVE_FLOAT_H 1 - -/* Define to 1 if you have the `floorf' function. */ -#define HAVE_FLOORF 1 - -/* Define to 1 if you have the `floorl' function. */ -#define HAVE_FLOORL 1 - -/* Define to 1 if you have the `fmodf' function. */ -#define HAVE_FMODF 1 - -/* Define to 1 if you have the `fmodl' function. */ -#define HAVE_FMODL 1 - -/* Define to 1 if you have the `fpclass' function. */ -/* #undef HAVE_FPCLASS */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_FP_H */ - -/* Define to 1 if you have the `frexpf' function. */ -#define HAVE_FREXPF 1 - -/* Define to 1 if you have the `frexpl' function. */ -#define HAVE_FREXPL 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_GCONV_H */ - -/* Define if _Unwind_GetIPInfo is available. */ -#define HAVE_GETIPINFO 1 - -/* Define to 1 if you have the `getpagesize' function. */ -#define HAVE_GETPAGESIZE 1 - -/* Define if gthr-default.h exists (meaning that threading support is - enabled). */ -#define HAVE_GTHR_DEFAULT 1 - -/* Define to 1 if you have the `hypot' function. */ -#define HAVE_HYPOT 1 - -/* Define to 1 if you have the `hypotf' function. */ -#define HAVE_HYPOTF 1 - -/* Define to 1 if you have the `hypotl' function. */ -#define HAVE_HYPOTL 1 - -/* Define to 1 if you have the `iconv' function. */ -#define HAVE_ICONV 1 - -/* Define to 1 if you have the `iconv_close' function. */ -#define HAVE_ICONV_CLOSE 1 - -/* Define to 1 if you have the `iconv_open' function. */ -#define HAVE_ICONV_OPEN 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_IEEEFP_H 1 - -/* Define if int64_t is available in . */ -#define HAVE_INT64_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the `isinf' function. */ -#define HAVE_ISINF 1 - -/* Define to 1 if you have the `isinff' function. */ -/* #undef HAVE_ISINFF */ - -/* Define to 1 if you have the `isinfl' function. */ -/* #undef HAVE_ISINFL */ - -/* Define to 1 if you have the `isnan' function. */ -#define HAVE_ISNAN 1 - -/* Define to 1 if you have the `isnanf' function. */ -#define HAVE_ISNANF 1 - -/* Define to 1 if you have the `isnanl' function. */ -/* #undef HAVE_ISNANL */ - -/* Defined if iswblank exists. */ -#define HAVE_ISWBLANK 1 - -/* Define if LC_MESSAGES is available in . */ -#define HAVE_LC_MESSAGES 1 - -/* Define to 1 if you have the `ldexpf' function. */ -#define HAVE_LDEXPF 1 - -/* Define to 1 if you have the `ldexpl' function. */ -#define HAVE_LDEXPL 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_LIBINTL_H */ - -/* Define to 1 if you have the `m' library (-lm). */ -#define HAVE_LIBM 1 - -/* Only used in build directory testsuite_hooks.h. */ -#define HAVE_LIMIT_AS 1 - -/* Only used in build directory testsuite_hooks.h. */ -#define HAVE_LIMIT_DATA 1 - -/* Only used in build directory testsuite_hooks.h. */ -#define HAVE_LIMIT_FSIZE 1 - -/* Only used in build directory testsuite_hooks.h. */ -#define HAVE_LIMIT_RSS 1 - -/* Only used in build directory testsuite_hooks.h. */ -#define HAVE_LIMIT_VMEM 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_LOCALE_H 1 - -/* Define to 1 if you have the `log10f' function. */ -#define HAVE_LOG10F 1 - -/* Define to 1 if you have the `log10l' function. */ -#define HAVE_LOG10L 1 - -/* Define to 1 if you have the `logf' function. */ -#define HAVE_LOGF 1 - -/* Define to 1 if you have the `logl' function. */ -#define HAVE_LOGL 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_MACHINE_ENDIAN_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_MACHINE_PARAM_H 1 - -/* Define if mbstate_t exists in wchar.h. */ -#define HAVE_MBSTATE_T 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -/* Define to 1 if you have the `modf' function. */ -#define HAVE_MODF 1 - -/* Define to 1 if you have the `modff' function. */ -#define HAVE_MODFF 1 - -/* Define to 1 if you have the `modfl' function. */ -#define HAVE_MODFL 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_NAN_H */ - -/* Define to 1 if you have the `nl_langinfo' function. */ -#define HAVE_NL_LANGINFO 1 - -/* Define if poll is available in . */ -#define HAVE_POLL 1 - -/* Define to 1 if you have the `powf' function. */ -#define HAVE_POWF 1 - -/* Define to 1 if you have the `powl' function. */ -#define HAVE_POWL 1 - -/* Define to 1 if you have the `qfpclass' function. */ -/* #undef HAVE_QFPCLASS */ - -/* Define to 1 if you have the `setenv' function. */ -#define HAVE_SETENV 1 - -/* Define if sigsetjmp is available. */ -#define HAVE_SIGSETJMP 1 - -/* Define to 1 if you have the `sincos' function. */ -#define HAVE_SINCOS 1 - -/* Define to 1 if you have the `sincosf' function. */ -#define HAVE_SINCOSF 1 - -/* Define to 1 if you have the `sincosl' function. */ -#define HAVE_SINCOSL 1 - -/* Define to 1 if you have the `sinf' function. */ -#define HAVE_SINF 1 - -/* Define to 1 if you have the `sinhf' function. */ -#define HAVE_SINHF 1 - -/* Define to 1 if you have the `sinhl' function. */ -#define HAVE_SINHL 1 - -/* Define to 1 if you have the `sinl' function. */ -#define HAVE_SINL 1 - -/* Define to 1 if you have the `sqrtf' function. */ -#define HAVE_SQRTF 1 - -/* Define to 1 if you have the `sqrtl' function. */ -#define HAVE_SQRTL 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDBOOL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if strerror_l is available in . */ -/* #undef HAVE_STRERROR_L */ - -/* Define if strerror_r is available in . */ -#define HAVE_STRERROR_R 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the `strtof' function. */ -#define HAVE_STRTOF 1 - -/* Define to 1 if you have the `strtold' function. */ -#define HAVE_STRTOLD 1 - -/* Define if strxfrm_l is available in . */ -#define HAVE_STRXFRM_L 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_FILIO_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_IOCTL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_IPC_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_ISA_DEFS_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_MACHINE_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_PARAM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_RESOURCE_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_SEM_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TIME_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_UIO_H 1 - -/* Define if S_IFREG is available in . */ -#define HAVE_S_ISREG 1 - -/* Define to 1 if you have the `tanf' function. */ -#define HAVE_TANF 1 - -/* Define to 1 if you have the `tanhf' function. */ -#define HAVE_TANHF 1 - -/* Define to 1 if you have the `tanhl' function. */ -#define HAVE_TANHL 1 - -/* Define to 1 if you have the `tanl' function. */ -#define HAVE_TANL 1 - -/* Define to 1 if the target supports thread-local storage. */ -#if !defined(__mips__) -#define HAVE_TLS 1 -#endif - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -#if __ISO_C_VISIBLE >= 1999 -/* Defined if vfwscanf exists. */ -#define HAVE_VFWSCANF 1 - -/* Defined if vswscanf exists. */ -#define HAVE_VSWSCANF 1 - -/* Defined if vwscanf exists. */ -#define HAVE_VWSCANF 1 -#endif /* __ISO_C_VISIBLE >= 1999 */ - -/* Define to 1 if you have the header file. */ -#define HAVE_WCHAR_H 1 - -#if __ISO_C_VISIBLE >= 1999 -/* Defined if wcstof exists. */ -#define HAVE_WCSTOF 1 -#endif /* __ISO_C_VISIBLE >= 1999 */ - -/* Define to 1 if you have the header file. */ -#define HAVE_WCTYPE_H 1 - -/* Define if writev is available in . */ -#define HAVE_WRITEV 1 - -/* Define to 1 if you have the `_acosf' function. */ -/* #undef HAVE__ACOSF */ - -/* Define to 1 if you have the `_acosl' function. */ -/* #undef HAVE__ACOSL */ - -/* Define to 1 if you have the `_asinf' function. */ -/* #undef HAVE__ASINF */ - -/* Define to 1 if you have the `_asinl' function. */ -/* #undef HAVE__ASINL */ - -/* Define to 1 if you have the `_atan2f' function. */ -/* #undef HAVE__ATAN2F */ - -/* Define to 1 if you have the `_atan2l' function. */ -/* #undef HAVE__ATAN2L */ - -/* Define to 1 if you have the `_atanf' function. */ -/* #undef HAVE__ATANF */ - -/* Define to 1 if you have the `_atanl' function. */ -/* #undef HAVE__ATANL */ - -/* Define to 1 if you have the `_ceilf' function. */ -/* #undef HAVE__CEILF */ - -/* Define to 1 if you have the `_ceill' function. */ -/* #undef HAVE__CEILL */ - -/* Define to 1 if you have the `_copysign' function. */ -/* #undef HAVE__COPYSIGN */ - -/* Define to 1 if you have the `_copysignl' function. */ -/* #undef HAVE__COPYSIGNL */ - -/* Define to 1 if you have the `_cosf' function. */ -/* #undef HAVE__COSF */ - -/* Define to 1 if you have the `_coshf' function. */ -/* #undef HAVE__COSHF */ - -/* Define to 1 if you have the `_coshl' function. */ -/* #undef HAVE__COSHL */ - -/* Define to 1 if you have the `_cosl' function. */ -/* #undef HAVE__COSL */ - -/* Define to 1 if you have the `_expf' function. */ -/* #undef HAVE__EXPF */ - -/* Define to 1 if you have the `_expl' function. */ -/* #undef HAVE__EXPL */ - -/* Define to 1 if you have the `_fabsf' function. */ -/* #undef HAVE__FABSF */ - -/* Define to 1 if you have the `_fabsl' function. */ -/* #undef HAVE__FABSL */ - -/* Define to 1 if you have the `_finite' function. */ -/* #undef HAVE__FINITE */ - -/* Define to 1 if you have the `_finitef' function. */ -/* #undef HAVE__FINITEF */ - -/* Define to 1 if you have the `_finitel' function. */ -/* #undef HAVE__FINITEL */ - -/* Define to 1 if you have the `_floorf' function. */ -/* #undef HAVE__FLOORF */ - -/* Define to 1 if you have the `_floorl' function. */ -/* #undef HAVE__FLOORL */ - -/* Define to 1 if you have the `_fmodf' function. */ -/* #undef HAVE__FMODF */ - -/* Define to 1 if you have the `_fmodl' function. */ -/* #undef HAVE__FMODL */ - -/* Define to 1 if you have the `_fpclass' function. */ -/* #undef HAVE__FPCLASS */ - -/* Define to 1 if you have the `_frexpf' function. */ -/* #undef HAVE__FREXPF */ - -/* Define to 1 if you have the `_frexpl' function. */ -/* #undef HAVE__FREXPL */ - -/* Define to 1 if you have the `_hypot' function. */ -/* #undef HAVE__HYPOT */ - -/* Define to 1 if you have the `_hypotf' function. */ -/* #undef HAVE__HYPOTF */ - -/* Define to 1 if you have the `_hypotl' function. */ -/* #undef HAVE__HYPOTL */ - -/* Define to 1 if you have the `_isinf' function. */ -/* #undef HAVE__ISINF */ - -/* Define to 1 if you have the `_isinff' function. */ -/* #undef HAVE__ISINFF */ - -/* Define to 1 if you have the `_isinfl' function. */ -/* #undef HAVE__ISINFL */ - -/* Define to 1 if you have the `_isnan' function. */ -/* #undef HAVE__ISNAN */ - -/* Define to 1 if you have the `_isnanf' function. */ -/* #undef HAVE__ISNANF */ - -/* Define to 1 if you have the `_isnanl' function. */ -/* #undef HAVE__ISNANL */ - -/* Define to 1 if you have the `_ldexpf' function. */ -/* #undef HAVE__LDEXPF */ - -/* Define to 1 if you have the `_ldexpl' function. */ -/* #undef HAVE__LDEXPL */ - -/* Define to 1 if you have the `_log10f' function. */ -/* #undef HAVE__LOG10F */ - -/* Define to 1 if you have the `_log10l' function. */ -/* #undef HAVE__LOG10L */ - -/* Define to 1 if you have the `_logf' function. */ -/* #undef HAVE__LOGF */ - -/* Define to 1 if you have the `_logl' function. */ -/* #undef HAVE__LOGL */ - -/* Define to 1 if you have the `_modf' function. */ -/* #undef HAVE__MODF */ - -/* Define to 1 if you have the `_modff' function. */ -/* #undef HAVE__MODFF */ - -/* Define to 1 if you have the `_modfl' function. */ -/* #undef HAVE__MODFL */ - -/* Define to 1 if you have the `_powf' function. */ -/* #undef HAVE__POWF */ - -/* Define to 1 if you have the `_powl' function. */ -/* #undef HAVE__POWL */ - -/* Define to 1 if you have the `_qfpclass' function. */ -/* #undef HAVE__QFPCLASS */ - -/* Define to 1 if you have the `_sincos' function. */ -/* #undef HAVE__SINCOS */ - -/* Define to 1 if you have the `_sincosf' function. */ -/* #undef HAVE__SINCOSF */ - -/* Define to 1 if you have the `_sincosl' function. */ -/* #undef HAVE__SINCOSL */ - -/* Define to 1 if you have the `_sinf' function. */ -/* #undef HAVE__SINF */ - -/* Define to 1 if you have the `_sinhf' function. */ -/* #undef HAVE__SINHF */ - -/* Define to 1 if you have the `_sinhl' function. */ -/* #undef HAVE__SINHL */ - -/* Define to 1 if you have the `_sinl' function. */ -/* #undef HAVE__SINL */ - -/* Define to 1 if you have the `_sqrtf' function. */ -/* #undef HAVE__SQRTF */ - -/* Define to 1 if you have the `_sqrtl' function. */ -/* #undef HAVE__SQRTL */ - -/* Define to 1 if you have the `_tanf' function. */ -/* #undef HAVE__TANF */ - -/* Define to 1 if you have the `_tanhf' function. */ -/* #undef HAVE__TANHF */ - -/* Define to 1 if you have the `_tanhl' function. */ -/* #undef HAVE__TANHL */ - -/* Define to 1 if you have the `_tanl' function. */ -/* #undef HAVE__TANL */ - -/* Define if the compiler/host combination has __builtin_abs. */ -#define HAVE___BUILTIN_ABS 1 - -/* Define if the compiler/host combination has __builtin_cos. */ -#define HAVE___BUILTIN_COS 1 - -/* Define if the compiler/host combination has __builtin_cosf. */ -#define HAVE___BUILTIN_COSF 1 - -/* Define if the compiler/host combination has __builtin_cosl. */ -#define HAVE___BUILTIN_COSL 1 - -/* Define if the compiler/host combination has __builtin_fabs. */ -#define HAVE___BUILTIN_FABS 1 - -/* Define if the compiler/host combination has __builtin_fabsf. */ -#define HAVE___BUILTIN_FABSF 1 - -/* Define if the compiler/host combination has __builtin_fabsl. */ -#define HAVE___BUILTIN_FABSL 1 - -/* Define if the compiler/host combination has __builtin_labs. */ -#define HAVE___BUILTIN_LABS 1 - -/* Define if the compiler/host combination has __builtin_sin. */ -#define HAVE___BUILTIN_SIN 1 - -/* Define if the compiler/host combination has __builtin_sinf. */ -#define HAVE___BUILTIN_SINF 1 - -/* Define if the compiler/host combination has __builtin_sinl. */ -#define HAVE___BUILTIN_SINL 1 - -/* Define if the compiler/host combination has __builtin_sqrt. */ -#define HAVE___BUILTIN_SQRT 1 - -/* Define if the compiler/host combination has __builtin_sqrtf. */ -#define HAVE___BUILTIN_SQRTF 1 - -/* Define if the compiler/host combination has __builtin_sqrtl. */ -#define HAVE___BUILTIN_SQRTL 1 - -/* Define to 1 if you have the `__signbit' function. */ -#define HAVE___SIGNBIT 1 - -/* Define to 1 if you have the `__signbitf' function. */ -#define HAVE___SIGNBITF 1 - -/* Define to 1 if you have the `__signbitl' function. */ -#define HAVE___SIGNBITL 1 - -/* Name of package */ -/* #undef PACKAGE */ - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "package-unused" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "package-unused version-unused" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "libstdc++" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "version-unused" - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Version number of package */ -/* #undef VERSION */ - -/* Define if builtin atomic operations are supported on this host. */ -#if defined(__amd64__) || (defined(__i386__) && !defined(__tune_i386__)) -#define _GLIBCXX_ATOMIC_BUILTINS 1 -#endif - -/* Define to use concept checking code from the boost libraries. */ -/* #undef _GLIBCXX_CONCEPT_CHECKS */ - -/* Define if a fully dynamic basic_string is wanted. */ -/* #undef _GLIBCXX_FULLY_DYNAMIC_STRING */ - -/* Define to 1 if a full hosted library is built, or 0 if freestanding. */ -#define _GLIBCXX_HOSTED 1 - -/* Define if compatibility should be provided for -mlong-double-64. */ -/* #undef _GLIBCXX_LONG_DOUBLE_COMPAT */ - -/* Define if ptrdiff_t is int. */ -#if !defined(__LP64__) -#define _GLIBCXX_PTRDIFF_T_IS_INT 1 -#endif - -/* Define if using setrlimit to set resource limits during "make check" */ -#define _GLIBCXX_RES_LIMITS 1 - -/* Define if size_t is unsigned int. */ -#if !defined(__LP64__) -#define _GLIBCXX_SIZE_T_IS_UINT 1 -#endif - -/* Define if the compiler is configured for setjmp/longjmp exceptions. */ -/* #undef _GLIBCXX_SJLJ_EXCEPTIONS */ - -/* Define to use symbol versioning in the shared library. */ -#define _GLIBCXX_SYMVER 1 - -/* Define to use darwin versioning in the shared library. */ -/* #undef _GLIBCXX_SYMVER_DARWIN */ - -/* Define to use GNU versioning in the shared library. */ -#define _GLIBCXX_SYMVER_GNU 1 - -/* Define to use GNU namespace versioning in the shared library. */ -/* #undef _GLIBCXX_SYMVER_GNU_NAMESPACE */ - -/* Define if C99 functions or macros from , , , - , and can be used or exposed. */ -/* #undef _GLIBCXX_USE_C99 */ - -/* Define if C99 functions in should be used in . Using - compiler builtins for these functions requires corresponding C99 library - functions to be present. */ -#define _GLIBCXX_USE_C99_COMPLEX 1 - -/* Define if C99 functions in should be used in . - Using compiler builtins for these functions requires corresponding C99 - library functions to be present. */ -/* #undef _GLIBCXX_USE_C99_COMPLEX_TR1 */ - -/* Define if C99 functions in should be imported in in - namespace std::tr1. */ -#define _GLIBCXX_USE_C99_CTYPE_TR1 1 - -/* Define if C99 functions in should be imported in in - namespace std::tr1. */ -#define _GLIBCXX_USE_C99_FENV_TR1 1 - -/* Define if C99 functions in should be imported in - in namespace std::tr1. */ -#define _GLIBCXX_USE_C99_INTTYPES_TR1 1 - -/* Define if C99 functions or macros in should be imported in - in namespace std. */ -#define _GLIBCXX_USE_C99_MATH 1 - -/* Define if C99 functions or macros in should be imported in - in namespace std::tr1. */ -/* #undef _GLIBCXX_USE_C99_MATH_TR1 */ - -/* Define if C99 types in should be imported in in - namespace std::tr1. */ -#define _GLIBCXX_USE_C99_STDINT_TR1 1 - -/* Define if iconv and related functions exist and are usable. */ -#define _GLIBCXX_USE_ICONV 1 - -/* Define if LFS support is available. */ -/* #undef _GLIBCXX_USE_LFS */ - -/* Define if code specialized for long long should be used. */ -#define _GLIBCXX_USE_LONG_LONG 1 - -/* Define if NLS translations are to be used. */ -/* #undef _GLIBCXX_USE_NLS */ - -/* Define if dev/random and dev/urandom are available for the random_device of - TR1 (Chapter 5.1). */ -#define _GLIBCXX_USE_RANDOM_TR1 1 - -/* Define if code specialized for wchar_t should be used. */ -#define _GLIBCXX_USE_WCHAR_T 1 - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATAN2F) && ! defined (HAVE_ATAN2F) -# define HAVE_ATAN2F 1 -# define atan2f _atan2f -#endif - -#if defined (HAVE__ATAN2L) && ! defined (HAVE_ATAN2L) -# define HAVE_ATAN2L 1 -# define atan2l _atan2l -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define ceilf _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define ceill _ceill -#endif - -#if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) -# define HAVE_COPYSIGN 1 -# define copysign _copysign -#endif - -#if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) -# define HAVE_COPYSIGNL 1 -# define copysignl _copysignl -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__HYPOT) && ! defined (HAVE_HYPOT) -# define HAVE_HYPOT 1 -# define hypot _hypot -#endif - -#if defined (HAVE__HYPOTF) && ! defined (HAVE_HYPOTF) -# define HAVE_HYPOTF 1 -# define hypotf _hypotf -#endif - -#if defined (HAVE__HYPOTL) && ! defined (HAVE_HYPOTL) -# define HAVE_HYPOTL 1 -# define hypotl _hypotl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODFF) && ! defined (HAVE_MODFF) -# define HAVE_MODFF 1 -# define modff _modff -#endif - -#if defined (HAVE__MODFL) && ! defined (HAVE_MODFL) -# define HAVE_MODFL 1 -# define modfl _modfl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANL 1 -# define tanl _tanl -#endif diff --git a/gnu/lib/libsupc++/Makefile b/gnu/lib/libsupc++/Makefile deleted file mode 100644 index b78e9d857683..000000000000 --- a/gnu/lib/libsupc++/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# $FreeBSD$ - -.include - -GCCVER= 4.2 -GCCDIR= ${.CURDIR}/../../../contrib/gcc -GCCLIB= ${.CURDIR}/../../../contrib/gcclibs -SRCDIR= ${.CURDIR}/../../../contrib/libstdc++/libsupc++ - -.PATH: ${SRCDIR} ${GCCLIB}/libiberty - -LIB= supc++ -SHLIB_MAJOR=1 -SRCS+= del_op.cc del_opnt.cc del_opv.cc del_opvnt.cc eh_alloc.cc eh_arm.cc \ - eh_aux_runtime.cc eh_call.cc eh_catch.cc eh_exception.cc eh_globals.cc \ - eh_personality.cc eh_term_handler.cc eh_terminate.cc eh_throw.cc \ - eh_type.cc eh_unex_handler.cc guard.cc new_handler.cc new_op.cc \ - new_opnt.cc new_opv.cc new_opvnt.cc pure.cc tinfo.cc tinfo2.cc \ - vec.cc vterminate.cc - -# from libiberty: -SRCS+= cp-demangle.c - -CFLAGS+= -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -CFLAGS+= -I${GCCLIB}/include -I${SRCDIR} -I${GCCDIR} -CFLAGS+= -I${.CURDIR}/../libstdc++ -I. -CFLAGS+= -frandom-seed=RepeatabilityConsideredGood -CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections -PO_CXXFLAGS= ${CXXFLAGS:N-ffunction-sections} - -HDRS= exception new typeinfo cxxabi.h exception_defines.h -INCS= ${HDRS:S;^;${SRCDIR}/;} -INCSDIR=${INCLUDEDIR}/c++/${GCCVER} - -.if ${MACHINE_CPUARCH} == "arm" -unwind.h: ${GCCDIR}/config/arm/unwind-arm.h -.else -unwind.h: ${GCCDIR}/unwind-generic.h -.endif - -unwind.h: .NOMETA - ln -sf ${.ALLSRC} ${.TARGET} - -SRCS+= unwind.h -CLEANFILES+= unwind.h - -# Symbol versioning - -VERSION_MAP= ${.CURDIR}/Version.map - -CXXFLAGS.clang+= -stdlib=libstdc++ - -.include - -# Filter out libc++-specific flags, and -std= flags above c++98 or gnu++98. -CXXFLAGS:= ${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]} diff --git a/gnu/lib/libsupc++/Makefile.depend b/gnu/lib/libsupc++/Makefile.depend deleted file mode 100644 index f73b8ee36731..000000000000 --- a/gnu/lib/libsupc++/Makefile.depend +++ /dev/null @@ -1,17 +0,0 @@ -# $FreeBSD$ -# Autogenerated - do NOT edit! - -DIRDEPS = \ - gnu/lib/libstdc++ \ - include \ - include/xlocale \ - lib/${CSU_DIR} \ - lib/libc \ - lib/libcompiler_rt \ - - -.include - -.if ${DEP_RELDIR} == ${_DEP_RELDIR} -# local dependencies - needed for -jN in clean tree -.endif diff --git a/gnu/lib/libsupc++/Version.map b/gnu/lib/libsupc++/Version.map deleted file mode 100644 index 31e6cc61f6ef..000000000000 --- a/gnu/lib/libsupc++/Version.map +++ /dev/null @@ -1,193 +0,0 @@ -## Linker script for GNU versioning (GNU ld 2.13.91+ only.) -## -## Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 -## Free Software Foundation, Inc. -## -## This file is part of the GNU ISO C++ Library. This library is free -## software; you can redistribute it and/or modify it under the -## terms of the GNU General Public License as published by the -## Free Software Foundation; either version 2, or (at your option) -## any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License along -## with this library; see the file COPYING. If not, write to the Free -## Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -## USA. - -## $FreeBSD$ - - -# Symbols in the support library (libsupc++) have their own tag. -CXXABI_1.3 { - - global: - __cxa_allocate_exception; - __cxa_bad_cast; - __cxa_bad_typeid; - __cxa_begin_catch; - __cxa_begin_cleanup; - __cxa_call_unexpected; - __cxa_current_exception_type; - __cxa_demangle; - __cxa_end_catch; - __cxa_end_cleanup; - __cxa_free_exception; - __cxa_get_globals; - __cxa_get_globals_fast; - __cxa_guard_abort; - __cxa_guard_acquire; - __cxa_guard_release; - __cxa_pure_virtual; - __cxa_rethrow; - __cxa_throw; - __cxa_type_match; - __cxa_vec_cctor; - __cxa_vec_cleanup; - __cxa_vec_ctor; - __cxa_vec_delete2; - __cxa_vec_delete3; - __cxa_vec_delete; - __cxa_vec_dtor; - __cxa_vec_new2; - __cxa_vec_new3; - __cxa_vec_new; - __gxx_personality_v0; - __gxx_personality_sj0; - __dynamic_cast; - - # *_type_info classes, ctor and dtor - _ZN10__cxxabiv117__array_type_info*; - _ZN10__cxxabiv117__class_type_info*; - _ZN10__cxxabiv116__enum_type_info*; - _ZN10__cxxabiv120__function_type_info*; - _ZN10__cxxabiv123__fundamental_type_info*; - _ZN10__cxxabiv117__pbase_type_info*; - _ZN10__cxxabiv129__pointer_to_member_type_info*; - _ZN10__cxxabiv119__pointer_type_info*; - _ZN10__cxxabiv120__si_class_type_info*; - _ZN10__cxxabiv121__vmi_class_type_info*; - - # *_type_info classes, member functions - _ZNK10__cxxabiv117__class_type_info*; - _ZNK10__cxxabiv120__function_type_info*; - _ZNK10__cxxabiv117__pbase_type_info*; - _ZNK10__cxxabiv129__pointer_to_member_type_info*; - _ZNK10__cxxabiv119__pointer_type_info*; - _ZNK10__cxxabiv120__si_class_type_info*; - _ZNK10__cxxabiv121__vmi_class_type_info*; - - # virtual table - _ZTVN10__cxxabiv117__array_type_infoE; - _ZTVN10__cxxabiv117__class_type_infoE; - _ZTVN10__cxxabiv116__enum_type_infoE; - _ZTVN10__cxxabiv120__function_type_infoE; - _ZTVN10__cxxabiv123__fundamental_type_infoE; - _ZTVN10__cxxabiv117__pbase_type_infoE; - _ZTVN10__cxxabiv129__pointer_to_member_type_infoE; - _ZTVN10__cxxabiv119__pointer_type_infoE; - _ZTVN10__cxxabiv120__si_class_type_infoE; - _ZTVN10__cxxabiv121__vmi_class_type_infoE; - - # typeinfo structure (and some names) - _ZTI[a-fh-z]; - _ZTIP[a-fh-z]; - _ZTIPK[a-fh-z]; - _ZTIN10__cxxabiv117__array_type_infoE; - _ZTIN10__cxxabiv117__class_type_infoE; - _ZTIN10__cxxabiv116__enum_type_infoE; - _ZTIN10__cxxabiv120__function_type_infoE; - _ZTIN10__cxxabiv123__fundamental_type_infoE; - _ZTIN10__cxxabiv117__pbase_type_infoE; - _ZTIN10__cxxabiv129__pointer_to_member_type_infoE; - _ZTIN10__cxxabiv119__pointer_type_infoE; - _ZTIN10__cxxabiv120__si_class_type_infoE; - _ZTIN10__cxxabiv121__vmi_class_type_infoE; - - # typeinfo name - _ZTS[a-fh-z]; - _ZTSP[a-fh-z]; - _ZTSPK[a-fh-z]; - _ZTSN10__cxxabiv117__array_type_infoE; - _ZTSN10__cxxabiv117__class_type_infoE; - _ZTSN10__cxxabiv116__enum_type_infoE; - _ZTSN10__cxxabiv120__function_type_infoE; - _ZTSN10__cxxabiv123__fundamental_type_infoE; - _ZTSN10__cxxabiv117__pbase_type_infoE; - _ZTSN10__cxxabiv129__pointer_to_member_type_infoE; - _ZTSN10__cxxabiv119__pointer_type_infoE; - _ZTSN10__cxxabiv120__si_class_type_infoE; - _ZTSN10__cxxabiv121__vmi_class_type_infoE; - - # __gnu_cxx::_verbose_terminate_handler() - _ZN9__gnu_cxx27__verbose_terminate_handlerEv; - - local: - *; -}; - -GLIBCXX_3.4 { - # operator new and new[] - _Zna[jm]; - _Zna[jm]RKSt9nothrow_t; - _Znw[jm]; - _Znw[jm]RKSt9nothrow_t; - - # operator delete and delete[] - _ZdaPv; - _ZdaPvRKSt9nothrow_t; - _ZdlPv; - _ZdlPvRKSt9nothrow_t; - extern "C++" { - std::set_new_handler*; - std::set_terminate*; - std::set_unexpected*; - - "std::unexpected()"; - "std::get_terminate()"; - "std::get_unexpected()"; - "std::uncaught_exception()"; - "std::terminate()"; - - - std::bad_alloc; - std::bad_cast; - std::exception*; - - "typeinfo for std::bad_alloc"; - "typeinfo for std::bad_cast"; - "typeinfo for std::exception"; - "typeinfo for std::type_info"; - - "typeinfo name for std::bad_alloc"; - "typeinfo name for std::bad_cast"; - "typeinfo name for std::exception"; - "typeinfo name for std::type_info"; - - "vtable for std::bad_alloc"; - "vtable for std::bad_cast"; - "vtable for std::exception"; - "vtable for std::type_info"; - - std::type_info::__*; - "std::type_info::~type_info()"; - }; -}; - -GLIBCXX_3.4.9 { - extern "C++" { - "std::bad_alloc::what() const"; - "std::bad_cast::what() const"; - "std::bad_typeid::what() const"; - }; -} GLIBCXX_3.4; - -CXXABI_1.3.1 { - - __cxa_get_exception_ptr; - -} CXXABI_1.3; -- cgit v1.3