Source-Changes-HG archive

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

[src/netbsd-9]: src/external/gpl3/gcc/lib/libsupc++ Pull up following revisio...



details:   https://anonhg.NetBSD.org/src/rev/4b2304139711
branches:  netbsd-9
changeset: 963797:4b2304139711
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Apr 22 18:25:10 2020 +0000

description:
Pull up following revision(s) (requested by mrg in ticket #843):

        external/gpl3/gcc/lib/libsupc++/Makefile: revision 1.13

pull in atomicity.h (atomicity.cc) on sparc.  3 of the objects
use these interfaces and this avoids link errors

fixes PR#54660.

diffstat:

 external/gpl3/gcc/lib/libsupc++/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 0ab293ba9d23 -r 4b2304139711 external/gpl3/gcc/lib/libsupc++/Makefile
--- a/external/gpl3/gcc/lib/libsupc++/Makefile  Wed Apr 22 18:22:23 2020 +0000
+++ b/external/gpl3/gcc/lib/libsupc++/Makefile  Wed Apr 22 18:25:10 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2019/01/19 17:11:02 mrg Exp $
+#      $NetBSD: Makefile,v 1.12.2.1 2020/04/22 18:25:10 martin Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -25,6 +25,15 @@
 SRCS=          ${LIBSUPCXXSRCS} xmalloc.c
 CXXFLAGS+=     ${G_SECTION_FLAGS}
 
+# XXX PR#54660
+.if ${MACHINE} == "sparc"
+SRCS+=         atomicity.cc
+DIST=          ${GCCDIST}
+GLIBCXX_SRCDIR=        ${DIST}/libstdc++-v3
+BUILDSYMLINKS+=        \
+       ${GLIBCXX_SRCDIR}/${G_ATOMICITY_SRCDIR}/atomicity.h atomicity.cc
+.endif
+
 COPTS.cp-demangle.c = -Wno-stack-protector -Wno-unused-function
 
 .include "../Makefile.gthr"



Home | Main Index | Thread Index | Old Index