From nobody Tue Aug 24 16:47:20 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D13171780F57 for ; Tue, 24 Aug 2021 16:47:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GvFQJ5JkLz4c6D for ; Tue, 24 Aug 2021 16:47:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9F8F241D6 for ; Tue, 24 Aug 2021 16:47:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17OGlKdf065670 for ; Tue, 24 Aug 2021 16:47:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17OGlKQQ065669 for bugs@FreeBSD.org; Tue, 24 Aug 2021 16:47:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 258025] [stable/13/kernel/drm-fbsd13-kmod/linuxkpi] '__stringify' problem at /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:118:2 Date: Tue, 24 Aug 2021 16:47:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: tomek@cedro.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258025 Bug ID: 258025 Summary: [stable/13/kernel/drm-fbsd13-kmod/linuxkpi] '__stringify' problem at /usr/src/sys/compat/linuxkpi/common/include/linux/kref .h:118:2 Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: tomek@cedro.info Hello world :-) Some build problems in STABLE/13 branch? :-) root@0xCFMX4:/usr/src # uname -a FreeBSD 0xCFMX4 13.0-STABLE FreeBSD 13.0-STABLE #0 stable/13-n246220-a7761d19dac-dirty: Sat Jul 10 02:42:25 CEST 2021=20=20=20= =20 root@0xCFMX4:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 root@0xCFMX4:/usr/src # git branch main * stable/13 root@0xCFMX4:/usr/src # git log -1 commit 17c83ffd10b528074f1dbdff1a0dfcf130430ef9 (HEAD -> stable/13, origin/stable/13) Author: Alexander Motin Date: Tue Aug 10 20:03:12 2021 -0400 ntb_hw_intel(4): Add CTLFLAG_MPSAFE flags. I should have added those in 50f16247a1. MFC after: 2 weeks (cherry picked from commit 94feb1f1eb4c3527efdbd0b3f556eb3cb37c3318) root@0xCFMX4:/usr/src # make clean; make buildkernel (..) cc -target x86_64-unknown-freebsd13.0 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common '-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=20 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc=20 -I/usr/local/sys/modules/drm-fbsd13-kmod/include -I/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/dummy/include -I/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include -I/usr/src/sys/compat/linuxkpi/common/include -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g -O0 -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 -I/usr/obj/usr/src/amd64.amd64/sys/GENERIC -MD -MF.depend.linux_compat= .o -MTlinux_compat.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-= float=20 -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -W= all -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/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/src/linux_compat.c -o linux_compat.o In file included from /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/src/linux_compat.c:10: In file included from /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/pci.h:1= 0: 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/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/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/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/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/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/src/linux_compat.c:10: In file included from /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/include/linux/pci.h:1= 0: 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/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/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/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/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[4]: stopped in /usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi *** Error code 1 This is why Linux Sux :-) :-) :-) --=20 You are receiving this mail because: You are the assignee for the bug.=