https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67092
--- Comment #8 from vries at gcc dot gnu.org --- (In reply to vries from comment #7) > I start to suspect it's related to this configure bit: > ... > --with-host-libstdcxx=-L/usr/local/tools/gcc-4.7.3/lib64 -static-libgcc > -Wl,-Bstatic,-lstdc++,-Bdynamic -lm > ... > full configure: ... Using built-in specs. COLLECT_GCC=./obj/gcc-mainline-0-x86_64-unknown-linux-gnu-x86_64-unknown-linux-gnu/prev-gcc/xgcc Target: x86_64-unknown-linux-gnu Configured with: src/gcc-mainline/configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --enable-threads --disable-libmudflap --disable-libssp --disable-libstdcxx-pch --disable-multilib --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --enable-shared --enable-lto --disable-nls --prefix=install --with-gmp=obj/pkg-mainline-0-x86_64-unknown-linux-gnu/fsf-mainline-0-x86_64-unknown-linux-gnu.extras/host-libs-x86_64-unknown-linux-gnu/usr --with-mpfr=obj/pkg-mainline-0-x86_64-unknown-linux-gnu/fsf-mainline-0-x86_64-unknown-linux-gnu.extras/host-libs-x86_64-unknown-linux-gnu/usr --with-mpc=obj/pkg-mainline-0-x86_64-unknown-linux-gnu/fsf-mainline-0-x86_64-unknown-linux-gnu.extras/host-libs-x86_64-unknown-linux-gnu/usr --with-host-libstdcxx='-L/usr/local/tools/gcc-4.7.3/lib64 -static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-isl=obj/pkg-mainline-0-x86_64-unknown-linux-gnu/fsf-mainline-0-x86_64-unknown-linux-gnu.extras/host-libs-x86_64-unknown-linux-gnu/usr --enable-libgomp --enable-libitm --enable-libatomic --disable-libssp --with-build-time-tools=install/x86_64-unknown-linux-gnu/bin --with-build-time-tools=install/x86_64-unknown-linux-gnu/bin SED=sed Thread model: posix gcc version 6.0.0 20150801 (experimental) (GCC) ...