On Tue, 18 Jul 2017 21:12:41 -0400 "Isaac D. Cohen" <[email protected]> wrote:
> make check. It compiled a little and then got stuck on this: > > tst-thread_local1.cc: In lambda function: > tst-thread_local1.cc:172:7: error: 'thread' is not a member of 'std' ---- On Wed, 19 Jul 2017 23:29:15 -0400 Michael Shell<[email protected]> wrote ---- > Isaac, > A google search found this: https://www.mail-archive.com/[email protected]/msg81240.html https://www.mail-archive.com/[email protected]/msg81257.html > "Yes, I finally realized I had built a GCC with '--enable-threads=no' > and was using that GCC to build GLIBC. Once I rebuilt GCC with threads > I could build GLIBC and not get this error." > In the book, the first pass of gcc is built without thread support, but > thread support should be enabled for the second pass (5.10.1). Hi Michael, I looked up the command I used to configure gcc on the second pass (or perhaps the third as I redid the second pass to make gcc work in the chroot environment) and it exactly matched the command in the book. (I looked it up using the command gcc -v.) That is, it didn't use --disable-threads. However, it didn't use --enable-threads either (the book didn't say to). But then I decided to try, just to make sure, and redo the second pass of gcc with --enable-threads. After doing that I redid the compilation of glibc and got the same error. So that doesn't seem to be the problem. Thank you very much, Isaac D. Cohen
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
