Re: glibc test tst-thread_local1.cc fails to compile with latest GCC

2016-10-21 Thread Steve Ellcey
On Fri, 2016-10-21 at 17:03 +0100, Jonathan Wakely wrote: >  > > Is there some C++ standard change that I am not aware of or some > > other header file I need to include? > No, what probably happened is GCC didn't detect a usable Pthreads > implementation and so doesn't define std::thread. The hea

Re: glibc test tst-thread_local1.cc fails to compile with latest GCC

2016-10-21 Thread Jonathan Wakely
On 19 October 2016 at 18:45, Ellcey, Steve wrote: > I have built the latest glibc sources with a ToT GCC and am trying to run the > glibc testsuite now. I ran into a couple of > new warnings that I fixed (locally) and am now looking at > nptl/tst-thread_local1.cc which dies with: > > tst-thread_

Re: glibc test tst-thread_local1.cc fails to compile with latest GCC

2016-10-19 Thread Andrew Pinski
On Wed, Oct 19, 2016 at 10:45 AM, Ellcey, Steve wrote: > I have built the latest glibc sources with a ToT GCC and am trying to run the > glibc testsuite now. I ran into a couple of > new warnings that I fixed (locally) and am now looking at > nptl/tst-thread_local1.cc which dies with: > > tst-t

glibc test tst-thread_local1.cc fails to compile with latest GCC

2016-10-19 Thread Ellcey, Steve
I have built the latest glibc sources with a ToT GCC and am trying to run the glibc testsuite now. I ran into a couple of new warnings that I fixed (locally) and am now looking at nptl/tst-thread_local1.cc which dies with: tst-thread_local1.cc:172:7: error: ‘thread’ is not a member of ‘std’