https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- > > As for boost, I don't think any special configuration or version is required > to make it happen ... [time passes...] got it, the specific build step that > tends** to cause the failure is: > > /usr/bin/x86_64-pc-linux-gnu-g++ -fvisibility-inlines-hidden -O3 > -march=native -pipe -std=c++14 -fPIC -m64 -pthread -finline-functions > -Wno-inline -Wall -fvisibility=hidden -ftemplate-depth-255 > -fvisibility=hidden -fvisibility-inlines-hidden -DBOOST_ALL_NO_LIB=1 > -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG -I. -c -o > bin.v2/libs/serialization/build/gcc-10.1/gentoorelease/pch-off/threading- > multi/visibility-hidden/xml_grammar.o libs/serialization/src/xml_grammar.cpp Please attach a pre-processed source file (use -E option) to this bug. Note I don't use Gentoo Linux, so I can't easily build the boost package.