[LLVMdev] llvm-gcc bootsrtap on ARM
Evan Cheng
evan.cheng at apple.com
Fri Nov 2 10:21:20 PDT 2007
On Nov 2, 2007, at 2:43 AM, Rafael Espindola wrote:
> Hello,
>
> 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,
etc.
Evan
>
> 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?
>
> Thanks,
> --
> Rafael Avila de Espindola
>
> Google Ireland Ltd.
> Gordon House
> Barrow Street
> Dublin 4
> Ireland
>
> Registered in Dublin, Ireland
> Registration Number: 368047
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list