[uClibc] __cxa_atexit/__cxa_finalize complete implementation

Stephen Warren swarren at wwwdotorg.org
Fri Aug 19 21:08:09 UTC 2005


Joakim Tjernlund wrote:
>>Possible issues:
>>
>>* I included <bits/atomicity.h> to implement __cxa_finalize (I need
>>compare_and_swap). When I do a non-debug build of uClibc, this file
>>generates warnings saying "warning: matching constraint does
>>not allow a register". When I build a debug uClibc, this file generates
>>an errot!
> 
> Looks like stuff in atomicity.h is broken. Futhermore from what I can gather from the www,
> atomicity.h should die and be relplaced by atomic.h. Probably best to copy that
> stuff from glibc.

Hmmm. I guess I should look at whipping up another patch to pull that in
first. I probably won't be able to get to that for a week or maybe two.

Anybody else feel like volunteering for the atomic.h pull-in?

I noticed just a couple places in pthreads (maybe elsewhere) using
<bits/atomicity.h> too, so I guess those should be replaced if that
header really is completely broken...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20050819/049cfae0/attachment.pgp 


More information about the uClibc mailing list