[cfe-dev] Compiling latest clang...
Larisse Voufo
lvoufo at cs.indiana.edu
Mon Jul 18 07:14:31 PDT 2011
In trying to compile the latest version of clang with the latest version of
llvm, I have been getting the compilation error below.
It seems it is not a new issue (see
http://permalink.gmane.org/gmane.comp.compilers.llvm.bugs/13921). However, I
can't tell if it's been resolved or not.
I am working from a Mac OS X 10.6.8.
Could somebody please tell me the latest version of clang that is guaranteed
to be working with a latest of llvm?
Thanks,
-- Larisse.
---------------------------------------------------------------------------------------
Assertion failed: (Arg), function run, file ClangAttrEmitter.cpp, line 479.
0 tblgen 0x000000010018ba4c PrintStackTrace(void*) + 38
1 tblgen 0x000000010018c007 SignalHandler(int) + 254
2 libSystem.B.dylib 0x00007fff8674d1ba _sigtramp + 26
3 libSystem.B.dylib 0x0000000000000010 _sigtramp + 2039164528
4 tblgen 0x0000000100006e47 raise + 27
5 tblgen 0x0000000100006e57 abort + 14
6 tblgen 0x0000000100006ee4
__gnu_cxx::new_allocator<llvm::sys::Path>::new_allocator() + 0
7 tblgen 0x0000000100051e32
llvm::ClangAttrClassEmitter::run(llvm::raw_ostream&) + 736
8 tblgen 0x00000001001567d5 main + 1927
9 tblgen 0x00000001000080fc start + 52
Stack dump:
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
make[5]: ***
[/Users/annlarysm/llvm/tools/clang/include/clang/AST/Debug+Asserts/Attrs.inc.tmp]
Illegal instruction
make[4]: *** [all] Error 1
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [clang/.makeall] Error 2
make[1]: *** Waiting for unfinished jobs....
llvm[2]: ======= Finished Linking Debug+Asserts Executable bugpoint
make: *** [all] Error 1
---------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110718/263f69ff/attachment.html>
More information about the cfe-dev
mailing list