This is the mail archive of the 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]

Re: bootstrap fail on darwin

Andreas Tobler wrote:

> ./xgcc -B./ -B/Volume/reserved1/gcctmp/powerpc-apple-darwin1.3.7/bin/
> -isystem /Volume/reserved1/gcctmp/powerpc-apple-darwin1.3.7/include -O2
>  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -isystem ./include   -g1  -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
> -I../../gcc/gcc/config -I../../gcc/gcc/../include  -DL_divdi3 -c
> ../../gcc/gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/./_divdi3.o
> ../../gcc/gcc/libgcc2.c:2922: Internal compiler error in
> assemble_integer, at varasm.c:1943

Is it possible that we have to add something like this in gcc/gcc/config/darwin.h?

#define UNALIGNED_SHORT_ASM_OP          "\\t2,"
#define UNALIGNED_INT_ASM_OP            "\t.long\t4,"
#define UNALIGNED_DOUBLE_INT_ASM_OP     "\t.long\t8,"

I'm not sure if the above is correct!!! Especially the int,long,long.

I followed the 'Re: fix execute/20010518-2.c' thread in gcc-patches.

No, I'm not an expert, I tried and errored, but now I come at least in Bstage1.

Any comments?



CVS'ed 3.1 from today

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