https://bugs.winehq.org/show_bug.cgi?id=49191
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello Austin,
could you run the following:
--- snip --- $ gcc -march=armv6 -dM -E - < /dev/null --- snip ---
--- snip --- $ gcc -march=armv6k -dM -E - < /dev/null --- snip ---
Grep for '__GCC_HAVE_SYNC_COMPARE_AND_SWAP', it should show the difference. Generally, atomics should be supported on ARMv6 architectures - but not all sizes. ARM supports 8-byte atomics with cmpxchg64 from ARMv6k onwards.
I guess your "failing" machine is a first-gen ARM11-based Raspberry Pi? That RPI ARM core is an ARM1176jzf-S which *supports* ARMv6k, including 8-byte atomics. The toolchain default '-march=armv6' is an unnecessarily limiting choice here.
Regards