[MacPorts] #36026: gcc46 problem after ld64 upgrade
MacPorts
noreply at macports.org
Thu Sep 13 13:41:50 PDT 2012
#36026: gcc46 problem after ld64 upgrade
-------------------------+--------------------------------
Reporter: jwhowse4@… | Owner: macports-tickets@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: ld64 |
-------------------------+--------------------------------
Comment (by ryandesign@…):
Replying to [comment:31 jwhowse4@…]:
> I have seen several errors similar to the following.
> {{{
> ld: file is universal (2 slices) but does not contain a(n) x86_64 slice:
/usr/lib/crt1.10.5.o for architecture x86_64
> }}}
I have too, on Mountain Lion.
> This suggests to me that perhaps ld64 is mistaking Lion (10.7) for
Leopard (10.5) at least on my system.
No, I don't think it suggests that. Even on Mountain Lion, there only
exists a crt1.10.5.o and a crt1.10.6.o in that directory. `lipo` confirms
that they contain both expected architectures:
{{{
$ lipo -info /usr/lib/crt1.10*
Architectures in the fat file: /usr/lib/crt1.10.5.o are: i386 x86_64
Architectures in the fat file: /usr/lib/crt1.10.6.o are: i386 x86_64
}}}
So the error message suggests to me that there is a problem with ld64
determining the file's architecture.
--
Ticket URL: <https://trac.macports.org/ticket/36026#comment:34>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list