[LLVMdev] llvm-gcc won't bootstrap

Devang Patel dpatel at apple.com
Thu Apr 19 16:06:24 PDT 2007


On Apr 19, 2007, at 2:37 PM, David Greene wrote:

> Got a strange problem.  With our modified llvm here,llvm-gcc won't
> bootstrap.  It fails compiling unwind-dw2.c during translation from
> the gcc IR to llvm.  It fails with -O0 -emit-llvm so according to
> the docs, this is strictly a frontend bug.  A run of delta produced
> an 18 line testcase with nothing remarkable in it.
>
> However, it bootstraps fine using the official llvm sources.  Note
> that the llvm-gcc sources used in both builds is identical.

unwind-dw2.c is compiled using newly built llvm-gcc which uses your  
version of llvm for optimization and code generation.  So there may be  
a bug somewhere in your version of llvm that is mis-compiling llvm-gcc  
that is used to compile unwind-dw2.c.
-
Devang

>
>
> How can this be?
>
>                                -Dave
> _______________________________________________
> 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