Date: Mon, 19 Jul 2021 05:45:16 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 257264] graphics/drm-fbsd13-kmod fails to build after LinuxKPI update Message-ID: <bug-257264-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257264 Bug ID: 257264 Summary: graphics/drm-fbsd13-kmod fails to build after LinuxKPI update Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: rkoberman@gmail.com Assignee: x11@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Since the commits on 17-Jul to update the linuxkpi to support iwlwifi and o= ther issues, drm-fbsd13-kmod will no longer build. make buildworld also fails wh= ile building the kernel module, as well with the same issues with strings. >From UPDATING: 20210718: Bump __FreeBSD_version to 1300512 after merging LinuxKPI, OFED, net80211, and driver changes in order to support building Intel wireless iwlwifi drivers. This is especially needed for drm-kmod which needs updates after this. It reads like this was committed with knowledge that it would likely break buildkernel on STABLE. Huh! I hope I'm misreading this as STABLE should not= get updates which are known will break the kernel for may users.=20 Error from log: cc -O2 -pipe -fno-strict-aliasing '-DKBUILD_MODNAME=3D"linuxkpi_gplv2"' -DLINUXKPI_VERSION=3D50000 -DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_AMD_DC -DCONFIG_DRM_AMD_DC_FBC -DCONFIG_DRM_AMD_POWERPLAY -DCONFIG_DRM_I915_ALPHA_SUPPORT -DCONFIG_DRM_I915_FORCE_PROBE=3D'"*"' -DCONFIG_DRM_I915_CAPTURE_ERROR -DCONFIG_DRM_I915_SPIN_REQUEST=3D5 -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=3D250 -DCONFIG_DRM_LOAD_EDID_FIRMWA= RE -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS -DCONFIG_DRM_VMWGFX_FBCON -DCONFIG_DRM_FBDEV_EMULATION -DCONFIG_DRM_FBDEV_OVERALLOC=3D100 -DCONFIG_DRM_LEGACY -DCONFIG_DRM_VM -DCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DMI -DCONFIG_FB -DCONFIG_MTRR -DCONFIG_PCI -DCONFIG_PM -DCONFIG_SMP -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP -DCONFIG_AGP -DCONFIG_X86 -DCONFIG_X86_PAT -DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X64_64 -DCONFIG_DRM_AMD_DC_DCN1_0 -DCONFIG_DRM_AMD_DC_DCN1_01 -DCONFIG_DRM_AMD_DC_DCN2_0 -DCONFIG_DRM_AMD_DC_DSC_SUPPORT -Werror -D_KERN= EL -DKLD_MODULE -nostdinc=20 -I/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/include -I/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/= dummy/include -I/usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/= gplv2/include -I/usr/src/sys/compat/linuxkpi/common/include -include /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/obj/usr/por= ts/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/opt_global= .h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common=20 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -MD=20 -MF.depend.linux_compat.o -MTlinux_compat.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestand= ing -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-co= mpare -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-format-zero-length -Wno-pointer-arith -mno-aes -mno-avx=20 -std=3Diso9899:1999 -c /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/gp= lv2/src/linux_compat.c -o linux_compat.o In file included from /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/gp= lv2/src/linux_compat.c:10: In file included from /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/gp= lv2/include/linux/pci.h:10: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:37: In file included from /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/gp= lv2/include/linux/device.h:4: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:36: In file included from /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/gp= lv2/include/linux/kobject.h:4: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:118:2: error: impl= icit declaration of function '__stringify' is invalid in C99 [-Werror,-Wimplicit-function-declaration] WARN_ON(release =3D=3D NULL); ^ /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:128:7: note: expanded from macro 'WARN_ON' __stringify(cond), __FILE__, __LINE__); \ ^ In file included from /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/gp= lv2/src/linux_compat.c:10: In file included from /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/gp= lv2/include/linux/pci.h:10: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:37: In file included from /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/gp= lv2/include/linux/device.h:4: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:36: In file included from /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi/gp= lv2/include/linux/kobject.h:4: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:118:2: error: form= at specifies type 'char *' but the argument has type 'int' [-Werror,-Wformat] WARN_ON(release =3D=3D NULL); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:128:7: note: expanded from macro 'WARN_ON' __stringify(cond), __FILE__, __LINE__); \ ^~~~~~~~~~~~~~~~~ 2 errors generated. *** Error code 1 Stop. make[3]: stopped in /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3/linuxkpi *** Error code 1 Stop. make[2]: stopped in /usr/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.92_3 *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/drm-fbsd13-kmod *** Error code 1 Stop. make: stopped in /usr/ports/graphics/drm-fbsd13-kmod --=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-257264-7788>