Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/lib/libubsan Add libstdc++ again; needed for:



details:   https://anonhg.NetBSD.org/src/rev/bd0ce9e46a52
branches:  trunk
changeset: 833100:bd0ce9e46a52
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jun 11 12:47:47 2018 +0000

description:
Add libstdc++ again; needed for:
undefined reference to `typeinfo for __cxxabiv1::__class_type_info'
undefined reference to `typeinfo for __cxxabiv1::__si_class_type_info'
undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
undefined reference to `typeinfo for std::type_info'
undefined reference to `__dynamic_cast'

diffstat:

 external/gpl3/gcc/lib/libubsan/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 900634e24d65 -r bd0ce9e46a52 external/gpl3/gcc/lib/libubsan/Makefile
--- a/external/gpl3/gcc/lib/libubsan/Makefile   Mon Jun 11 10:34:18 2018 +0000
+++ b/external/gpl3/gcc/lib/libubsan/Makefile   Mon Jun 11 12:47:47 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2018/02/14 03:37:39 christos Exp $
+#      $NetBSD: Makefile,v 1.6 2018/06/11 12:47:47 christos Exp $
 
 UNSUPPORTED_COMPILER.clang=    # defined
 
@@ -28,6 +28,7 @@
 
 LIB=   ubsan
 SRCS+= ${UBSAN_SRCS}
+LIBDPLIBS+= stdc++ ${.CURDIR}/../libstdc++-v3
 LIBDPLIBS+= rt ${NETBSDSRCDIR}/lib/librt
 
 .if ${MACHINE_ARCH} == "vax"



Home | Main Index | Thread Index | Old Index