The llvm bootstrap is broken on linux x86_64. I was able to reduce the problem to the attached .c file that fails to compile with the following error message: stage1/cc1 ~/test.c yyparse Attribute ZExt should only apply to Integer type! void (i64, i64, i8* sext , i8)* @c_finish_if_stmt Broken module found, compilation aborted! /home/espindola/test.c:17: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://llvm.org/bugs> for instructions. Should I add a bug report? Cheers, Rafael -------------- next part -------------- A non-text attachment was scrubbed... Name: test.c Type: text/x-csrc Size: 188 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070613/08c3a23b/attachment.c>
Using a little bit of gdb I was able to dump the .ll. It is attached. Running llvm-as on it produces: llvm-as: assembly parsed, but does not verify as correct! Attribute ZExt should only apply to Integer type! void (i64, i64, i8* sext , i8)* @c_finish_if_stmt Broken module found, compilation terminated. Cheers, Rafael -------------- next part -------------- A non-text attachment was scrubbed... Name: test.ll Type: application/octet-stream Size: 1106 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070614/de153c5e/attachment.obj>
Hi Rafael, Can you file a bugzilla report? Thanks, Evan On Jun 13, 2007, at 4:39 PM, Rafael Espíndola wrote:> Using a little bit of gdb I was able to dump the .ll. It is attached. > > Running llvm-as on it produces: > > llvm-as: assembly parsed, but does not verify as correct! > Attribute ZExt should only apply to Integer type! > void (i64, i64, i8* sext , i8)* @c_finish_if_stmt > Broken module found, compilation terminated. > > Cheers, > Rafael > <test.ll> > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Possibly Parallel Threads
- [LLVMdev] bootstrap broken on linux x86_64
- [LLVMdev] bootstrap broken on linux x86_64
- [LLVMdev] bootstrap broken on linux x86_64
- [LLVMdev] [LoopVectorizer] Missed vectorization opportunities caused by sext/zext operations
- RFC: Killing undef and spreading poison