[MacPorts] #21440: apple-gcc42 build failure on OS X 10.4.11 ppc

MacPorts noreply at macports.org
Wed Sep 16 23:15:27 PDT 2009


#21440: apple-gcc42 build failure on OS X 10.4.11 ppc
-------------------------------------+--------------------------------------
 Reporter:  danielc@…                |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  ports                    |     Version:  1.8.0                                
 Keywords:                           |        Port:  apple-gcc42                          
-------------------------------------+--------------------------------------
Changes (by toby@…):

  * keywords:  apple-gcc42 =>
  * port:  => apple-gcc42


Old description:

> apple-gcc42 fails to build on OS X 10.4.11
> --->  Computing dependencies for apple-gcc42
> --->  Fetching apple-gcc42
> --->  Attempting to fetch gcc_42-5531.tar.gz from
> http://distfiles.macports.org/apple-gcc42
> --->  Verifying checksum(s) for apple-gcc42
> --->  Extracting apple-gcc42
> --->  Configuring apple-gcc42
> --->  Building apple-gcc42
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/build" && /usr/bin/make -j1 all
> " returned error 2
> Command output: D128PBIT='' \
> D128PBIT_FUNCS='_addsub_td _div_td _mul_td _plus_td _minus_td _eq_td
> _ne_td _lt_td _gt_td _le_td _ge_td _td_to_si _td_to_di _td_to_usi
> _td_to_udi _si_to_td _di_to_td _usi_to_td _udi_to_td _td_to_sf _td_to_df
> _td_to_xf _sf_to_td _df_to_td _xf_to_td _td_to_sd _td_to_dd _unord_td
> _conv_td' \
> APPLE_LOCAL='APPLE LOCAL libcc_kext' \
> MULTILIBS="`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/build/./gcc/xgcc
> -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/build/./gcc/ -B/opt/local/lib
> /apple-gcc42/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/include -isystem /opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/sys-include --print-multi-lib` static;@static
> @fno-pic
> kext;@Dmalloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT@static at fno-
> pic at fno-exceptions@fno-non-call-exceptions" \
> EXTRA_MULTILIB_PARTS='crt3.o' \
> SHLIB_LINK='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/build/./gcc/xgcc
> -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/build/./gcc/ -B/opt/local/lib
> /apple-gcc42/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/include -isystem /opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/sys-include -O2  -O2 -arch ppc  -DIN_GCC
> -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-
> style-definition  -isystem ./include  -Wa,-force_cpusubtype_ALL -pipe
> -mmacosx-version-min=10.4 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED  -dynamiclib -nodefaultlibs -install_name
> /opt/local/lib/apple-gcc42/lib/@shlib_base_name@`if test @multilib_dir@ =
> ppc64 ; then echo _ at multilib_dir@ ; fi`.1.dylib -single_module -o
> @multilib_dir@/@shlib_base_name at .1.dylib.tmp
> -Wl,-exported_symbols_list, at shlib_map_file@ -compatibility_version 1
> -current_version 1.0 @multilib_flags@ @shlib_objs@ -lc' \
> SHLIB_INSTALL='$(mkinstalldirs) $(DESTDIR)$(slibdir); /usr/bin/install -c
> -m 644 @shlib_base_name at .1.dylib
> $(DESTDIR)$(slibdir)/@shlib_base_name at .1.dylib' \
> SHLIB_EXT='.dylib' \
> SHLIB_MULTILIB='' \
> SHLIB_MKMAP='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/mkmap-flat.awk'
> \
> SHLIB_MKMAP_OPTS='-v leading_underscore=1' \
> SHLIB_MAPFILES='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/config/rs6000
> /libgcc-ppc64.ver
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/libgcc-std.ver'
> \
> SHLIB_NM_FLAGS='-pg' \
> MULTILIB_OSDIRNAMES='' \
> ASM_HIDDEN_OP='.private_extern' \
> GCC_FOR_TARGET='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/build/./gcc/xgcc
> -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/build/./gcc/ -B/opt/local/lib
> /apple-gcc42/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/include -isystem /opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/sys-include' \
> mkinstalldirs='/bin/sh
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-
> gcc42/work/gcc_42-5531/gcc/../mkinstalldirs' \
>   /bin/sh mklibgcc > tmp-libgcc.mk
> mv tmp-libgcc.mk libgcc.mk
> TARGET_CPU_DEFAULT="" \
> HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
> /bin/sh
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/mkconfig.sh
> tconfig.h
> # APPLE LOCAL use -mlongcall for large text support
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/build/./gcc/xgcc
> -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/build/./gcc/ -B/opt/local/lib
> /apple-gcc42/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/include -isystem /opt/local/lib/apple-gcc42
> /powerpc-apple-darwin8.11.0/sys-include -O2 -arch ppc  -DIN_GCC    -W
> -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-
> style-definition  -isystem ./include  -I. -I.
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/.
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../include
> -I./../intl
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-
> gcc42/work/gcc_42-5531/gcc/../libcpp/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../libdecnumber
> -I../libdecnumber  -mlongcall \
>   -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/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: Status 1 encountered during processing.

New description:

 apple-gcc42 fails to build on OS X 10.4.11

 {{{
 --->  Computing dependencies for apple-gcc42
 --->  Fetching apple-gcc42
 --->  Attempting to fetch gcc_42-5531.tar.gz from
 http://distfiles.macports.org/apple-gcc42
 --->  Verifying checksum(s) for apple-gcc42
 --->  Extracting apple-gcc42
 --->  Configuring apple-gcc42
 --->  Building apple-gcc42
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/build" && /usr/bin/make -j1 all "
 returned error 2
 Command output: D128PBIT='' \
 D128PBIT_FUNCS='_addsub_td _div_td _mul_td _plus_td _minus_td _eq_td
 _ne_td _lt_td _gt_td _le_td _ge_td _td_to_si _td_to_di _td_to_usi
 _td_to_udi _si_to_td _di_to_td _usi_to_td _udi_to_td _td_to_sf _td_to_df
 _td_to_xf _sf_to_td _df_to_td _xf_to_td _td_to_sd _td_to_dd _unord_td
 _conv_td' \
 APPLE_LOCAL='APPLE LOCAL libcc_kext' \
 MULTILIBS="`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/build/./gcc/ -B/opt/local/lib
 /apple-gcc42/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/include -isystem /opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/sys-include --print-multi-lib` static;@static
 @fno-pic
 kext;@Dmalloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT@static at fno-pic
 @fno-exceptions at fno-non-call-exceptions" \
 EXTRA_MULTILIB_PARTS='crt3.o' \
 SHLIB_LINK='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/build/./gcc/ -B/opt/local/lib
 /apple-gcc42/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/include -isystem /opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/sys-include -O2  -O2 -arch ppc  -DIN_GCC    -W
 -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-
 style-definition  -isystem ./include  -Wa,-force_cpusubtype_ALL -pipe
 -mmacosx-version-min=10.4 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
 -D__GCC_FLOAT_NOT_NEEDED  -dynamiclib -nodefaultlibs -install_name
 /opt/local/lib/apple-gcc42/lib/@shlib_base_name@`if test @multilib_dir@ =
 ppc64 ; then echo _ at multilib_dir@ ; fi`.1.dylib -single_module -o
 @multilib_dir@/@shlib_base_name at .1.dylib.tmp
 -Wl,-exported_symbols_list, at shlib_map_file@ -compatibility_version 1
 -current_version 1.0 @multilib_flags@ @shlib_objs@ -lc' \
 SHLIB_INSTALL='$(mkinstalldirs) $(DESTDIR)$(slibdir); /usr/bin/install -c
 -m 644 @shlib_base_name at .1.dylib
 $(DESTDIR)$(slibdir)/@shlib_base_name at .1.dylib' \
 SHLIB_EXT='.dylib' \
 SHLIB_MULTILIB='' \
 SHLIB_MKMAP='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/mkmap-flat.awk' \
 SHLIB_MKMAP_OPTS='-v leading_underscore=1' \
 SHLIB_MAPFILES='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/config/rs6000
 /libgcc-ppc64.ver
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/libgcc-std.ver' \
 SHLIB_NM_FLAGS='-pg' \
 MULTILIB_OSDIRNAMES='' \
 ASM_HIDDEN_OP='.private_extern' \
 GCC_FOR_TARGET='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/build/./gcc/ -B/opt/local/lib
 /apple-gcc42/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/include -isystem /opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/sys-include' \
 mkinstalldirs='/bin/sh
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../mkinstalldirs'
 \
   /bin/sh mklibgcc > tmp-libgcc.mk
 mv tmp-libgcc.mk libgcc.mk
 TARGET_CPU_DEFAULT="" \
 HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
 /bin/sh
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/mkconfig.sh
 tconfig.h
 # APPLE LOCAL use -mlongcall for large text support
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/build/./gcc/xgcc
 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/build/./gcc/ -B/opt/local/lib
 /apple-gcc42/powerpc-apple-darwin8.11.0/bin/ -B/opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/lib/ -isystem /opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/include -isystem /opt/local/lib/apple-gcc42
 /powerpc-apple-darwin8.11.0/sys-include -O2 -arch ppc  -DIN_GCC    -W
 -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-
 style-definition  -isystem ./include  -I. -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../include
 -I./../intl
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../libcpp/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/gcc/../libdecnumber
 -I../libdecnumber  -mlongcall \
   -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_apple-gcc42/work/gcc_42-5531/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: Status 1 encountered during processing.
 }}}

--

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


More information about the macports-tickets mailing list