https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105671
--- Comment #1 from Cristian Morales Vega <christian.morales.vega at gmail dot com> --- It's in the full verbose build log, but failed to include it here. These are the contents of the files: $ cat user-config.jam using gcc : : g++ : <cxxflags>"-flto" ; $ cat test.cpp #include <boost/asio/spawn.hpp> #include <boost/program_options.hpp> #include <iostream> int main() { auto generic = boost::program_options::options_description{}; std::cout << generic; }