Opened 10 years ago

Closed 10 years ago

#45707 closed defect (fixed)

fftw-3-3.3.4_0 links shared libs with -flat_namespace on Yosemite

Reported by: jhowarth@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: larryv (Lawrence Velázquez)
Port: fftw-3

Description (last modified by larryv (Lawrence Velázquez))

% 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".

Attachments (1)

fftw-3.patch (1.8 KB) - added by larryv (Lawrence Velázquez) 10 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to sean@…

The Libtool MACOSX_DEPLOYMENT_TARGET bug again. The attached change should fix it, although the issue still needs to be reported upstream. The problem was fixed in 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?

Changed 10 years ago by larryv (Lawrence Velázquez)

Attachment: fftw-3.patch added

comment:2 Changed 10 years ago by seanfarley (Sean Farley)

By all means, go for it. Thanks for the fix!

comment:3 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.