[PATCH] Fix {sparc64,x86_64,cris}-linux ABI problem (take 3)
Andreas Jaeger
aj@suse.de
Thu May 9 04:49:00 GMT 2002
Jakub Jelinek <jakub@redhat.com> writes:
> No testing was done on x86_64-*-linux*, Andreas, could you
> please bootstrap/regtest/make install with these two patches on 3.1 branch
> (together is enough IMHO)?
config/i386/linux64.h is not fixed for multilibs yet and therefore
building the 32-bit routines fails on x86-64 with:
./xgcc -B./ -B/usr/x86_64-unknown-linux-gnu/bin/ -isystem /usr/x86_64-unknown-linux-gnu/include -isystem /usr/x86_64-unknown-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I/abuild/aj/gcc/gcc -I/abuild/aj/gcc/gcc/. -I/abuild/aj/gcc/gcc/config -I/abuild/aj/gcc/gcc/../include -m32 -fexceptions -c /abuild/aj/gcc/gcc/unwind-dw2.c -o libgcc/32/unwind-dw2.o
/abuild/aj/gcc/gcc/unwind-dw2.c: In function `uw_frame_state_for':
/abuild/aj/gcc/gcc/unwind-dw2.c:910: structure has no member named `rsp'
[...]
I hope that we get linux64.h fixed soon so that this works,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Gcc-patches
mailing list