This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap fail on darwin
- To: GCC <gcc at gcc dot gnu dot org>, Stan Shebs <shebs at apple dot com>
- Subject: Re: bootstrap fail on darwin
- From: Andreas Tobler <toa at pop dot agri dot ch>
- Date: Fri, 24 Aug 2001 16:17:56 +0200
- Organization: zero
- References: <3B856650.A951286F@pop.agri.ch>
- Reply-To: toa at pop dot agri dot ch
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,"
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?
Andreas
P.S.
CVS'ed 3.1 from today