gcc failed under snow leopard

Alejandro Marcos Aragón alejandro.aragon at gmail.com
Sun Aug 30 17:38:22 PDT 2009


Hi everyone,

I tried building gcc44 after installing snow leopard in my Macbook  
Pro, and after a few minutes it gave me the following error:

--->  Computing dependencies for gcc44
--->  Building gcc44
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_gcc44 
/work/build" && /usr/bin/make -j2 bootstrap " returned error 2
Command output: /usr/bin/ranlib: file: ../../.././gcc/x86_64/libgcc.a 
(_fixtfdi.o) has no symbols
/usr/bin/ranlib: file: ../../.././gcc/x86_64/libgcc.a(_fixunstfdi.o)  
has no symbols
/usr/bin/ranlib: file: ../../.././gcc/x86_64/libgcc.a(_floatditf.o)  
has no symbols
/usr/bin/ranlib: file: ../../.././gcc/x86_64/libgcc.a(_floatunditf.o)  
has no symbols
/usr/bin/ranlib: file: ../../.././gcc/x86_64/libgcc.a(_fixtfti.o) has  
no symbols
/usr/bin/ranlib: file: ../../.././gcc/x86_64/libgcc.a(_fixunstfti.o)  
has no symbols
/usr/bin/ranlib: file: ../../.././gcc/x86_64/libgcc.a(_floattitf.o)  
has no symbols
/usr/bin/ranlib: file: ../../.././gcc/x86_64/libgcc.a(_floatuntitf.o)  
has no symbols
/usr/bin/install -c -m 644 libgcov.a ../../.././gcc/x86_64/
chmod 644 ../../.././gcc/x86_64/libgcov.a
/usr/bin/ranlib -c ../../.././gcc/x86_64/libgcov.a
parts="crt3.o crtfastmath.o crtprec32.o crtprec64.o crtprec80.o";				\
	for file in $parts; do					\
	  rm -f ../../.././gcc/x86_64/$file;		\
	  /usr/bin/install -c -m 644 $file ../../.././gcc/x86_64/;	\
	done
/usr/bin/strip -o libgcc_s.10.4.dylib_T \
	  -s ../../../gcc-4.4.1/libgcc/../gcc/config/i386/darwin-libgcc. 
10.4.ver -c -u \
	  ./libgcc_s.1.dylib.tmp
/usr/bin/strip -o libgcc_s.10.5.dylib_T \
	  -s ../../../gcc-4.4.1/libgcc/../gcc/config/i386/darwin-libgcc. 
10.5.ver -c -u \
	  ./libgcc_s.1.dylib.tmp
/usr/bin/strip: can't open file: ./libgcc_s.1.dylib.tmp (No such file  
or directory)
make[3]: *** [libgcc_s.10.4.dylib] Error 1
make[3]: /usr/bin/strip: can't open file: ./libgcc_s.1.dylib.tmp (No  
such file or directory)
*** Waiting for unfinished jobs....
make[3]: *** [libgcc_s.10.5.dylib] Error 1
make[2]: *** [all-stage1-target-libgcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2

Error: Status 1 encountered during processing.




I guess the libraries have changed, so do I have to wait until someone  
updates the port? Or should I try to download gcc source and build it  
from there?

Thank you all,

aa


More information about the macports-users mailing list