[Bug other/26489] [4.1/4.2 Regression] compilation of c++ fails in eh_alloc.cc on NetBSD

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 28 02:07:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list