Opened 5 years ago

Last modified 20 months ago

#57802 new defect

muniversal PG could use $prefix/bin/lipo and $prefix/bin/libtool if available

Reported by: RJVB (René Bertin) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch, portgroup Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port:

Description (last modified by RJVB (René Bertin))

Using macports-clang versions newer than the host's AppleClang (clang from Xcode) you can end up with binaries that the host's lipo (and presumably libtool) command won't know how to handle. Example: static libraries from -flto=thin builds with clang-mp-5+ on OS X 10.9 .

The lipo command from port:cctools has no problems with those files.

You'd probably want to use the version from port:cctools only when a macports clang compiler is used, that should prevent reproducible build violations, as in the attached (quick and dirty) patch.

Attachments (1)

muniversal.diff (2.7 KB) - added by RJVB (René Bertin) 5 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 5 years ago by RJVB (René Bertin)

Description: modified (diff)
Keywords: has_patch added

Changed 5 years ago by RJVB (René Bertin)

Attachment: muniversal.diff added

comment:2 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:3 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Keywords: haspatch added; has_patch removed

comment:4 Changed 20 months ago by mascguy (Christopher Nielsen)

Keywords: portgroup added

Add keyword portgroup, to pg-related tickets

Note: See TracTickets for help on using tickets.