This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libffi build broken on gcc-3.3 branch
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- To: Jeff Sturm <jsturm at one-point dot com>
- Cc: gcc at gcc dot gnu dot org, debian-gcc at lists dot debian dot org
- Date: Mon, 6 Jan 2003 01:18:30 +0100
- Subject: libffi build broken on gcc-3.3 branch
I did not test for this patch explicitely ...
2003-01-03 Jeff Sturm <jsturm@one-point.com>
* include/ffi.h.in: Add closure defines for SPARC, SPARC64.
* src/ffitest.c (main): Use static storage for closure.
* src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
* src/sparc/v8.S (ffi_closure_v8): New.
* src/sparc/v9.S (ffi_closure_v9): New.
but libffi fails to build at least on alpha and powerpc (nof
libs). The last builds that succeeded were from 20021228.
http://buildd.debian.org/fetch.php?&pkg=gcc-snapshot&ver=20030105-1&arch=powerpc&stamp=1041807329&file=log&as=raw
/build/buildd/gcc-snapshot-20030105/build/gcc/xgcc -B/build/buildd/gcc-snapshot-20030105/build/gcc/ -B/usr/lib/gcc-snapshot/powerpc-linux/bin/ -B/usr/lib/gcc-snapshot/powerpc-linux/lib/ -isystem /usr/lib/gcc-snapshot/powerpc-linux/include -msoft-float -fPIC -mstrict-align -fexceptions -O2 -g -O2 -msoft-float -fPIC -mstrict-align -msoft-float -fPIC -mstrict-align -o .libs/ffitest -shared-libgcc .libs/ffitest.o ./.libs/libffi.so -Wl,--rpath -Wl,/usr/lib/gcc-snapshot/lib/nof
.libs/ffitest.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[9]: *** [ffitest] Error 1
http://buildd.debian.org/fetch.php?&pkg=gcc-snapshot&ver=20030105-1&arch=alpha&stamp=1041803441&file=log&as=raw
creating libffi.la
(cd .libs && rm -f libffi.la && ln -s ../libffi.la libffi.la)
/bin/sh ./libtool --mode=compile /build/buildd/gcc-snapshot-20030105/build/gcc/xgcc -B/build/buildd/gcc-snapshot-20030105/build/gcc/ -B/usr/lib/gcc-snapshot/alpha-linux/bin/ -B/usr/lib/gcc-snapshot/alpha-linux/lib/ -isystem /usr/lib/gcc-snapshot/alpha-linux/include -DHAVE_CONFIG_H -I. -I../../../src/libffi -I. -I../../../src/libffi/include -Iinclude -I../../../src/libffi/src -fexceptions -O2 -g -O2 -mieee -c -o ffitest.lo ../../../src/libffi/src/ffitest.c
/build/buildd/gcc-snapshot-20030105/build/gcc/xgcc -B/build/buildd/gcc-snapshot-20030105/build/gcc/ -B/usr/lib/gcc-snapshot/alpha-linux/bin/ -B/usr/lib/gcc-snapshot/alpha-linux/lib/ -isystem /usr/lib/gcc-snapshot/alpha-linux/include -DHAVE_CONFIG_H -I. -I../../../src/libffi -I. -I../../../src/libffi/include -Iinclude -I../../../src/libffi/src -fexceptions -O2 -g -O2 -mieee -c ../../../src/libffi/src/ffitest.c -fPIC -DPIC -o .libs/ffitest.o
../../../src/libffi/src/ffitest.c: In function `main':
../../../src/libffi/src/ffitest.c:1073: error: unrecognizable insn:
(insn 4175 3122 4176 130 0x2000053a5d8 (set (reg:DI 27 $27)
(unspec:DI [
(reg:DI 29 $29)
(symbol_ref:DI ("@Lcl.0"))
(const_int 19 [0x13])
] 11)) -1 (nil)
(nil))
../../../src/libffi/src/ffitest.c:1073: internal compiler error: in extract_insn, at recog.c:2175
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[6]: *** [ffitest.lo] Error 1