Path: csiph.com!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!171.64.64.130.MISMATCH!usenet.stanford.edu!not-for-mail From: Jan Boehme Newsgroups: gnu.g++.help Subject: GCC 7.3 g++.dg/tls/thread_local-order2.C fails on Centos 6 Date: Thu, 15 Feb 2018 09:03:57 +0100 Lines: 39 Approved: help-gplusplus@gnu.org Message-ID: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1518682049 15473 208.118.235.17 (15 Feb 2018 08:07:29 GMT) X-Complaints-To: action@cs.stanford.edu To: help-gplusplus@gnu.org Envelope-to: help-gplusplus@gnu.org X-Injected-Via-Gmane: http://gmane.org/ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 X-Mozilla-News-Host: news://news.gmane.org:119 Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gplusplus@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU C++ compiler List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.g++.help:344 Hi, 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: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=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-2.20.51.0.2-5.44.el6.x86_64 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++ \ --with-build-config=bootstrap-O3 I appreciate any hint to overcome this issue. Thanks, Jan