On Tuesday 20 May 2008 22:46, Bernhard Fischer wrote:
> On Tue, May 20, 2008 at 09:43:38PM +0200, Denys Vlasenko wrote:
> >On Tuesday 20 May 2008 21:35, Denys Vlasenko wrote:
> >> On Tuesday 20 May 2008 20:52, Bernhard Fischer wrote:
> >> > >which should change nothing - __pthread_initialize is not mentined 
> >> > >anywhere else
> >> > >in forward.i.c - and run the second command - it will NOT warn!
> >> > >
> >> > >Looks like gcc bug to me.
> >> > 
> >> > hmz. I'll try to reproduce this sometimes in the next days. Do you have
> >> > a small standalone testcase that exposes this alleged bug that you could
> >> > put into the gcc bugzilla, by chance?
> >> 
> >> Not yet.
> >
> >Here is it. Just run "gcc -c test.c" on this:
> >
> >#pragma weak __pthread_initialize
> 
> aha. I'm not a fan of pragma, and i wouldn't be surprised if this would
> work if you would (properly, i'd tend to say) use the attribute.
> Something like
> extern int __pthread_initialize(void) __attribute__((weak));
> any better?

Possibly. Pthreads seems to need some cleanups...
--
vda
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to