GCC 7.3 g++.dg/tls/thread_local-order2.C fails on Centos 6

Jan Boehme jan.boehme@gmail.com
Thu Feb 15 19:00:00 GMT 2018


I'm working on building GCC 7.3 on Centos6.8.

I'm running in the same issue as described in GCC bug ticket 79427:

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

The executable runs into abort() caused by a wrong destruction order
tracked by counter variables due to a possible malfunction of thread_local

My libc is glibc-2.12-1.192.el6.x86_64
binutils are binutils-

My configure flags are:

--disable-libstdcxx-pch \
--disable-multilib \
--enable-shared \
--enable-static \
--enable-__cxa_atexit \
--enable-tls \
--enable-clocale=gnu \
--enable-threads=posix \
--enable-languages=c++ \
--enable-ld=yes \
--enable-gold=yes \
CC=/usr/bin/gcc \
CXX=/usr/bin/g++ \

I appreciate any hint to overcome this issue.


More information about the Gcc-help mailing list