Date: Wed, 22 Feb 2023 20:48:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 269763] 13.2-BETA armv7 build fails in drm_vm (on TEGRA124) Message-ID: <bug-269763-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269763 Bug ID: 269763 Summary: 13.2-BETA armv7 build fails in drm_vm (on TEGRA124) Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: freebsd@igalic.co I don't know if TEGRA124 is still a supported KERNCONF, but for 13.2 BETA it currently fails to build: Building /usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys/TEGRA124/d= rm_vm.o --- drm_sysctl.o --- /poudriere/jails/132-release-armv7/usr/src/sys/dev/drm2/drm_sysctl.c:81:47: error: too many arguments provided to function-like macro invocation SYSCTL_FOREACH(oid, SYSCTL_CHILDREN(drioid), oid_link) { ^ /poudriere/jails/132-release-armv7/usr/src/sys/sys/sysctl.h:908:9: note: ma= cro 'SYSCTL_FOREACH' defined here #define SYSCTL_FOREACH(oidp, list) \ ^ /poudriere/jails/132-release-armv7/usr/src/sys/dev/drm2/drm_sysctl.c:81:2: error: use of undeclared identifier 'SYSCTL_FOREACH' SYSCTL_FOREACH(oid, SYSCTL_CHILDREN(drioid), oid_link) { ^ 2 errors generated. *** [drm_sysctl.o] Error code 1 make[2]: stopped in /usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys/TEGRA124 .ERROR_TARGET=3D'drm_sysctl.o' .ERROR_META_FILE=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.= armv7/sys/TEGRA124/drm_sysctl.o.meta' .MAKE.LEVEL=3D'2' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes ve= rbose curdirOk=3Dyes' _ERROR_CMD=3D'cc -target armv7-gnueabihf-freebsd13.2 --sysroot=3D/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp -B/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/usr/bin = -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/poudriere/jails/132-release-armv7/usr/src/sys -I/poudriere/jails/132-release-armv7/usr/src/sys/contrib/ck/include -I/poudriere/jails/132-release-armv7/usr/src/sys/contrib/libfdt -I/poudriere/jails/132-release-armv7/usr/src/sys/contrib/device-tree/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common=20= =20 -march=3Darmv7a -DLINUX_DTS_VERSION=3D\""5.9"\" -funwind-tables -fdebug-prefix-map=3D./machine=3D/poudriere/jails/132-release-armv7/usr/src= /sys/arm/include -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-error=3Dunused-but-set-variable -Wno-format-zero-length -mfpu=3Dnone -std=3Diso9899:1999 -Werror=20 /poudriere/jails/132-release-armv7/usr/src/sys/dev/drm2/drm_sysctl.c; ctfconvert -L VERSION -g drm_sysctl.o;' .CURDIR=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys= /TEGRA124' .MAKE=3D'make' .OBJDIR=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys= /TEGRA124' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'arm' MACHINE_ARCH=3D'armv7' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/poudriere/jails/132-release-armv7/usr/src/share/mk' MAKE_VERSION=3D'20210110' PATH=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/bi= n:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/usr/sbin= :/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/usr/bin:/= usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/legacy/usr/= sbin:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/legac= y/usr/bin:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/= legacy/bin:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp= /legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/poudriere/jails/132-release-armv7/usr/src' OBJTOP=3D'/poudriere/jails/132-release-armv7/usr/src' .MAKE.MAKEFILES=3D'/poudriere/jails/132-release-armv7/usr/src/share/mk/sys.= mk /poudriere/jails/132-release-armv7/usr/src/share/mk/local.sys.env.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/src.sys.env.mk /poudriere/jails/132-release-armv7/etc/src-env.conf /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.mkopt.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/src.sys.obj.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/auto.obj.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.suffixes.mk /dev/nu= ll /poudriere/jails/132-release-armv7/usr/src/share/mk/local.sys.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/src.sys.mk /poudriere/jails/132-release-armv7/etc/src.conf Makefile /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.pre.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.own.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.opts.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.cpu.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.compiler.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.linker.mk /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.opts.mk /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.post.mk /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.mk' .PATH=3D'. /usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys/TEGRA124' --- modules-all --- *** [modules-all] Error code 6 make[2]: stopped in /usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys/TEGRA124 .ERROR_TARGET=3D'modules-all' .ERROR_META_FILE=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.= armv7/sys/TEGRA124/drm_sysctl.o.meta' .MAKE.LEVEL=3D'2' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes ve= rbose curdirOk=3Dyes' _ERROR_CMD=3D'cc -target armv7-gnueabihf-freebsd13.2 --sysroot=3D/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp -B/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/usr/bin = -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/poudriere/jails/132-release-armv7/usr/src/sys -I/poudriere/jails/132-release-armv7/usr/src/sys/contrib/ck/include -I/poudriere/jails/132-release-armv7/usr/src/sys/contrib/libfdt -I/poudriere/jails/132-release-armv7/usr/src/sys/contrib/device-tree/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common=20= =20 -march=3Darmv7a -DLINUX_DTS_VERSION=3D\""5.9"\" -funwind-tables -fdebug-prefix-map=3D./machine=3D/poudriere/jails/132-release-armv7/usr/src= /sys/arm/include -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-error=3Dunused-but-set-variable -Wno-format-zero-length -mfpu=3Dnone -std=3Diso9899:1999 -Werror=20 /poudriere/jails/132-release-armv7/usr/src/sys/dev/drm2/drm_sysctl.c; ctfconvert -L VERSION -g drm_sysctl.o;' .CURDIR=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys= /TEGRA124' .MAKE=3D'make' .OBJDIR=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys= /TEGRA124' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'arm' MACHINE_ARCH=3D'armv7' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/poudriere/jails/132-release-armv7/usr/src/share/mk' MAKE_VERSION=3D'20210110' PATH=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/bi= n:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/usr/sbin= :/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/usr/bin:/= usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/legacy/usr/= sbin:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/legac= y/usr/bin:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/= legacy/bin:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp= /legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/poudriere/jails/132-release-armv7/usr/src' OBJTOP=3D'/poudriere/jails/132-release-armv7/usr/src' .MAKE.MAKEFILES=3D'/poudriere/jails/132-release-armv7/usr/src/share/mk/sys.= mk /poudriere/jails/132-release-armv7/usr/src/share/mk/local.sys.env.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/src.sys.env.mk /poudriere/jails/132-release-armv7/etc/src-env.conf /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.mkopt.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/src.sys.obj.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/auto.obj.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.suffixes.mk /dev/nu= ll /poudriere/jails/132-release-armv7/usr/src/share/mk/local.sys.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/src.sys.mk /poudriere/jails/132-release-armv7/etc/src.conf Makefile /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.pre.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.own.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.opts.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.cpu.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.compiler.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.linker.mk /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.opts.mk /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.post.mk /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.mk' .PATH=3D'. /usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys/TEGRA124' 2 errors make[2]: stopped in /usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys/TEGRA124 .ERROR_TARGET=3D'modules-all' .ERROR_META_FILE=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.= armv7/sys/TEGRA124/drm_sysctl.o.meta' .MAKE.LEVEL=3D'2' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes ve= rbose curdirOk=3Dyes' _ERROR_CMD=3D'cc -target armv7-gnueabihf-freebsd13.2 --sysroot=3D/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp -B/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/usr/bin = -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/poudriere/jails/132-release-armv7/usr/src/sys -I/poudriere/jails/132-release-armv7/usr/src/sys/contrib/ck/include -I/poudriere/jails/132-release-armv7/usr/src/sys/contrib/libfdt -I/poudriere/jails/132-release-armv7/usr/src/sys/contrib/device-tree/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common=20= =20 -march=3Darmv7a -DLINUX_DTS_VERSION=3D\""5.9"\" -funwind-tables -fdebug-prefix-map=3D./machine=3D/poudriere/jails/132-release-armv7/usr/src= /sys/arm/include -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-error=3Dunused-but-set-variable -Wno-format-zero-length -mfpu=3Dnone -std=3Diso9899:1999 -Werror=20 /poudriere/jails/132-release-armv7/usr/src/sys/dev/drm2/drm_sysctl.c; ctfconvert -L VERSION -g drm_sysctl.o;' .CURDIR=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys= /TEGRA124' .MAKE=3D'make' .OBJDIR=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys= /TEGRA124' .TARGETS=3D'all' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'arm' MACHINE_ARCH=3D'armv7' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/poudriere/jails/132-release-armv7/usr/src/share/mk' MAKE_VERSION=3D'20210110' PATH=3D'/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/bi= n:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/usr/sbin= :/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/usr/bin:/= usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/legacy/usr/= sbin:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/legac= y/usr/bin:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp/= legacy/bin:/usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/tmp= /legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/poudriere/jails/132-release-armv7/usr/src' OBJTOP=3D'/poudriere/jails/132-release-armv7/usr/src' .MAKE.MAKEFILES=3D'/poudriere/jails/132-release-armv7/usr/src/share/mk/sys.= mk /poudriere/jails/132-release-armv7/usr/src/share/mk/local.sys.env.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/src.sys.env.mk /poudriere/jails/132-release-armv7/etc/src-env.conf /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.mkopt.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/src.sys.obj.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/auto.obj.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.suffixes.mk /dev/nu= ll /poudriere/jails/132-release-armv7/usr/src/share/mk/local.sys.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/src.sys.mk /poudriere/jails/132-release-armv7/etc/src.conf Makefile /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.pre.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.own.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.opts.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.cpu.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.compiler.mk /poudriere/jails/132-release-armv7/usr/src/share/mk/bsd.linker.mk /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.opts.mk /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.post.mk /poudriere/jails/132-release-armv7/usr/src/sys/conf/kern.mk' .PATH=3D'. /usr/obj/poudriere/jails/132-release-armv7/usr/src/arm.armv7/sys/TEGRA124' make[1]: stopped in /poudriere/jails/132-release-armv7/usr/src make: stopped in /poudriere/jails/132-release-armv7/usr/src --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269763-7>