3.11.0-rc1 fails to build with "undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'"
I'm using 3.11.0-rc1 on GNU Guix with glibc 2.26 and GCC 5.5.0.
3.10.2 works fine.
Excerpt:
ld: CMakeFiles/CMakeLibTests.dir/testUVRAII.cxx.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/gnu/store/n6acaivs0jwiwpidjr551dhdni5kgpcr-glibc-2.26.105-g0890d5379c/lib/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build.make:214: Tests/CMakeLib/CMakeLibTests] Error 1
make[1]: *** [CMakeFiles/Makefile2:2058: Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....