[MacPorts] #20660: llvm-gcc42 fails to build ... -arch not supported by stage 2 compiler

MacPorts noreply at macports.org
Thu Aug 13 01:16:41 PDT 2009


#20660: llvm-gcc42 fails to build ... -arch not supported by stage 2 compiler
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  erickt@…           
     Type:  defect                 |      Status:  new                
 Priority:  Normal                 |   Milestone:                     
Component:  ports                  |     Version:  1.8.99             
 Keywords:  buildarch              |        Port:  llvm-gcc42         
-----------------------------------+----------------------------------------
 --->  Computing dependencies for VLC..
 --->  Building llvm-gcc42
 [ -f stage_final ] || echo stage3 > stage_final
 rm -f stage_current
 make[3]: Nothing to be done for `all'.
 make[4]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all'.
 make[4]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all'.
 # APPLE LOCAL use -mlongcall for large text support
 /opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_lang_llvm-gcc42/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_lang_llvm-gcc42/work/build/./gcc/ -B/opt/local/powerpc-apple-
 darwin9/bin/ -B/opt/local/powerpc-apple-darwin9/lib/ -isystem /opt/local
 /powerpc-apple-darwin9/include -isystem /opt/local/powerpc-apple-darwin9
 /sys-include -O2 -O2 -arch ppc  -DIN_GCC    -W -Wall -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
 ./include  -I. -I. -I../../llvm-gcc4.2-2.5.source/gcc -I../../llvm-
 gcc4.2-2.5.source/gcc/. -I../../llvm-gcc4.2-2.5.source/gcc/../include -I
 ../../llvm-gcc4.2-2.5.source/gcc/../libcpp/include  -I../../llvm-
 gcc4.2-2.5.source/gcc/../libdecnumber -I../libdecnumber
 -I/opt/local/lib/llvm/obj/include -I/opt/local/lib/llvm/src/include
 -mlongcall \
           -c ../../llvm-gcc4.2-2.5.source/gcc/config/darwin-crt2.c -o
 crt2.o
 cc1: error: unrecognized command line option "-arch"
 make[3]: *** [crt2.o] Error 1
 make[2]: *** [all-stage1-gcc] Error 2
 make[1]: *** [stage1-bubble] Error 2
 make: *** [all] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_lang_llvm-gcc42/work/build" && /usr/bin/make -j5 all "
 returned error 2
 Command output: [ -f stage_final ] || echo stage3 > stage_final
 rm -f stage_current
 make[3]: Nothing to be done for `all'.
 make[4]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all'.
 make[4]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all'.
 # APPLE LOCAL use -mlongcall for large text support
 /opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_lang_llvm-gcc42/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_Users_jeremy_src_macports-
 trunk_dports_lang_llvm-gcc42/work/build/./gcc/ -B/opt/local/powerpc-apple-
 darwin9/bin/ -B/opt/local/powerpc-apple-darwin9/lib/ -isystem /opt/local
 /powerpc-apple-darwin9/include -isystem /opt/local/powerpc-apple-darwin9
 /sys-include -O2 -O2 -arch ppc  -DIN_GCC    -W -Wall -Wwrite-strings
 -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
 ./include  -I. -I. -I../../llvm-gcc4.2-2.5.source/gcc -I../../llvm-
 gcc4.2-2.5.source/gcc/. -I../../llvm-gcc4.2-2.5.source/gcc/../include -I
 ../../llvm-gcc4.2-2.5.source/gcc/../libcpp/include  -I../../llvm-
 gcc4.2-2.5.source/gcc/../libdecnumber -I../libdecnumber
 -I/opt/local/lib/llvm/obj/include -I/opt/local/lib/llvm/src/include
 -mlongcall \
           -c ../../llvm-gcc4.2-2.5.source/gcc/config/darwin-crt2.c -o
 crt2.o
 cc1: error: unrecognized command line option "-arch"
 make[3]: *** [crt2.o] Error 1
 make[2]: *** [all-stage1-gcc] Error 2
 make[1]: *** [stage1-bubble] Error 2
 make: *** [all] Error 2

-- 
Ticket URL: <http://trac.macports.org/ticket/20660>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list