On 10/27/2014 7:12 PM, Jack Howarth wrote: > Hanspeter, > I assume you are aware that the current libtool releases have a bug > which causes the shared library linkages on 10.10 to be erroneously treated > as linkages on 10.1 (Puma) such that > > ${wl}-flat_namespace ${wl}-undefined ${wl}suppress > > > is used instead of the appropriate > > > ${wl}-undefined ${wl}dynamic_lookup > > > This can produce some really nasty breakage like... > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63610 > > > The approach that I have taken is to start from a clean bootstrap and > > collect complete fink build logs for a large fink build such as > > > fink install relax-py27 > > > The log can then be used with... > > > grep flat_namespace fink_build.log | grep -v bundle | grep dynamic > > > to produce a list of linkages which are incorrectly done as if the Yosemite > machine were on Puma. > > The configure files in these programs can be perl edited to be correct > with... > > > # Patch configure to not link like Puma on Yosemite > > perl -pi.bak -e 's|10\.\[012\]\*\)|10\.\[012\]\[\,\.\]\*\)|g' configure > > > with all of the configure files in the package listed at the end of the > line. > > This will produce a change of the form... > > > diff -uNr gmp-6.0.0.orig/configure gmp-6.0.0/configure > > --- gmp-6.0.0.orig/configure 2014-03-25 10:38:04.000000000 -0400 > > +++ gmp-6.0.0/configure 2014-10-26 01:08:59.000000000 -0400 > > @@ -14809,7 +14809,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' ;; > > I then normally just do test build of each fixed package in a new window > and search the contents for '-flat_namespace' to confirm it isn't being > used with -dynamiclib. > Jack > ps I can help work through the qt packages after mid-week if your are short > on time.
Thanks for the notice. I'm working my way through dependencies right now. Hanspeter ------------------------------------------------------------------------------ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel