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/libgcc/libgcc_s Mark this -z nodelete, ...



details:   https://anonhg.NetBSD.org/src/rev/3d167a10beb6
branches:  trunk
changeset: 818658:3d167a10beb6
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 21 23:44:09 2016 +0000

description:
Mark this -z nodelete, so that it does not get unloaded before other shared
libraries do, since they destructors need to still call millicode.
The problem this time was with /usr/pkg/bin/gdk-pixbuf-query-loaders
calling glib2's g_log...

diffstat:

 external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c6012aafefb8 -r 3d167a10beb6 external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile
--- a/external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile    Fri Oct 21 20:55:25 2016 +0000
+++ b/external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile    Fri Oct 21 23:44:09 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2016/03/23 05:28:01 mrg Exp $
+#      $NetBSD: Makefile,v 1.14 2016/10/21 23:44:09 christos Exp $
 
 USE_SHLIBDIR=  yes
 REQUIRETOOLS=  yes
@@ -19,7 +19,7 @@
 SHLIB_MAJOR=   1
 SHLIB_MINOR=   0
 
-LDFLAGS+=      -nodefaultlibs
+LDFLAGS+=      -nodefaultlibs -Wl,-z -Wl,nodelete
 LDFLAGS+=      -Wl,--version-script=${.OBJDIR}/libgcc.map
 
 # XXX handle this better?  GCC 4.8 moved them.



Home | Main Index | Thread Index | Old Index