Won J Jeon
2009-Jul-08 18:16 UTC
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
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. Won -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090708/e8dc4c7a/attachment.html>
Bob Wilson
2009-Jul-08 18:38 UTC
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090708/35fe8922/attachment.html>
Bill Wendling
2009-Jul-08 18:40 UTC
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
Hi Won, It's hard to say. Could you prepare a small testcase (a .bc file for example) and file a PR? Thanks! -bw On Wed, Jul 8, 2009 at 11:16 AM, Won J Jeon<wjjeon at gmail.com> 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. > > > > Won > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >
Anton Korobeynikov
2009-Jul-08 18:55 UTC
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
Hello> 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.Looks like inline asm problem -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Won J Jeon
2009-Jul-08 19:48 UTC
[LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
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 > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090708/f4edd2d0/attachment.html>
Maybe Matching Threads
- [LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
- [LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
- [LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
- [LLVMdev] Internal compiler error in SelectionDAGBuild.cpp
- [LLVMdev] [ia64] Assertion failed: (!OpInfo.AssignedRegs.Regs.empty() && "Couldn't allocate input reg!")