Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#5718 closed bug (fixed)

Missing __cxa_atexit in libroot.so

Reported by: TechnoMancer Owned by: bonefish
Priority: normal Milestone: R1
Component: System/libroot.so Version: R1/Development
Keywords: __cxa_atexit __cxa_finalize clang Cc: mdisreali@…
Blocked By: Blocking:
Platform: All

Description

the symbol "__cxa_atexit" is missing from libroot.so from the mailing list ingo says that "__cxa_finalize" is missing too. These functions are meant to be in the standard runtime according to the intel Itanium C++ ABI so I believe they should be implemented. This will remove another issue with clang working cleanly on haiku.

Change History (4)

comment:1 by Disreali, 14 years ago

Cc: mdisreali@… added

comment:2 by bonefish, 13 years ago

Owner: changed from axeld to bonefish
Status: newin-progress

comment:3 by bonefish, 13 years ago

Resolution: fixed
Status: in-progressclosed

The functions are implemented in hrev39298. Until the compiler actually makes use of them, they can't really be tested, though.

comment:4 by TechnoMancer, 13 years ago

I can confirm that clang builds stuff without the -fno-use-cxa-atexit flag and the stuff links without missing symbols errors. My simple test program (using iostream which will produce uses of __cxa_atexit) runs correctly too so I believe these are working as desired. Thank you for implementing them.

Note: See TracTickets for help on using tickets.