https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71541
--- Comment #4 from gcc_bugzilla at haphi dot de --- (In reply to Jonathan Wakely from comment #3) > You need to link to libpthread to use std::condition_variable_any. Adding -lpthread doesn't change the situation.