(this was the "patches for egcs mainline" thread)
On Fri, 2 Apr 1999, Philip Blundell wrote:
> >Is __elf__ supposed to be defined internally by xgcc at this point?
> >It doesn't appear to be,
>
> No. The conditional should be #ifdef __ELF__.
Thanks. That indeed fixed the R_ARM_PC24 reloc problem in
libglib.
So next I tried building GTK (which depends on GLIB), and I got an
internal compiler error compiling gtkbutton.c,
../../egcs-19990328/gcc/function.c:3127: Internal compiler error in
function purge_addressof_1
function.c:3127
if (GET_MODE_SIZE (GET_MODE (x))
< GET_MODE_SIZE (GET_MODE (y)))
abort ();
If anyone's interested in trying it, pick up
ftp://ftp.netwinder.org/users/g/guinan/gtkbutton.i.gz
and compile it with
$ gcc -g -O2 -Wall -c -fPIC -DPIC gtkbutton.i -o gtkbutton.o
This bug shows up in the 19990328 egcs with Phil's patches,
I don't know about other versions.
Should I submit this one to egcs-bugs?
-Jamie
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]