Wesley Peck
2010-Mar-02 17:10 UTC
[LLVMdev] Build Errors on Snow Leopard (tblgen assertion)
On the trunk version of LLVM I am getting the following build error on Snow Leopard (v10.6.2): llvm[3]: Building X86.td DAG instruction selector implementation with tblgen Assertion failed: (LHS->ID != RHS->ID), function operator(), file /Users/peckw/Projects/llvm/llvm-pristine/utils/TableGen/DAGISelEmitter.cpp, line 183. ... <cut - see full_stack_trace.txt> 0. Program arguments: /Users/peckw/Projects/llvm/build/pristine/Debug+Checks/bin/tblgen -I /Users/peckw/Projects/llvm/llvm-pristine/lib/Target/X86 -I /Users/peckw/Projects/llvm/llvm-pristine/include -I /Users/peckw/Projects/llvm/llvm-pristine/include -I /Users/peckw/Projects/llvm/llvm-pristine/lib/Target -gen-dag-isel -o /Users/peckw/Projects/llvm/build/pristine/lib/Target/X86/Debug+Checks/X86GenDAGISel.inc.tmp /Users/peckw/Projects/llvm/llvm-pristine/lib/Target/X86/X86.td make[3]: *** [/Users/peckw/Projects/llvm/build/pristine/lib/Target/X86/Debug+Checks/X86GenDAGISel.inc.tmp] Abort trap I get this build error on every single backend when building the DAG Instruction selector using tblgen. This build error comes from an unmodified checkout of the LLVM trunk repository this morning. Attached to this email are the full stack trace and some information about the machine and compiler the error was generated on. If I comment out the assertion mentioned in the build error then everything builds correctly. The same configuration options and machine built the LLVM trunk fine one week ago. -- Wesley Peck University of Kansas SLDG Laboratory -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100302/2a5bffbb/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log.gz Type: application/x-gzip Size: 18823 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100302/2a5bffbb/attachment.bin> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100302/2a5bffbb/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: full_stack_trace.txt.gz Type: application/x-gzip Size: 919 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100302/2a5bffbb/attachment-0001.bin> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100302/2a5bffbb/attachment-0002.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: gcc_specs.txt.gz Type: application/x-gzip Size: 3315 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100302/2a5bffbb/attachment-0002.bin> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100302/2a5bffbb/attachment-0003.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: gcc_version.txt.gz Type: application/x-gzip Size: 251 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100302/2a5bffbb/attachment-0003.bin> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100302/2a5bffbb/attachment-0004.html>
Chris Lattner
2010-Mar-02 18:15 UTC
[LLVMdev] Build Errors on Snow Leopard (tblgen assertion)
Does r97574 fix it? -Chris On Mar 2, 2010, at 9:10 AM, Wesley Peck wrote:> On the trunk version of LLVM I am getting the following build error on Snow Leopard (v10.6.2): > llvm[3]: Building X86.td DAG instruction selector implementation with tblgen > Assertion failed: (LHS->ID != RHS->ID), function operator(), file /Users/peckw/Projects/llvm/llvm-pristine/utils/TableGen/DAGISelEmitter.cpp, line 183. > > ... <cut - see full_stack_trace.txt> > > 0. Program arguments: /Users/peckw/Projects/llvm/build/pristine/Debug+Checks/bin/tblgen -I /Users/peckw/Projects/llvm/llvm-pristine/lib/Target/X86 -I /Users/peckw/Projects/llvm/llvm-pristine/include -I /Users/peckw/Projects/llvm/llvm-pristine/include -I /Users/peckw/Projects/llvm/llvm-pristine/lib/Target -gen-dag-isel -o /Users/peckw/Projects/llvm/build/pristine/lib/Target/X86/Debug+Checks/X86GenDAGISel.inc.tmp /Users/peckw/Projects/llvm/llvm-pristine/lib/Target/X86/X86.td > make[3]: *** [/Users/peckw/Projects/llvm/build/pristine/lib/Target/X86/Debug+Checks/X86GenDAGISel.inc.tmp] Abort trap > > I get this build error on every single backend when building the DAG Instruction selector using tblgen. This build error comes from an unmodified checkout of the LLVM trunk repository this morning. > > Attached to this email are the full stack trace and some information about the machine and compiler the error was generated on. If I comment out the assertion mentioned in the build error then everything builds correctly. The same configuration options and machine built the LLVM trunk fine one week ago. > > <config.log.gz> > <full_stack_trace.txt.gz> > <gcc_specs.txt.gz> > <gcc_version.txt.gz> > > -- > Wesley Peck > University of Kansas > SLDG Laboratory > > > > _______________________________________________ > 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/20100302/eac8f7f7/attachment.html>