[uClibc] __cxa_atexit/__cxa_finalize complete implementation

Mike Frysinger vapier at gentoo.org
Fri Aug 19 21:21:25 UTC 2005


On Friday 19 August 2005 05:08 pm, Stephen Warren wrote:
> 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...

we try to not touch pthreads if we can avoid it ;)
-mike



More information about the uClibc mailing list