On Thu, Jun 30, 2011 at 4:00 PM, Øyvind Harboe <oyvind.harboe at
zylin.com> wrote:> On Thu, Jun 30, 2011 at 3:43 PM, Duncan Sands <baldrick at free.fr>
wrote:
>> On 30/06/11 15:13, Øyvind Harboe wrote:
>>>> Sorry, I meant from which version of clang? I'm using
Ubuntu 10 and
>>>> I was wondering if clang/llvm 2.8 would do it.
>>>
>>> Perhaps I better try the latest, got an error when I tried 2.8:
>>
>> C++ support in clang 2.8 was poor.
>
> I'll try to build & install clang from svn/git and see how that
goes...
Hmmm... it crashed. Last time I tried to build it it worked. I'll try
2.9 release sources.
llvm[5]: Building Clang attribute classes with tblgen
0 tblgen 0x000000000054163f
1 tblgen 0x0000000000541e37
2 libpthread.so.0 0x00002b63f82fdc60
3 tblgen 0x000000000043c0cc
4 tblgen 0x000000000051c896
5 libc.so.6 0x00002b63f8ed1eff __libc_start_main + 255
6 tblgen 0x00000000004061b9
Stack dump:
0. Program arguments: /home/oyvind/llvm/build/Release/bin/tblgen -I
/home/oyvind/llvm/llvm/tools/clang/include/clang/AST -I
/home/oyvind/llvm/llvm/include -I /home/oyvind/llvm/llvm/include -I
/home/oyvind/llvm/llvm/lib/Target -gen-clang-attr-classes -o
/home/oyvind/llvm/build/tools/clang/include/clang/AST/Release/Attrs.inc.tmp
-I /home/oyvind/llvm/llvm/tools/clang/include/clang/AST/../../
/home/oyvind/llvm/llvm/tools/clang/include/clang/AST/../Basic/Attr.td
make[5]: ***
[/home/oyvind/llvm/build/tools/clang/include/clang/AST/Release/Attrs.inc.tmp]
Segmentation fault
--
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/