[MacPorts] #45707: fftw-3-3.3.4_0 links shared libs with -flat_namespace on Yosemite
MacPorts
noreply at macports.org
Fri Oct 31 12:50:43 PDT 2014
#45707: fftw-3-3.3.4_0 links shared libs with -flat_namespace on Yosemite
-------------------------+--------------------
Reporter: jhowarth@… | Owner: sean@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.2
Resolution: | Keywords:
Port: fftw-3 |
-------------------------+--------------------
Changes (by larryv@…):
* owner: macports-tickets@… => sean@…
* cc: larryv@… (added)
Old description:
> % otool -hv /opt/local/lib/libfftw3_threads.dylib
> /opt/local/lib/libfftw3_threads.dylib:
> Mach header
> magic cputype cpusubtype caps filetype ncmds sizeofcmds
> flags
> MH_MAGIC_64 X86_64 ALL 0x00 DYLIB 15 1608
> DYLDLINK NO_REEXPORTED_DYLIBS
>
> reveals that fftw-3-3.3.4_0 built on Yosemite is linking its shared
> libraries with "-flat_namespace" as seen from the missing TWOLEVEL flag
> expected from "-undefined dynamic_lookup".
New description:
{{{
% otool -hv /opt/local/lib/libfftw3_threads.dylib
/opt/local/lib/libfftw3_threads.dylib:
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds
flags
MH_MAGIC_64 X86_64 ALL 0x00 DYLIB 15 1608 DYLDLINK
NO_REEXPORTED_DYLIBS
}}}
reveals that fftw-3-3.3.4_0 built on Yosemite is linking its shared
libraries with "-flat_namespace" as seen from the missing TWOLEVEL flag
expected from "-undefined dynamic_lookup".
--
Comment:
The [[comment:35:ticket:44596|Libtool MACOSX_DEPLOYMENT_TARGET bug]]
again. The [[attachment:fftw-3.patch|attached change]] should fix it,
although the issue still needs to be reported upstream. The problem was
fixed in [http://lists.gnu.org/archive/html/libtool/2014-10/msg00010.html
the latest Libtool release], so they shouldn’t have to do anything more
than update their Libtool and regenerate everything.
Sean, may I commit this, or do you want to handle it yourself?
--
Ticket URL: <https://trac.macports.org/ticket/45707#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list