https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65255
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- I have a patch for std::thread which would mean it doesn't use shared_ptr, so this wouldn't be a problem even if you don't use the same arm version.