This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/65255] std::thread does not work for cross compiling on ARM


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...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]