[Bug 263858] dtrace: Fails to compile script on main: operator -> cannot be applied to a forward declaration: no struct ip_fw_args definition is available

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 May 2022 16:56:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263858

--- Comment #10 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Mark Johnston from comment #8)

> Oh.  How did you build ipfw.ko?  Did you build it as a standalone module, or as > part of a buildkernel?  In the latter case, do you have "makeoptions
> WITH_CTF=1" in the kernel configuration?

As part of buildkernel process. I basically don't build modules in base
standalone.

And my kernel configuration on main is as below, stripping comments.

include GENERIC-NODEBUG
ident   confname
options CAM_IOSCHED_DYNAMIC

As GENERIC-NODEBUG includes GENERIC, and /usr/src/sys/conf/std.nodebug doesn't
seem to overwrite the makeoptions, there should be, theoretically, "makeoptions
WITH_CTF=1".


Kerel configuration on stable/13 is different, as stable/13 doesn't have
GENERIC-NODEBUG to include.
I've copied old-style GENERIC-NODEBUG from main (current, ATM) and applied
minimal change (change ident line and add options CAM_IOSCHED_DYNAMIC).

include         GENERIC
ident           confname
nooptions       DDB
nooptions       GDB
nooptions       INVARIANTS
nooptions       INVARIANT_SUPPORT
nooptions       WITNESS
nooptions       WITNESS_SKIPSPIN
nooptions       DEADLKRES
options         CAM_IOSCHED_DYNAMIC

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.