id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12210,compiling PCH with gcc 6.1 fails,dirk@…,John Maddock,"Math libraries PCH fail with gcc 6.1: {{{ ""g++"" -ftemplate-depth-128 -fno-inline -Wall -g -m64 -fvisibility=hidden -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -I""bin.v2/libs/math/build/gcc-6.1.0/debug/link-static/runtime-link-static/../src/tr1"" -I""."" -I""libs/math/src/tr1"" -c -o ""bin.v2/libs/math/build/gcc-6.1.0/debug/link-static/runtime-link-static/truncl.o"" ""libs/math/build/../src/tr1/truncl.cpp"" g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. }}} When adding --std=c++11 I get a warning but it's working (default mode of gcc 6.1 is c++14) {{{ ""g++"" --std=c++11 -ftemplate-depth-128 -fno-inline -Wall -g -m64 -fvisibility=hidden -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -I""bin.v2/libs/math/build/gcc-6.1.0/debug/link-static/runtime-link-static/../src/tr1"" -I""."" -I""libs/math/src/tr1"" -c -o ""bin.v2/libs/math/build/gcc-6.1.0/debug/link-static/runtime-link-static/truncl.o"" ""libs/math/build/../src/tr1/truncl.cpp"" libs/math/build/../src/tr1/truncl.cpp:6:21: warning: bin.v2/libs/math/build/gcc-6.1.0/debug/link-static/runtime-link-static/../src/tr1/pch.hpp.gch: not used because `__cpp_aggregate_nsdmi' not defined [-Winvalid-pch] }}} ",Bugs,closed,To Be Determined,math,Boost 1.61.0,Problem,worksforme,,