Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5.10
-
None
Description
The problem was introduced by MDEV-24630.
Compilation fails with:
selected processor doesn't support 'ISB' in ARM mode.
|
If the processor is ARMv6, it doesn't support isb instruction, as per the documentation here:
https://www.keil.com/support/man/docs/armasm/armasm_dom1361289871865.htm
The proper fix is to detect if the current compiling processor supports the inline assembly and only then activate the performance optimization feature.
Attachments
Issue Links
- is caused by
-
MDEV-24630 MY_RELAX_CPU assembly instruction upgrade/research for memory barrier on ARM
-
- Closed
-
cvicentiu, what about cross-compilation? Someone might compile on a Raspberry Pi 2 (whose processor implements the ARMv7 ISA) and expect the result to be runnable on an older Raspberry Pi (with ARMv6 ISA). Do we need that instruction at all on any 32-bit ARM? Those who want performance are likely using ARMv8 anyway.