[MacPorts] #20992: qt4-mac 4.5.2_1 +universal fails on 10.5 due to -arch problems
MacPorts
noreply at macports.org
Tue Sep 1 03:30:55 PDT 2009
#20992: qt4-mac 4.5.2_1 +universal fails on 10.5 due to -arch problems
---------------------------------+------------------------------------------
Reporter: jochen@… | Owner: erickt@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: Qt universal -arch | Port: qt4-mac
---------------------------------+------------------------------------------
Similar to ticket #20937 building the current qt4-mac with +universal does
also not build on Leopard with too many -arch specifications on linking.
The following command
{{{
/usr/bin/g++-4.0 -arch i386 -arch x86_64 -Xarch_i386 -mmacosx-version-
min=10.4 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch -Xarch_x86_64
-mmacosx-version-min=10.5 -arch -o ../../../bin/moc release-shared/moc.o
release-shared/preprocessor.o release-shared/generator.o release-
shared/parser.o release-shared/token.o release-shared/main.o
-L/opt/local/lib -L../bootstrap -lbootstrap -L/opt/local/lib -lz
-framework CoreServices
}}}
results in this error:
{{{
g++-4.0: Invalid arch name : -Xarch_x86_64
}}}
See attached log file for details.
--
Ticket URL: <http://trac.macports.org/ticket/20992>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list