cyb70289 opened a new pull request, #47766:
URL: https://github.com/apache/arrow/pull/47766

   ### Rationale for this change
   Mimalloc default generates LSE atomic instructions only work on armv8.1. 
This causes illegal instruction on armv8.0 platforms like Raspberry4. This PR 
sets mimalloc build flag -DMI_NO_OPT_ARCH=ON to disable LSE instruction.
   Please note even with flag set, compiler and libc will replace the atmoic 
call with an ifunc that matches hardware best at runtime. That means LSE is 
used only if the running platform supports it.
   
   ### What changes are included in this PR?
   Force mimalloc build flag -DMI_NO_OPT_ARCH=ON.
   
   ### Are these changes tested?
   Manually tested.
   
   ### Are there any user-facing changes?
   No.
   
   **This PR contains a "Critical Fix".**
   Fixes crashes on Armv8.0 platform.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to