From nobody Fri Aug 18 03:41:53 2023 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 4RRnjt0ysLz4qZwl for ; Fri, 18 Aug 2023 03:41:54 +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 4RRnjs36rWz3bXR for ; Fri, 18 Aug 2023 03:41:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692330113; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bBYTGY8w8Jfa7T4UWxk8VwiiFkG6eQPBQ4W1JlwFn3Y=; b=lOZasUI4lqTC5SPImsI66SZjJNnMayoZqncW2fnLchdmJozB98yquHrYiTVyamDgkoNps1 i0RgEa2m0auyGKSrfzBEjuuisBxxc2MuxKw3KQq9pafmVCyvn1QI/MH0djnLbeiIp46yIg WKB3VK/a+aT5FJ5eETb9jrz48hO1hUAt0alxPdLN9SrwPdUJ5aOStDpRXD4Of6BMhP2dGA 3uUdc67sO3Yecfw0Fo+gZzHhKPy0YRn//iTCW7tM+9pqCx6YYE5RlTYwaEcHxh0MoQvrID ZektSaMYxgC02kGGenUWFBXV4iYgWDktG2aTySLFry/EUETdDSRUplp9AxJnlw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692330113; a=rsa-sha256; cv=none; b=EQNofiFL+NFPG6QAtlsrJX0G+iVu1HQCDJhsGdYkDz/2Jcxv9G/IzEmA1A42zns+sGiOCz //ql0N8gqcT006UsPP3RyDtmy2oIsokE3mUWyuo+4ibujkpcFpUWIgiz6ajlpcVUv7uxM0 JeeLJiVbGrqEZSDxdP4jKWq7MHYvM1NfnyvnxsEmPc8jpxwl8WJzlGNY/DZDqVuLLqLQ3Z SDNmhrIxcyzsavqXL09RHM+8ELmlYcGoU8eXyGRjpR8kvBZT0YCJTxg4matlZYzZNgHsZ0 BGE9JA/L2Y63vbJyDUciTbA2dSCT338MJJsqN6Bc5A3gbgzh05tMwgkZ3e6xPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RRnjs2Bj1z10bN for ; Fri, 18 Aug 2023 03:41:53 +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 37I3fr64083516 for ; Fri, 18 Aug 2023 03:41:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37I3frSk083515 for bugs@FreeBSD.org; Fri, 18 Aug 2023 03:41:53 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 273193] KASSERT - embedding a #include directive within macro arguments is not supported Date: Fri, 18 Aug 2023 03:41:53 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kenrap@kennethraplee.com 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273193 Bug ID: 273193 Summary: KASSERT - embedding a #include directive within macro arguments is not supported Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: kenrap@kennethraplee.com # uname -aKU FreeBSD freebsd 14.0-ALPHA1 FreeBSD 14.0-ALPHA1 amd64 1400094 #7 main-n264755-bf46512a54cd: Tue Aug 15 22:50:07 PDT 2023=20=20=20=20 root@freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400094 1400094 # git log -n1 --oneline=20 214e3e09b338 (HEAD -> main, origin/main, origin/HEAD) fwget: fix installing multiple firmware files =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:43: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/hrtimer.h:32: /usr/src/sys/compat/linuxkpi/common/include/linux/ktime.h:34:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:43: /usr/src/sys/compat/linuxkpi/common/include/linux/hrtimer.h:33:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:44:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:45:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:46:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:47:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:48:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:49:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:51:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:53:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:49:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:50:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:51:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:52:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:53:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:55:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:56:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:57:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/mem.c:39: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kref.h:37: /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:58:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/modules/usr/src/sys/module= s/ext2fs/ext2_bmap.o In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/provider.c:42: In file included from /usr/src/sys/ofed/include/rdma/ib_verbs.h:45: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:38: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:34: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:43: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/hrtimer.h:32: /usr/src/sys/compat/linuxkpi/common/include/linux/ktime.h:34:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/provider.c:42: In file included from /usr/src/sys/ofed/include/rdma/ib_verbs.h:45: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:38: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:34: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:43: /usr/src/sys/compat/linuxkpi/common/include/linux/hrtimer.h:33:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here 20 errors generated. KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/modules/usr/src/sys/module= s/crypto/ed25519_ref10.o In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/provider.c:42: In file included from /usr/src/sys/ofed/include/rdma/ib_verbs.h:45: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:38: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kobject.h:34: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:48: /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:44:2: error: embedding a #include directive within macro arguments is not supported #include ^ /usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:151:2: note: expansion of macro 'KASSERT' requested here KASSERT(rem < z, ("%s: rem %ju >=3D z %ju\n", __func__, ^ In file included from /usr/src/sys/dev/cxgbe/iw_cxgbe/provider.c:42: In file included from /usr/src/sys/ofed/include/rdma/ib_verbs.h:45: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:38: Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/modules/usr/src/sys/module= s/cxgbe/if_cxgbev/if_cxgbev.ko.debug Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/modules/usr/src/sys/module= s/em/e1000_82542.o Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/modules/usr/src/sys/module= s/fib_dxr/opt_inet.h Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/zstd_fast.o Building /usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/modules/usr/src/sys/module= s/fdc/fdc_isa.o *** [mem.o] Error code 1 make[5]: stopped in /usr/src/sys/modules/cxgbe/iw_cxgbe .ERROR_TARGET=3D'mem.o' .ERROR_META_FILE=3D'/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG/module= s/usr/src/sys/modules/cxgbe/iw_cxgbe/mem.o.meta' .MAKE.LEVEL=3D'5' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes ve= rbose' 10.83 real 41.22 user 3.29 sys make[1]: stopped in /usr/src make: stopped in /usr/src --=20 You are receiving this mail because: You are the assignee for the bug.=