This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap fail on darwin
Andreas Tobler wrote:
>
> 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 "\t.int\t2,"
> #define UNALIGNED_INT_ASM_OP "\t.long\t4,"
> #define UNALIGNED_DOUBLE_INT_ASM_OP "\t.long\t8,"
These should probably be .short/.long/.quad, but I want to double
check alignment behavior before adding them.
Stan