Bug#1066942: Debugging xmrig FTBFS on armhf

2024-04-03 Thread Ben Westover
I could not reproduce the issue on an armhf porterbox, which is concerning. I have just uploaded a new release that just tells cmake to force an ARMv7 build if DEB_HOST_ARCH is armhf. It also includes a handy patch that makes the build log give a couple clues so I can track down why my machine

Bug#1066942: Debugging xmrig FTBFS on armhf

2024-04-03 Thread Ben Westover
It seems that the maes flag is automatically added if the ARM_TARGET CMake var is not set, which happens in cmake/cpu.cmake. The first thing I saw when I opened that file looked promising: if (CMAKE_SIZEOF_VOID_P EQUAL 8) set(XMRIG_64_BIT ON) add_definitions(-DXMRIG_64_BIT)