In trying to compile the latest version of clang with the latest version of llvm, I have been getting the compilation error below.<br>It seems it is not a new issue (see <a href="http://permalink.gmane.org/gmane.comp.compilers.llvm.bugs/13921">http://permalink.gmane.org/gmane.comp.compilers.llvm.bugs/13921</a>). However, I can't tell if it's been resolved or not.<br>
I am working from a Mac OS X 10.6.8.<br><br>Could somebody please tell me the latest version of clang that is guaranteed to be working with a latest of llvm?<br><br>Thanks,<br>-- Larisse. <br><br>
---------------------------------------------------------------------------------------<br>Assertion failed: (Arg), function run, file ClangAttrEmitter.cpp, line 479.<br>0  tblgen            0x000000010018ba4c PrintStackTrace(void*) + 38<br>
1  tblgen            0x000000010018c007 SignalHandler(int) + 254<br>2  libSystem.B.dylib 0x00007fff8674d1ba _sigtramp + 26<br>3  libSystem.B.dylib 0x0000000000000010 _sigtramp + 2039164528<br>4  tblgen            0x0000000100006e47 raise + 27<br>
5  tblgen            0x0000000100006e57 abort + 14<br>6  tblgen            0x0000000100006ee4 __gnu_cxx::new_allocator<llvm::sys::Path>::new_allocator() + 0<br>7  tblgen            0x0000000100051e32 llvm::ClangAttrClassEmitter::run(llvm::raw_ostream&) + 736<br>
8  tblgen            0x00000001001567d5 main + 1927<br>9  tblgen            0x00000001000080fc start + 52<br>Stack dump:<br>0.    Program arguments: /Users/annlarysm/llvm/Debug+Asserts/bin/tblgen -I /Users/annlarysm/llvm/tools/clang/include/clang/AST -I /Users/annlarysm/llvm/include -I /Users/annlarysm/llvm/include -I /Users/annlarysm/llvm/lib/Target -gen-clang-attr-classes -o /Users/annlarysm/llvm/tools/clang/include/clang/AST/Debug+Asserts/Attrs.inc.tmp -I /Users/annlarysm/llvm/tools/clang/include/clang/AST/../../ /Users/annlarysm/llvm/tools/clang/include/clang/AST/../Basic/Attr.td <br>
make[5]: *** [/Users/annlarysm/llvm/tools/clang/include/clang/AST/Debug+Asserts/Attrs.inc.tmp] Illegal instruction<br>make[4]: *** [all] Error 1<br>make[3]: *** [all] Error 1<br>make[2]: *** [all] Error 1<br>make[1]: *** [clang/.makeall] Error 2<br>
make[1]: *** Waiting for unfinished jobs....<br>llvm[2]: ======= Finished Linking Debug+Asserts Executable bugpoint<br>make: *** [all] Error 1<br>---------------------------------------------------------------------------------------<br>