#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 , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → in-progress |
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | in-progress → closed |
comment:4 by , 14 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.
The functions are implemented in hrev39298. Until the compiler actually makes use of them, they can't really be tested, though.