GCC 4.8 allows thread local to work