Boost logo

Boost :

Subject: Re: [boost] llvm anyone?
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2008-11-12 11:07:06


Giovanni Piero Deretta wrote:

> On Wed, Nov 12, 2008 at 4:34 PM, Marshall Clow <marshall_at_[hidden]> wrote:
>> At 10:29 AM -0500 11/12/08, Neal Becker wrote:
>>>
>>> Anyone testing on llvm compiler? (I'm trying it now on linux F9 x86_64
>>> llvm-2.4)
>>
>> I believe that the llvm support for C++ is best described as "currently
>> quite limited".
>> I expect this to change over the next year or so, though.
>
> The clang front end is certainly only in an experimental stage, but
> LLVM also support the gcc front end (LLVM-gcc) which means that its
> C++ support should be about as good as native GCC. As the backend is
> quite different and there might be some small differences in the front
> end, it might still make sense to test on it.
>
I built boost-1.37.0 using llvm-2.4 + llvm-gcc-4.2-2.4. Using boost::python I get:

Program received signal SIGSEGV, Segmentation fault.
0xfffffffffd4c3720 in ?? ()
(gdb) where
#0 0xfffffffffd4c3720 in ?? ()
#1 0x00000033fc810c66 in _Unwind_RaiseException () from /lib64/libgcc_s.so.1
#2 0x00000033fd4c3dbd in __cxa_throw () from /usr/lib64/libstdc++.so.6
#3 0x0000000000636df3 in boost::python::throw_error_already_set () from /usr/local/src/boost-llvm.hg/stage/lib/libboost_python.so
#4 0x000000000063a82f in boost::python::objects::stop_iteration_error () from /usr/local/src/boost-llvm.hg/stage/lib/libboost_python.so

I think something wrong with exception handling.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk