[uClibc] __cxa_atexit/__cxa_finalize complete implementation

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Sun Aug 21 17:14:29 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?

Actually, it is already in uClibc. Sjhill added it a few months ago for all archs but 
PowerPC and Sparc, see http://uclibc.org/cgi-bin/viewcvs.cgi?rev=10306&view=rev

 Jocke



More information about the uClibc mailing list