This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Build failure of GCC-3.0 branch on powerpc
- To: gcc-help at gcc dot gnu dot org
- Subject: Build failure of GCC-3.0 branch on powerpc
- From: Mark Wielaard <mark at klomp dot org>
- Date: Mon, 19 Feb 2001 23:49:11 +0100
Hi,
I am trying to build the GCC 3.0 branch on powerpc including gcj.
It is the CVS version of yesterday configured with --enable-languages=c++,java
It gives the following error:
make[6]: Entering directory `/opt/mark/gcc-obj/powerpc-unknown-linux-gnu/nof/libffi'
/bin/sh ./libtool --mode=link /opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include -msoft-float -fPIC -mstrict-align -fexceptions -g -O2 -msoft-float -fPIC -mstrict-align -msoft-float -fPIC -mstrict-align -o ffitest ffitest.o libffi.la
/opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include -msoft-float -fPIC -mstrict-align -fexceptions -g -O2 -msoft-float -fPIC -mstrict-align -msoft-float -fPIC -mstrict-align -o .libs/ffitest ffitest.o
./.libs/libffi.so+-Wl,--rpath -Wl,/usr/local/gcc/lib/nof
/usr/bin/ld: warning: libgcc_s_nof.so.0, needed by ./.libs/libffi.so, not found (try using --rpath)
./.libs/libffi.so: undefined reference to `__extendsfdf2@GCC_3.0'
collect2: ld returned 1 exit status
make[6]: *** [ffitest] Error 1
Someone suggested that configuring with --disable-multilib could be a
workaround. But that gives me the following error:
make[3]: Entering directory
`/opt/mark/gcc-obj/powerpc-unknown-linux-gnu/libffi'/bin/sh ./libtool --mode=link /opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include -fexceptions -g -O2 -o ffitest ffitest.o libffi.la
/opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include -fexceptions -g -O2 -o .libs/ffitest ffitest.o ./.libs/libffi.so -Wl,--rpath -Wl,/usr/local/gcc/lib
/usr/local/gcc/lib/libgcc_s.so.0: undefined reference to `__SBSS2_END__'
/usr/local/gcc/lib/libgcc_s.so.0: undefined reference to `__init'
/usr/local/gcc/lib/libgcc_s.so.0: undefined reference to `__SBSS_END__'
/usr/local/gcc/lib/libgcc_s.so.0: undefined reference to `__SDATA2_START__'
/usr/local/gcc/lib/libgcc_s.so.0: undefined reference to `__SDATA_START__'
collect2: ld returned 1 exit status
make[3]: *** [ffitest] Error 1
Could someone help me analyse this problem?
I can build a functional gcj compiler on i386.
Thanks,
Mark
--
Stuff to read:
<http://www.toad.com/gnu/whatswrong.html>
What's Wrong with Copy Protection, by John Gilmore