This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/65255] std::thread does not work for cross compiling on ARM
- From: "yyc1992 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Aug 2015 12:11:23 +0000
- Subject: [Bug c++/65255] std::thread does not work for cross compiling on ARM
- Auto-submitted: auto-generated
- References: <bug-65255-4 at http dot gcc dot gnu dot org/bugzilla/>
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...