https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109074
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- > what(): Enable multithreading to use std::thread: It explicitly says what needs to be done. And to enable multithreading on gnu/Linux you use -pthread option or link against libpthread. Newer gnu/Linux distros enable multithreading by default so you don't need to link against libpthread.