[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

installing foreign architecture linux-headers-*



[ resent from correct address ]

Hi Helmut,

since you have been digging deeper in cross-building etc. maybe you have an idea here.

These tests were triggered by https://bugs.debian.org/1042993
"dkms: DKMS fails to build amd64 kernel module in i386 userland"

In bookworm/i386 the following was working:

dpkg --add-architecture amd64
apt-get update
apt-get install dkms linux-headers-amd64
apt-get install some-dkms

and the some.ko kernel module was built for the -amd64 kernel on i386.

At some point (probably around linux 6.4) dependencies changed, the above foreign mixture was still installable but building the module started to fail ("x86_64-linux-gnu-gcc-13: not found", #1042993) As of today, in sid the kernel, compiler and binutils dependencies have changed significantly. Now installing linux-headers-amd64:amd64 on i386 wants to replace binutils:i386 with binutils:amd64 etc. I've tried to lower the Depends: "gcc | c-compiler" in dkms to a Recommends (linux-headers-* should bring the correct compiler dependency anyway), but that didn't improve things ...

Do you have an idea what would need to be changed to make the foreign -amd64 headers again installable (and the modules buildable) without removing the i386 userspace?


Andreas

PS: feel free to forward and repost publically if there is a better place for this discussion


Reply to: