aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib/libsupc++
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-02-29 03:25:51 +0000
committerEd Maste <emaste@FreeBSD.org>2020-02-29 03:25:51 +0000
commit57f804675e65951d630a38d94c07be4a27ae4053 (patch)
tree08158fea50735ed44fbd645ce7cf2c24beb7c11b /gnu/lib/libsupc++
parent6be21eb77807afea19219b8fd2ee9c0a4609027d (diff)
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
Notes
svn path=/head/; revision=358454
Diffstat (limited to 'gnu/lib/libsupc++')
-rw-r--r--gnu/lib/libsupc++/Makefile56
-rw-r--r--gnu/lib/libsupc++/Makefile.depend17
-rw-r--r--gnu/lib/libsupc++/Version.map193
3 files changed, 0 insertions, 266 deletions
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 <src.opts.mk>
-
-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 <bsd.lib.mk>
-
-# 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 <dirdeps.mk>
-
-.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;