Hi Daniel,
thanks for caring!

On 10.11.19 14:51, Daniel Kahn Gillmor wrote:
> On Sat 2019-10-26 12:51:47 +0000, Chris. wrote:
>> on Raspberry Pi3 kernel module stops building since updating to kernel
>> 5.3.0.1.

> I'm not sure this is a wireguard-specific issue...

I have added another DKMS package (iptables-netflow-dkms) and it runs
into the same issue.

# cat /var/lib/dkms/ipt-netflow/2.4/build/make.log
DKMS make.log for ipt-netflow-2.4 for kernel 5.3.0-1-arm64 (aarch64)
Sun Nov 10 14:16:57 UTC 2019
Compiling for kernel 5.3.7
make -C /lib/modules/5.3.0-1-arm64/build
M=/var/lib/dkms/ipt-netflow/2.4/build modules CONFIG_DEBUG_INFO=y
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent
make rule.
make[1]: Entering directory '/usr/src/linux-headers-5.3.0-1-arm64'
arch/arm64/Makefile:58: *** arm-linux-gnueabihf-gcc not found, check
CROSS_COMPILE_COMPAT.  Stop.
make[1]: *** [/usr/src/linux-headers-5.3.0-1-common/Makefile:179:
sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-1-arm64'
make: *** [Makefile:25: ipt_NETFLOW.ko] Error 2


> This looks to me like you don't have the arm64-specific compiler
> installed, which ought to have been installed correctly by
> linux-headers-5.3.0-1-arm64.

Not an expert here, but I can still run

root@rpi3:~# dkms build wireguard/0.0.20191012 -k 5.2.0-3-arm64

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make -j4 KERNELRELEASE=5.2.0-3-arm64 -C /lib/modules/5.2.0-3-arm64/build
M=/var/lib/dkms/wireguard/0.0.20191012/build.........
....................................
cleaning build area.....

DKMS: build completed.

I.E. compilation works in general. Something in kernel 5.3 changed that
breaks DKMS on Raspberry Pi3. Looking for a gcc-9 for abihf I can onle
find packages marked "crosscompile" (plus it's missing a dependency so I
can't install)

Should I file a bug against the linux-headers package instead?

Cheers,
Chris.

Reply via email to