PowerPC build broken (Was: Bug gcj with date manipulations?)
Mark Wielaard
mark@klomp.org
Sun Mar 4 12:41:00 GMT 2001
Hi,
On Sun, Mar 04, 2001 at 09:29:07AM -0800, Alexandre Petit-Bianco wrote:
>
> Maurice DIAMANTINI writes:
>
> > and I tried (without success) to build the new gcc-3.0 (on
> > linuxppc). As the trace of my result is rather long, I begin by my
> > main final questions:
>
> > - ???
>
> Please tell us what went wrong with your Linux/PPC build.
The powerpc build has been broken for a long time,
a CVS version from before the 3.0 branch point worked.
But the change to shared libgcc seems to have broken the powerpc build.
See this post for a patch to get a working C++ compiler on powerpc.
< http://gcc.gnu.org/ml/gcc/2001-02/msg00946.html >
But even with that patch you will get the following build failure:
creating libffi.la
(cd .libs && rm -f libffi.la && ln -s ../libffi.la libffi.la)
/opt/mark/gcc-branch-obj/gcc/xgcc -B/opt/mark/gcc-branch-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 -DHAVE_CONFIG_H -I. -I../../../../gcc-branch/libffi -I. -I../../../../gcc-branch/libffi/include -Iinclude -I../../../../gcc-branch/libffi/src -fexceptions -g -O2 -msoft-float -fPIC -mstrict-align -c ../../../../gcc-branch/libffi/src/ffitest.c
/bin/sh ./libtool --mode=link /opt/mark/gcc-branch-obj/gcc/xgcc -B/opt/mark/gcc-branch-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-branch-obj/gcc/xgcc -B/opt/mark/gcc-branch-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
make[6]: Leaving directory `/opt/mark/gcc-branch-obj/powerpc-unknown-linux-gnu/nof/libffi'
--
Stuff to read:
< http://www.toad.com/gnu/whatswrong.html >
What's Wrong with Copy Protection, by John Gilmore
More information about the Java
mailing list