You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clrex is available on ARMv6k/v7+ as confirmed here:
Architectures
This ARM instruction is available in ARMv6K and above.
This 32-bit Thumb-2 instruction is available in ARMv7 and above.
There is no 16-bit Thumb CLREX instruction
The Raspberry Pi Zero is identified as an armv6l (I don't know enough about the armv6 variants but it's possible that the basic armv6l does not support clrex and other related instructions like LDREX and STREX).
A quick search leads to another issue addressed by William, two years ago (armv6l variant added to the armv6 family).
CLREX should be a thumb2 instruction, so a proper fix would check for (defined(__arm__) && defined(_ARM_ARCH_7)) or defined(__thumb2__) if it's available.
On a Raspberry Pi Zero, while compiling libdispatch:
The text was updated successfully, but these errors were encountered: