Opened 6 years ago
Last modified 2 years ago
#57802 new defect
muniversal PG could use $prefix/bin/lipo and $prefix/bin/libtool if available — at Version 1
Reported by: | RJVB (René Bertin) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch, portgroup | Cc: | |
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.
Change History (2)
comment:1 Changed 6 years ago by RJVB (René Bertin)
Description: | modified (diff) |
---|---|
Keywords: | has_patch added |
Changed 6 years ago by RJVB (René Bertin)
Attachment: | muniversal.diff added |
---|
Note: See
TracTickets for help on using
tickets.