We need to push out some hot fixes to repair breakage on Yosemite.
MacPorts is using patches to configure to address the inappropriate linkage
of shared libraries with...
-Wl,-flat_namespace -Wl,-undefined -Wl,suppress
instead of
-Wl,-undefined -Wl,dynamic_lookup
when MACOSX_DEPLOYMENT_TARGET is set to 10.10 as fink does by default.
The fix is always of the form...
diff -uNr mpfr-3.1.2.orig/configure mpfr-3.1.2/configure
--- mpfr-3.1.2.orig/configure 2013-03-13 11:38:20.000000000 -0400
+++ mpfr-3.1.2/configure 2014-10-26 01:00:37.000000000 -0400
@@ -10401,7 +10401,7 @@
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined
${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
diff -uNr mpfr-3.1.2.orig/m4/libtool.m4 mpfr-3.1.2/m4/libtool.m4
--- mpfr-3.1.2.orig/m4/libtool.m4 2013-03-13 11:38:16.000000000 -0400
+++ mpfr-3.1.2/m4/libtool.m4 2014-10-26 01:00:37.000000000 -0400
@@ -1052,7 +1052,7 @@
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[[012]]*)
+ 10.[[012]][[,.]]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined
${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
Without this hot-fix shared libraries are being linked as if the
target were Puma instead
of Yosemite. The issue is very wide spread as libtool needs to be updated
in all the
packages using it. It also can cause nasty side-effects as witnessed by the
large number
of gcc49 test suite regressions when linked in this way. I will push a fix
to gcc49-4.9.1 later
today.
Jack
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel