[CentOS-devel] G++ Testsuite tls/thread_local-order2.C fails with 4.8.5 20150623 and older

Mon Feb 19 15:42:45 UTC 2018
Jan Boehme <jan.boehme at googlemail.com>


while playing with building a current gcc by myself I detected that the 
latest Centos 7 g++ isn't able to pass the respective test suite because of

FAIL: g++.dg/tls/thread_local-order2.C  -std=c++11 execution test

Is this accepted behavior? If so, it basically breaks C++11 support on 
this platform. What is already known in terms of a cause? Is it a glibc 
problem (I'm not seeing it using Fedora with glibc 2.26)?

g++ --version
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16)

g++ /tmp/gcc-7.3.0/gcc/testsuite/g++.dg/tls/thread_local-order2.C -o 
/tmp/thread_local-order2.exe -std=c++11

Aborted (core dumped)

GNU C Library (GNU libc) stable release version 2.17

Thanks, Jan.