On 19/05/2022 06.34, Andreas Beckmann wrote:
Yes, it's an arch detection problem and an attempt is made to build for armv8l instead of arm. But we fixed that long ago for i386 on amd64 kernel, so it should be manageable for armhf, too.

Hi,

could you try again and see whether the attached patch fixes the issue?

It's rather a HACK that just remaps arm64 to arm since the 390xx series does not support arm64 at all.


Thanks

Andreas
Author: Andreas Beckmann <a...@debian.org>
Description: (HACK!) fix ARCH detection for armhf running on arm64
 since the 390xx series does not support arm64 at all, just map
 aarch64 to arm, too, to fix building the kernel module in armhf
 chroots running on arm64 hosts

--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,7 @@ else
   ifndef ARCH
     ARCH := $(shell uname -m | sed -e 's/i.86/i386/' \
       -e 's/armv[0-7]\w\+/arm/' \
+      -e 's/armv8l/arm/' \
       -e 's/aarch64/arm64/' \
       -e 's/ppc64le/powerpc/' \
     )

Reply via email to