https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65255
--- Comment #6 from Yichao Yu <yyc1992 at gmail dot com> --- Adding `-march=armv7-a` indeed fixes the issue. Thanks. Does this mean that `std::thread` is not supported on armv6? Would be nice to have a warning/error if it is possible to detect this. FWIW, `clang -march=armv6` doesn't have this issue...