I’ve had success compiling kernel 5.10 on armv7l (nixpkgs-unstable). Unfortunately, this is not the case with 5.15/5.16 and I’m stuck with the following errors:
BTF [M] arch/arm/crypto/chacha-neon.ko
Failed to parse base BTF 'vmlinux': -22
Failed to parse base BTF 'vmlinux': -22
Failed to parse base BTF 'vmlinux': -22
Failed to parse base BTF 'vmlinux': -22
Failed to parse base BTF 'vmlinux': -22
Failed to parse base BTF 'vmlinux': -22
make[2]: *** [../scripts/Makefile.modfinal:61: arch/arm/crypto/aes-arm.ko] Error 1
make[2]: *** Deleting file 'arch/arm/crypto/aes-arm.ko'
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [../scripts/Makefile.modfinal:61: arch/arm/crypto/chacha-neon.ko] Error 1
make[2]: *** Deleting file 'arch/arm/crypto/chacha-neon.ko'
make[2]: *** [../scripts/Makefile.modfinal:61: arch/arm/crypto/aes-arm-bs.ko] Error 1
make[2]: *** Deleting file 'arch/arm/crypto/aes-arm-bs.ko'
make[2]: *** [../scripts/Makefile.modfinal:61: arch/arm/crypto/aes-arm-ce.ko] Error 1
make[2]: *** Deleting file 'arch/arm/crypto/aes-arm-ce.ko'
make[2]: *** [../scripts/Makefile.modfinal:61: arch/arm/crypto/blake2s-arm.ko] Error 1
make[2]: *** Deleting file 'arch/arm/crypto/blake2s-arm.ko'
make[2]: *** [../scripts/Makefile.modfinal:61: arch/arm/crypto/blake2b-neon.ko] Error 1
make[2]: *** Deleting file 'arch/arm/crypto/blake2b-neon.ko'
BTF [M] arch/arm/crypto/crc32-arm-ce.ko
Failed to parse base BTF 'vmlinux': -22
make[2]: *** [../scripts/Makefile.modfinal:61: arch/arm/crypto/crc32-arm-ce.ko] Error 1
make[2]: *** Deleting file 'arch/arm/crypto/crc32-arm-ce.ko'
make[1]: *** [../scripts/Makefile.modpost:140: __modpost] Error 2
make: *** [../Makefile:1761: modules] Error 2
Is anyone running newer kernels on armv7l?
Not sure if this makes more sense on github since armv7l is not officially supported.