[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp

Won J Jeon wjjeon at gmail.com
Wed Jul 8 21:19:43 PDT 2009


traps.i has been attached. I used 'make CROSS_COMPILE=llvm-arm-' to compile
the kernel with default configurations provided by kernel package If you
need more information, please let me know.

Thanks,
Won
On Wed, Jul 8, 2009 at 3:00 PM, Bob Wilson <bob.wilson at apple.com> wrote:

>  Thanks for the bug report.  The attached file isn't helpful for
> reproducing the problem.  I don't have all the header files that are
> included, so I can't just try to run it through my version of llvm-gcc and
> see what happens.  At a minimum, please attach the preprocessed source file
> along with the complete llvm-gcc command line that you used to compile it.
>  That would probably be good enough, but since I don't have a copy of
> llvm-gcc configured for OMAP Linux, it would be much better if you could
> submit the LLVM bitcode file.  Have a look at the following doc on the LLVM
> website:
>
> http://www.llvm.org/docs/HowToSubmitABug.html
>
> Thanks!
>
>  On Jul 8, 2009, at 12:48 PM, Won J Jeon wrote:
>
>  Bug #4521 has been filed. traps.c has been also attached.
>
> Thanks,
> Won
>
> On Wed, Jul 8, 2009 at 1:38 PM, Bob Wilson <bob.wilson at apple.com> wrote:
>
>>
>>  On Jul 8, 2009, at 11:16 AM, Won J Jeon wrote:
>>
>>  Hello,
>>
>> While I was trying to cross-compile Linux OMAP kernel with llvm, I have
>> the following error message.
>>
>>    CC      arch/arm/kernel/traps.o
>>   cc1:
>> /home/wonjeon/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp:5388: void
>> llvm::SelectionDAGLowering::visitInlineAsm(llvm::CallSite): Assertion
>> `(OpInfo.ConstraintType == TargetLowering::C_RegisterClass ||
>> OpInfo.ConstraintType == TargetLowering::C_Register) && "Unknown constraint
>> type!"' failed.
>>   arch/arm/kernel/traps.c:748: internal compiler error: Aborted
>>   Please submit a full bug report,
>>   with preprocessed source if appropriate.
>>   See <URL:http://llvm.org/bugs/> for instructions
>>
>>
>> Is there any related bug filed or fixed? Thanks in advance.
>>
>>
>> There's not enough information in your message to know what the problem
>> is, but I'm not aware of anything offhand.  Please file a bug report with a
>> reproducible testcase and I'll take a look at it.
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090708/ed4f4d21/attachment.html>


More information about the llvm-dev mailing list