gcc4.4 installation error

Lars-Erik Lindgren larserik.lindgren at gmail.com
Tue May 26 18:38:03 PDT 2009


I wanted to update to gcc44 from 4.2
everything went fine until end when

--->  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_por
ts_lang_gcc44/work/build" && make bootstrap " returned error 2

followed by a long list of errors shown at bottom of mail

anyone has an idea what went wrong?

lars-erik
---rest of output----
Command output: make[5]: Nothing to be done for `all'.
Making all in relaxngDatatype
make[5]: Nothing to be done for `all'.
Making all in jsr166
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in include
make  all-am
make[5]: Nothing to be done for `all-am'.
Making all in native
Making all in fdlibm
make[5]: Nothing to be done for `all'.
Making all in jni
Making all in classpath
make[6]: Nothing to be done for `all'.
Making all in java-math
/bin/sh ../../../libtool --tag=CC --mode=link /opt/local/var/macports/ 
build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_gcc44/wor
k/build/./gcc/xgcc -B/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_gcc44/work/build/./gcc/ -B/opt/loc
al/i386-apple-darwin9.7.0/bin/ -B/opt/local/i386-apple-darwin9.7.0/ 
lib/ -isystem /opt/local/i386-apple-darwin9.7.0/include -isystem /opt/ 
local/i386-apple-d
arwin9.7.0/sys-include -W -Wall -Wmissing-declarations -Wwrite-strings  
-Wmissing-prototypes -Wno-long-long -I/usr/include -g -O2   -version- 
info 0:0:0 -no
-undefined -lgmp  -o libjavamath.la -rpath /opt/local/lib/gcc44/ 
gcj-4.4.0-10 -version-info 0:0:0 -no-undefined -lgmp -avoid-version  
gnu_java_math_GMP.lo ..
/../../native/jni/classpath/jcl.lo
libtool: link: /opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_gcc44/work/build/./gcc/xgcc -B/opt/ 
local
/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_gcc44/work/build/./gcc/ -B/opt/local/ 
i386-apple-darwin9.7.0/bin/
-B/opt/local/i386-apple-darwin9.7.0/lib/ -isystem /opt/local/i386- 
apple-darwin9.7.0/include -isystem /opt/local/i386-apple-darwin9.7.0/ 
sys-include -dynamic
lib  -o .libs/libjavamath.dylib  .libs/gnu_java_math_GMP.o ../../../ 
native/jni/classpath/.libs/jcl.o   /usr/local/lib/libgmp.a    - 
install_name  /opt/local
/lib/gcc44/gcj-4.4.0-10/libjavamath.dylib  -Wl,-single_module
ld warning: codegen in ___gmpn_popcount (offset 0x00000007) prevents  
image from loading in dyld shared cache
ld warning: codegen in ___gmpn_popcount (offset 0x0000000E) prevents  
image from loading in dyld shared cache
ld warning: codegen in ___gmpn_popcount (offset 0x00000015) prevents  
image from loading in dyld shared cache
ld: absolute addressing (perhaps -mdynamic-no-pic) used in  
___gmpn_add_n from /usr/local/lib/libgmp.a(add_n.o) not allowed in  
slidable image. Use '-read_on
ly_relocs suppress' to enable text relocs
collect2: ld returned 1 exit status
make[6]: *** [libjavamath.la] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-target-libjava] Error 2
make: *** [bootstrap] Error 2

Error: Status 1 encountered during processing.
bash-3.2$


More information about the macports-users mailing list