Re: git: 5522519731b7 - main - modules: enable allwinner kmods on riscv
- In reply to: Zhenlei Huang : "Re: git: 5522519731b7 - main - modules: enable allwinner kmods on riscv"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Oct 2025 14:56:43 UTC
Thank you! Fixed in fe7954d723f. Mitchell On 10/22/25 02:15, Zhenlei Huang wrote: > Hi Mitchell, > > The riscv LINT kernel build fails with this change, > > ``` > $ make buildkernel TARGET_ARCH=riscv64 KERNCONF=LINT > ===> allwinner/aw_sid (all) > cc -target riscv64-unknown-freebsd16.0 --sysroot=/usr/obj/home/zlei/freebsd-src/riscv.riscv64/tmp -B/usr/obj/home/zlei/freebsd-src/riscv.riscv64/tmp/usr/bin -O2 -pipe -fno-common -march=rv64imafdc -mabi=lp64d -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/home/zlei/freebsd-src/riscv.riscv64/sys/LINT/opt_global.h -I. -I/home/zlei/freebsd-src/sys -I/home/zlei/freebsd-src/sys/contrib/ck/include -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fdebug-prefix-map=./machine=/home/zlei/freebsd-src/sys/riscv/include -I/usr/obj/home/zlei/freebsd-src/riscv.riscv64/sys/LINT -fno-builtin -MD -MF.depend.aw_sid.o -MTaw_sid.o -march=rv64imafdch -mabi=lp64 -mno-relax -ffreestanding -fwrapv -fstack-protector -gdwarf-4 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mcmodel=medium -std=gnu17 -c /home/zlei/freebsd-src/sys/arm/allwinner/aw_sid.c -o aw_sid.o > /home/zlei/freebsd-src/sys/arm/allwinner/aw_sid.c:48:10: fatal error: 'nvmem_if.h' file not found > 48 | #include "nvmem_if.h" > | ^~~~~~~~~~~~ > 1 error generated. > *** Error code 1 > ``` > > Best regards, > Zhenlei >