[Bug 49191] armv7l build broken: dlls/ntdll expression too complex

WineHQ Bugzilla wine-bugs at winehq.org
Mon May 18 06:10:14 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49191

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net

--- Comment #2 from Anastasius Focht <focht at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list