[haiku-development] Re: __cxa_atexit missing from libroot.so

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 13 Apr 2010 11:36:26 +0200

On 04/13/2010 10:21 AM, Paul Davey wrote:
> On Tue, Apr 13, 2010 at 8:03 PM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote:
>> On 2010-04-13 at 05:47:09 [+0200], Paul Davey <plmdvy@xxxxxxxxx> wrote:
>>> I cant find __cxa_atexit in libroot.so
>>> Is there a reason it isn't there or is this a bug?
>>
>> Is there a reason it should be there?
> 
> clang uses it for certain C++ things. its part of the Itanium C++
> abi... there is a file implementing it in glibc.
> I may be able to stop clang using it but I think it would be better to
> have it...
> I wonder how gcc 4.3.3 is told not to use it since it uses it by
> default too I think.

Maybe you just happen to forget to link against libsupc++.so?

Bye,
   Axel.

Other related posts: