This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING] libffi reorg


Andreas Tobler wrote:

Tom Tromey wrote:

"Paolo" == Paolo Bonzini <paolo.bonzini@polimi.it> writes:



It would be better if this code used AC_LINK_FILES.



Paolo> I feared problems with Mingw32 and the like.

There's no trouble there.  We already use AC_LINK_FILES in other
parts of the tree that work on Mingw32.



Commited. With the AC_LINK_FILES change.


Andreas

This seems to have broken my build.
../gcccvsw/gcc/configure --host=i686-pc-linux-gnu --target=mipsisa32el-linux --enable-languages=c,c++,java --with-headers=/home/mipsel-linux/mipsel-linux/include --prefix=/home/testcvs/


make

<...>
home/daney/mipsel-gcccvs/gcc/xgcc -B/home/daney/mipsel-gcccvs/gcc/ -B/home/testcvs//mipsisa32el-linux/bin/ -B/home/testcvs//mipsisa32el-linux/lib/ -isystem /home/testcvs//mipsisa32el-linux/include -isystem /home/testcvs//mipsisa32el-linux/sys-include -DHAVE_CONFIG_H -I. -I../../../gcccvsw/gcc/libffi -I. -I. -I../../../gcccvsw/gcc/libffi/include -Iinclude -I../../../gcccvsw/gcc/libffi/src -O2 -g -O2 -Wall -g -fexceptions -O2 -g -O2 -c ../../../gcccvsw/gcc/libffi/src/debug.c -fPIC -DPIC -o src/.libs/debug.o
In file included from include/ffi.h:63,
from ../../../gcccvsw/gcc/libffi/src/debug.c:24:
include/ffitarget.h:128: error: parse error before "ffi_arg"
include/ffitarget.h:128: warning: type defaults to `int' in declaration of `ffi_arg'
include/ffitarget.h:128: warning: data definition has no type or storage class
include/ffitarget.h:129: error: parse error before "ffi_sarg"
include/ffitarget.h:129: warning: type defaults to `int' in declaration of `ffi_sarg'
include/ffitarget.h:129: warning: data definition has no type or storage class
In file included from ../../../gcccvsw/gcc/libffi/src/debug.c:24:
include/ffi.h:183: error: parse error before "ffi_sarg"
include/ffi.h:183: warning: no semicolon at end of struct or union
include/ffi.h:184: warning: type defaults to `int' in declaration of `uint'
include/ffi.h:184: warning: data definition has no type or storage class
include/ffi.h:188: error: parse error before '}' token
include/ffi.h:188: warning: type defaults to `int' in declaration of `ffi_raw'
include/ffi.h:188: warning: data definition has no type or storage class
include/ffi.h:193: error: parse error before "ffi_raw"
include/ffi.h:195: error: parse error before "ffi_raw"
include/ffi.h:196: error: parse error before "ffi_raw"
include/ffi.h:206: error: parse error before "ffi_raw"
include/ffi.h:208: error: parse error before "ffi_raw"
include/ffi.h:209: error: parse error before "ffi_raw"
In file included from /home/testcvs//mipsisa32el-linux/sys-include/stdlib.h:390,
<...>


The problem seems to be that the types UINT32 and SINT32 are not being defined.

David Daney.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]