Date: Wed, 22 Oct 2025 11:56:43 -0300 From: Mitchell Horne <mhorne@freebsd.org> To: Zhenlei Huang <zlei@FreeBSD.org> Cc: "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org> Subject: Re: git: 5522519731b7 - main - modules: enable allwinner kmods on riscv Message-ID: <9ffa5243-7b9a-482f-93e9-d929569070ef@freebsd.org> In-Reply-To: <8FF166A8-80E3-461C-88E8-2BE0BD6239A9@FreeBSD.org> References: <202510202342.59KNgHDl091154@gitrepo.freebsd.org> <8FF166A8-80E3-461C-88E8-2BE0BD6239A9@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
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 >home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9ffa5243-7b9a-482f-93e9-d929569070ef>
