Module Name: src
Committed By: christos
Date: Fri Oct 21 23:44:09 UTC 2016
Modified Files:
src/external/gpl3/gcc/lib/libgcc/libgcc_s: Makefile
Log Message:
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...
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile
diff -u src/external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile:1.13 src/external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile:1.14
--- src/external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile:1.13 Wed Mar 23 01:28:01 2016
+++ src/external/gpl3/gcc/lib/libgcc/libgcc_s/Makefile Fri Oct 21 19:44:09 2016
@@ -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 @@ NOPICINSTALL= # defined
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.