pitrou commented on issue #44896:
URL: https://github.com/apache/arrow/issues/44896#issuecomment-2511733184

   But I think you simply are not setting up cross-compilation correctly:
   ```
   -- System processor: AMD64
   ```
   
   According to 
https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_PROCESSOR.html :
   > When cross-compiling, a 
[CMAKE_TOOLCHAIN_FILE](https://cmake.org/cmake/help/latest/variable/CMAKE_TOOLCHAIN_FILE.html#variable:CMAKE_TOOLCHAIN_FILE)
 should set the CMAKE_SYSTEM_PROCESSOR variable to match target architecture 
that it specifies (via 
[CMAKE_<LANG>_COMPILER](https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER.html#variable:CMAKE_%3CLANG%3E_COMPILER)
 and perhaps 
[CMAKE_<LANG>_COMPILER_TARGET](https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_TARGET.html#variable:CMAKE_%3CLANG%3E_COMPILER_TARGET)).


-- 
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