Home My Page Projects MPC (Multiple Precision Complex)
Summary Activity Tracker Lists Tasks SCM

[#18257] configure script uses incorrect linker flags if MACOSX_DEPLOYMENT_TARGET=10.10

Date:
2014-11-01 03:35
Priority:
3
State:
ASSIGNED
Submitted by:
Lawrence Velázquez (larryv)
Assigned to:
Andreas Enge (enge)
Category:
none
Group:
none
Resolution:
none
Summary:
configure script uses incorrect linker flags if MACOSX_DEPLOYMENT_TARGET=10.10

Detailed description
When run in an OS X environment containing MACOSX_DEPLOYMENT_TARGET=10.10, MPC's configure script incorrectly uses "-flat_namespace -undefined suppress" for linking, instead of "-undefined dynamic_lookup". This is due to a parsing bug in Libtool 2.4.2 and earlier.

We patched the configure script in MacPorts (https://trac.macports.org/browser/trunk/dports/textproc/libxml2/files/yosemite-libtool-twolevelns.patch?rev=127681), but you will probably want to fix the appropriate Libtool macro and regenerate the configure script.

Alternatively, you could regenerate the script using the just-released Libtool 2.4.3, which fixed this bug.
Message  ↓
Date: 2014-11-03 10:47
Sender: Andreas Enge

We intend to make a new release in the weeks to come, so switching to the new libtool should be the option to follow.

Field Old Value Date By
status_idOpen2014-11-03 10:47enge
close_dateNone2014-11-03 10:47enge
assigned_tonone2014-11-03 10:47enge