------- Comment #4 from pinskia at gcc dot gnu dot org 2009-03-05 18:08 ------- Lets look at the source: static __thread abi::__cxa_eh_globals global; return &global;
So I still think this is a bug in glibc. Look how we just return the address to TLS variable. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39366