id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 22616,qt4-mac g++-4.2: Invalid arch name : -Xarch_x86_64,eatdespain@…,macports-tickets@…,"Hi, this happens when trying to compile qt4-mac on a macbook pro unibody mid 2009 in 64 bits mode: {{{ g++-4.2: Invalid arch name : -Xarch_x86_64 make[1]: *** [../../../bin/moc] Error 1 make: *** [sub-moc-make_default-ordered] Error 2 Error: Target org.macports.build returned: shell command "" cd ""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3"" && /usr/bin/make -j2 first "" returned error 2 Command output: cd src/tools/bootstrap/ && /usr/bin/make -f Makefile make[1]: Nothing to be done for `first'. cd src/tools/moc/ && /usr/bin/make -f Makefile /usr/bin/g++-4.2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch -Xarch_x86_64 -mmacosx-version-min=10.5 -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 g++-4.2: Invalid arch name : -Xarch_x86_64 make[1]: *** [../../../bin/moc] Error 1 make: *** [sub-moc-make_default-ordered] Error 2 DEBUG: Backtrace: shell command "" cd ""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.5.3"" && /usr/bin/make -j2 first "" returned error 2 Command output: cd src/tools/bootstrap/ && /usr/bin/make -f Makefile make[1]: Nothing to be done for `first'. cd src/tools/moc/ && /usr/bin/make -f Makefile /usr/bin/g++-4.2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch -Xarch_x86_64 -mmacosx-version-min=10.5 -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 g++-4.2: Invalid arch name : -Xarch_x86_64 make[1]: *** [../../../bin/moc] Error 1 make: *** [sub-moc-make_default-ordered] Error 2 while executing ""command_exec build"" (procedure ""portbuild::build_main"" line 9) invoked from within ""$procedure $targetname"" Warning: the following items did not execute (for qt4-mac): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} Any idea Thanks very much",defect,closed,Normal,,ports,1.8.1,duplicate,,hsivank@…,qt4-mac