This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: REG_CLASS_CONTENTS, >32 registers and 64-bit hosts
- From: Marek Michalkiewicz <marekm at amelek dot gda dot pl>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Marek Michalkiewicz <marekm at amelek dot gda dot pl>, gcc at gcc dot gnu dot org
- Date: Wed, 10 Jul 2002 23:39:42 +0200 (CEST)
- Subject: Re: REG_CLASS_CONTENTS, >32 registers and 64-bit hosts
> Do you have a specific example? I could try it on one of my alphas.
The problem can be seen when building libgcc (ia64 host, avr target).
I've seen reports of the same problem in 3.0.4, 3.1 and mainline:
/home/marekm/gcc/build/gcc/xgcc -B/home/marekm/gcc/build/gcc/ -B/home/marekm/avr/bin/ -B/home/marekm/avr/lib/ -isystem /home/marekm/avr/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -DDF=SF -Dinhibit_libc -mcall-prologues -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config -I../../gcc/gcc/../include -fexceptions -c ../../gcc/gcc/unwind-sjlj.c -o libgcc/./unwind-sjlj.o
In file included from ../../gcc/gcc/unwind-sjlj.c:278:
../../gcc/gcc/unwind.inc: In function `_Unwind_RaiseException_Phase2':
../../gcc/gcc/unwind.inc:67: warning: implicit declaration of function `abort'
/tmp/ccFnptYp.s: Assembler messages:
/tmp/ccFnptYp.s:810: Error: constant value required
/tmp/ccFnptYp.s:811: Error: constant value required
/tmp/ccFnptYp.s:1223: Error: constant value required
/tmp/ccFnptYp.s:1224: Error: constant value required
/tmp/ccFnptYp.s:1337: Error: constant value required
/tmp/ccFnptYp.s:1338: Error: constant value required
make[2]: *** [libgcc/./unwind-sjlj.o] Error 1
I have a report that this file also fails to build on sparc, but messages
are different (I don't have the bad .s file yet from the Debian people).
Builds fine on ia32, so no one noticed earlier...
Thanks,
Marek