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
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)
Change History (5)
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 |
---|
comment:2 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | MarcusCalhoun-Lopez added |
---|
comment:3 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Keywords: | haspatch added; has_patch removed |
---|
comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)
Keywords: | portgroup added |
---|
Note: See
TracTickets for help on using
tickets.
Add keyword portgroup, to pg-related tickets