------- Comment #8 from pinskia at gcc dot gnu dot org 2006-02-28 02:00 ------- Just to show what I am talking about: extern __typeof(__libc_thr_once) __gthrw_pthread_once __attribute__ ((__weakref__("pthread_once")));
That is wrong as __gthrw_pthread_once should be a weak link to __libc_thr_once and not pthread_once. So it was wrong before Roger's patch, just Roger's patch exposed a build failure instead. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26489