gcc42 hangs

Ryan Schmidt ryandesign at macports.org
Sat Apr 19 15:56:23 PDT 2008


On Apr 19, 2008, at 1:06 PM, Craig Niederberger wrote:

> sudo port install gcc42
>
> is hanging on a MacBook Air, Leopard 10.5.2
>
> It's been about 3 hours, and Building gcc42 with target all is  
> stuck on the screen.


On Apr 19, 2008, at 1:13 PM, Craig Niederberger wrote:

> Ironically, it finally errored out immediately after I sent the  
> last post.  Can anyone help figure out what's going on here?   
> What's a "Bootstrap comparison failure?"  Any ideas how to get  
> gcc42 to install?
>
> Many TIA,
> Craig
>
> --->  Building gcc42 with target all
> 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_ 
> gcc42/work/build" && make all " returned error 2
> Command output: 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'.
> true "AR_FLAGS=rc" "CC_FOR_BUILD=/usr/bin/gcc-4.0" "CFLAGS=-g - 
> fkeep-inline-functions" "CXXFLAGS=-O2" "CFLAGS_FOR_BUILD=-O2"  
> "CFLAGS_FOR_TARGET=-O2 -O2 " "INSTALL=/usr/bin/install"  
> "INSTALL_DATA=/usr/bin/install -m 644" "INSTALL_PROGRAM=/usr/bin/ 
> install" "INSTALL_SCRIPT=/usr/bin/install" "LDFLAGS=" "LIBCFLAGS=-g  
> -fkeep-inline-functions" "LIBCFLAGS_FOR_TARGET=-O2 -O2 "  
> "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split- 
> size=5000000 --split-size=5000000 " "PICFLAG="  
> "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"  
> "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/opt/local"  
> "infodir=/opt/local/share/info" "libdir=/opt/local/lib/gcc42"  
> "prefix=/opt/local" "tooldir=/opt/local/i386-apple-darwin9.2.2"  
> "AR=ar" "AS=as" "CC=/usr/bin/gcc-4.0" "CXX=/usr/bin/g++-4.0" "LD=/ 
> usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld" "LIBCFLAGS=-g -fkeep- 
> inline-functions" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR="  
> DO=all multi-do # make
> make[3]: Nothing to be done for `all'.
> rm -f stage_current
> 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'.
> true "AR_FLAGS=rc" "CC_FOR_BUILD=/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./prev-gcc/ -B/opt/local/i386-apple-darwin9.2.2/ 
> bin/" "CFLAGS=-O2 -g -fomit-frame-pointer" "CXXFLAGS=-O2"  
> "CFLAGS_FOR_BUILD=-O2" "CFLAGS_FOR_TARGET=-O2 -O2 " "INSTALL=/usr/ 
> bin/install" "INSTALL_DATA=/usr/bin/install -m 644"  
> "INSTALL_PROGRAM=/usr/bin/install" "INSTALL_SCRIPT=/usr/bin/ 
> install" "LDFLAGS=" "LIBCFLAGS=-O2 -g -fomit-frame-pointer"  
> "LIBCFLAGS_FOR_TARGET=-O2 -O2 " "MAKE=make" "MAKEINFO=makeinfo -- 
> split-size=5000000 --split-size=5000000 --split-size=5000000 "  
> "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"  
> "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/opt/local"  
> "infodir=/opt/local/share/info" "libdir=/opt/local/lib/gcc42"  
> "prefix=/opt/local" "tooldir=/opt/local/i386-apple-darwin9.2.2"  
> "AR=ar" "AS=as" "CC=/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./prev-gcc/ -B/opt/local/i386-apple-darwin9.2.2/ 
> bin/" "CXX=/usr/bin/g++-4.0" "LD=/usr/libexec/gcc/i686-apple- 
> darwin9/4.0.1/ld" "LIBCFLAGS=-O2 -g -fomit-frame-pointer" "NM=nm"  
> "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
> make[3]: Nothing to be done for `all'.
> make[3]: Nothing to be done for `all'.
> rm -f stage_current
> 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'.
> true "AR_FLAGS=rc" "CC_FOR_BUILD=/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./prev-gcc/ -B/opt/local/i386-apple-darwin9.2.2/ 
> bin/" "CFLAGS=-O2 -g -fomit-frame-pointer" "CXXFLAGS=-O2"  
> "CFLAGS_FOR_BUILD=-O2" "CFLAGS_FOR_TARGET=-O2 -O2 " "INSTALL=/usr/ 
> bin/install" "INSTALL_DATA=/usr/bin/install -m 644"  
> "INSTALL_PROGRAM=/usr/bin/install" "INSTALL_SCRIPT=/usr/bin/ 
> install" "LDFLAGS=" "LIBCFLAGS=-O2 -g -fomit-frame-pointer"  
> "LIBCFLAGS_FOR_TARGET=-O2 -O2 " "MAKE=make" "MAKEINFO=makeinfo -- 
> split-size=5000000 --split-size=5000000 --split-size=5000000 "  
> "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"  
> "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/opt/local"  
> "infodir=/opt/local/share/info" "libdir=/opt/local/lib/gcc42"  
> "prefix=/opt/local" "tooldir=/opt/local/i386-apple-darwin9.2.2"  
> "AR=ar" "AS=as" "CC=/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./prev-gcc/ -B/opt/local/i386-apple-darwin9.2.2/ 
> bin/" "CXX=/usr/bin/g++-4.0" "LD=/usr/libexec/gcc/i686-apple- 
> darwin9/4.0.1/ld" "LIBCFLAGS=-O2 -g -fomit-frame-pointer" "NM=nm"  
> "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
> make[3]: Nothing to be done for `all'.
> make[3]: Nothing to be done for `all'.
> make "DESTDIR=" "RPATH_ENVVAR=DYLD_LIBRARY_PATH"  
> "TARGET_SUBDIR=i386-apple-darwin9.2.2" "bindir=/opt/local/bin"  
> "datadir=/opt/local/share" "exec_prefix=/opt/local" "includedir=/ 
> opt/local/include/gcc42" "datarootdir=/opt/local/share" "docdir=/ 
> opt/local/share/doc" "infodir=/opt/local/share/info" "htmldir=/opt/ 
> local/share/doc" "libdir=/opt/local/lib/gcc42" "libexecdir=/opt/ 
> local/libexec" "lispdir=" "localstatedir=/opt/local/var" "mandir=/ 
> opt/local/share/man" "oldincludedir=/usr/include" "prefix=/opt/ 
> local" "sbindir=/opt/local/sbin" "sharedstatedir=/opt/local/com"  
> "sysconfdir=/opt/local/etc" "tooldir=/opt/local/i386-apple- 
> darwin9.2.2" "build_tooldir=/opt/local/i386-apple-darwin9.2.2"  
> "target_alias=i386-apple-darwin9.2.2" "BISON=bison" "CC_FOR_BUILD=/ 
> usr/bin/gcc-4.0" "CFLAGS_FOR_BUILD=-O2" "CXX_FOR_BUILD=/usr/bin/g+ 
> +-4.0" "EXPECT=expect" "FLEX=flex" "INSTALL=/usr/bin/install"  
> "INSTALL_DATA=/usr/bin/install -m 644" "INSTALL_PROGRAM=/usr/bin/ 
> install" "INSTALL_SCRIPT=/usr/bin/install" "LEX=flex" "M4=gm4"  
> "MAKE=make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SHELL=/bin/sh"  
> "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/ 
> XFOO=/'`" "AR_FLAGS=rc" "`echo 'BOOT_ADAFLAGS=' | sed -e s'/[^=][^=] 
> *=$/XFOO=/'`" "BOOT_CFLAGS=-O2 -g -fomit-frame-pointer"  
> "BOOT_LDFLAGS=" "CFLAGS=-O2" "CXXFLAGS=-O2" "LDFLAGS=" "LIBCFLAGS=- 
> O2" "LIBCXXFLAGS=-O2 -fno-implicit-templates" "STAGE1_CFLAGS=-g - 
> fkeep-inline-functions" "STAGE1_CHECKING=--enable-checking"  
> "STAGE1_LANGUAGES=c" "AR_FOR_TARGET=/usr/bin/ar" "AS_FOR_TARGET=/ 
> usr/bin/as" "CC_FOR_TARGET=/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./gcc/xgcc -B/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./gcc/ -B/opt/local/i386-apple-darwin9.2.2/bin/ -B/ 
> opt/local/i386-apple-darwin9.2.2/lib/ -isystem /opt/local/i386- 
> apple-darwin9.2.2/include -isystem /opt/local/i386-apple- 
> darwin9.2.2/sys-include" "CFLAGS_FOR_TARGET=-O2 -O2 "  
> "CPPFLAGS_FOR_TARGET=" "CXX_FOR_TARGET=/opt/local/var/macports/ 
> build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./gcc/g++ -B/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./gcc/ -nostdinc++  -L/opt/local/var/macports/ 
> build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/i386-apple-darwin9.2.2/libstdc++-v3/src -L/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/i386-apple-darwin9.2.2/libstdc++-v3/src/.libs -B/ 
> opt/local/i386-apple-darwin9.2.2/bin/ -B/opt/local/i386-apple- 
> darwin9.2.2/lib/ -isystem /opt/local/i386-apple-darwin9.2.2/include  
> -isystem /opt/local/i386-apple-darwin9.2.2/sys-include"  
> "CXXFLAGS_FOR_TARGET=-O2 " "DLLTOOL_FOR_TARGET=dlltool"  
> "GCJ_FOR_TARGET=/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./gcc/gcj -B/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./gcc/ -B/opt/local/i386-apple-darwin9.2.2/bin/ -B/ 
> opt/local/i386-apple-darwin9.2.2/lib/ -isystem /opt/local/i386- 
> apple-darwin9.2.2/include -isystem /opt/local/i386-apple- 
> darwin9.2.2/sys-include" "GFORTRAN_FOR_TARGET=/opt/local/var/ 
> macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./gcc/gfortran -B/opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
> gcc42/work/build/./gcc/ -B/opt/local/i386-apple-darwin9.2.2/bin/ -B/ 
> opt/local/i386-apple-darwin9.2.2/lib/ -isystem /opt/local/i386- 
> apple-darwin9.2.2/include -isystem /opt/local/i386-apple- 
> darwin9.2.2/sys-include" "LD_FOR_TARGET=/usr/bin/ld"  
> "LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=- 
> O2 -O2 " "LIBCXXFLAGS_FOR_TARGET=-O2  -fno-implicit-templates"  
> "NM_FOR_TARGET=/usr/bin/nm" "OBJDUMP_FOR_TARGET=/usr/bin/objdump"  
> "RANLIB_FOR_TARGET=/usr/bin/ranlib -c" "STRIP_FOR_TARGET=/usr/bin/ 
> strip" "WINDRES_FOR_TARGET=windres" "`echo 'LANGUAGES=' | sed -e s'/ 
> [^=][^=]*=$/XFOO=/'`" "LEAN=false" "CONFIG_SHELL=/bin/sh"  
> "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000"  compare
> rm -f stage_current
> Comparing stages 2 and 3
> Bootstrap comparison failure!
> ./gcc.o differs
> make[2]: *** [compare] Error 1
> make[1]: *** [stage3-bubble] Error 2
> make: *** [all] Error 2

What version of Xcode are you using? 3.0 or 3.1?

What version of MacPorts do you have? 1.6.0? trunk?

What version of gcc42 is being built?

Finally, what port are you ultimately trying to install that's  
requiring gcc42? gcc43 is the current stable version of gcc so we  
should make it possible for those ports that currently require gcc42  
to use gcc43 instead by default (while still allowing gcc42 to be  
used via a variant).



More information about the macports-users mailing list