[LLVMdev] llvm-gcc bootsrtap on ARM
evan.cheng at apple.com
Fri Nov 2 10:21:20 PDT 2007
On Nov 2, 2007, at 2:43 AM, Rafael Espindola wrote:
> I am trying to bootstrap on ARM linux EABI using a qemu chroot to
> better test my changes on at least one more architecture.
> I am using the following configure line:
> ../gcc/configure --prefix=/home/espindola/install/
> --program-prefix=llvm- --enable-languages=c --disable-shared
> --disable-multilib --enable-llvm=/home/espindola/build
> --enable-checking arm-linux-gnueabi
> The bootstrap fails in the most annoying point possible, a compare
> difference between arm.o in stages 2 and 3.
Ouch. That's not pleasant. This probably means cc1 is miscompiled. If
you are able to narrow it down to which .o file is miscompiled you
can let bugpoint grind it out for you. Use the good arm.s as --output
argument, specify all the .o files and .a files as part of link line,
> Before I try a manual bootstrap (compile gcc 3 times from scratch),
> has someone succeeded is doing a similar bootstrap recently? What
> version of llvm, llvm-gcc and qemu have you used?
> Rafael Avila de Espindola
> Google Ireland Ltd.
> Gordon House
> Barrow Street
> Dublin 4
> Registered in Dublin, Ireland
> Registration Number: 368047
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev