https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65255
--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #8) > 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. This change was made for GCC 6.1, see PR 65393