building error
Henning Thedens
hete2@gmx.de
Wed Feb 8 12:52:00 GMT 2012
On building gcc4.6.2 i got the foolowing error message (after more then 1 hour)
libtool: link: /home/henning/gcc_neu/bhelp/./gcc/xgcc -B/home/henning/gcc_neu/bhelp/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -shared .libs/gnu_java_math_GMP.o ../../../native/jni/classpath/.libs/jcl.o /home/henning/gcc_neu/bhelp/./gmp/.libs/libgmp.a -Wl,-soname -Wl,libjavamath.so -o .libs/libjavamath.so
/usr/bin/ld: /home/henning/gcc_neu/bhelp/./gmp/.libs/libgmp.a(mp_set_fns.o): relocation R_X86_64_32 against `__gmp_default_allocate' can not be used when making a shared object; recompile with -fPIC
/home/henning/gcc_neu/bhelp/./gmp/.libs/libgmp.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[6]: *** [libjavamath.la] Fehler 1
make[6]: Verlasse Verzeichnis '/home/henning/gcc_neu/bhelp/x86_64-unknown-linux-gnu/libjava/classpath/native/jni/java-math'
make[5]: *** [all-recursive] Fehler 1
make[5]: Verlasse Verzeichnis '/home/henning/gcc_neu/bhelp/x86_64-unknown-linux-gnu/libjava/classpath/native/jni'
make[4]: *** [all-recursive] Fehler 1
make[4]: Verlasse Verzeichnis '/home/henning/gcc_neu/bhelp/x86_64-unknown-linux-gnu/libjava/classpath/native'
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlasse Verzeichnis '/home/henning/gcc_neu/bhelp/x86_64-unknown-linux-gnu/libjava/classpath'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/henning/gcc_neu/bhelp/x86_64-unknown-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Fehler 2
make[1]: Verlasse Verzeichnis '/home/henning/gcc_neu/bhelp'
make: *** [all] Fehler 2
I configured with
../gcc-4.6.2/configure --with-ppl='/usr/local' --with-cloog='/usr/local/' --with-arch-64=corei7-avx âenable-cloog-backend=isl
and maked with
make -j 6
Buildung gccc only for c,c++ and fortran worked well.
What can i do to overcome this error?
Best regards
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
More information about the Gcc-help
mailing list