[MacPorts] #33439: ld64 build failed under lion 10.7
MacPorts
noreply at macports.org
Sun Mar 4 09:03:22 PST 2012
#33439: ld64 build failed under lion 10.7
---------------------------------+------------------------------------------
Reporter: obartunov@… | Owner: mfeiri@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: haspatch | Port: ld64
---------------------------------+------------------------------------------
Changes (by cal@…):
* cc: cal@… (added)
* keywords: => haspatch
Comment:
I can reproduce this on 10.7, Xcode 4.3 and MacPorts 2.0.4, too.
While there seems to be a libLTO.dylib in the 10.7 SDK, it really is just
a broken symlink:
{{{
$ ls -lash
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib/libLTO.dylib
lrwxr-xr-x 1 root wheel 37 Feb 18 00:12
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib/libLTO.dylib
-> ../..//Developer/usr/lib/libLTO.dylib
$ file
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Developer/usr/lib/libLTO.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Developer/usr/lib/libLTO.dylib:
cannot open
`/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/Developer/usr/lib/libLTO.dylib'
(No such file or directory)
}}}
I have used `/usr/lib/libLTO.dylib` in the proposed patch instead and the
port builds fine with this patch.
--
Ticket URL: <https://trac.macports.org/ticket/33439#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list