https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290940

            Bug ID: 290940
           Summary: TPM_HARVEST to RANDOM_ENABLE_TPM commit breaks
                    GENERIC-NODEBUG builds
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

--- tpm20.o ---
/usr/src/sys/dev/tpm/tpm20.c:217:43: error: no member named 'harvest_task' in
'struct tpm_sc'
  217 |         TIMEOUT_TASK_INIT(taskqueue_thread, &sc->harvest_task, 0,
      |                                              ~~  ^
--- uart_bus_acpi.o ---
cc -target x86_64-unknown-freebsd16.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe  -fno-strict-aliasing 
-g -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common   -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-MD  -MF.depend.uart_bus_acpi.o -MTuart_bus_acpi.o
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables
-ffreestanding -fwrapv -fstack-protector  -gdwarf-4 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch
-Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parent---
tpm20.o ---
/usr/src/sys/sys/taskqueue.h:135:28: note: expanded from macro
'TIMEOUT_TASK_INIT'
  135 |         _timeout_task_init(queue, timeout_task, priority, func,
context); \
      |                                   ^~~~~~~~~~~~
/usr/src/sys/dev/tpm/tpm20.c:219:51: error: no member named 'harvest_task' in
'struct tpm_sc'
  219 |         taskqueue_enqueue_timeout(taskqueue_thread, &sc->harvest_task,
0);
      |                                                      ~~  ^
--- uart_bus_acpi.o ---
heses-equality -Wno-error=unused-function -Wno-error=pointer-sign
-Wno-error=shift-negative-value -Wno-address-of-packed-member
-Wno-format-zero-length   -mno-aes -mno-avx  -std=gnu17 -Werror
/usr/src/sys/dev/uart/uart_bus_acpi.c
--- tpm20.o ---
/usr/src/sys/dev/tpm/tpm20.c:232:50: error: no member named 'harvest_task' in
'struct tpm_sc'
  232 |                 taskqueue_drain_timeout(taskqueue_thread,
&sc->harvest_task);
      |                                                            ~~  ^
--- scterm-teken.o ---
ctfconvert -L VERSION -g scterm-teken.o
--- tpm20.o ---
/usr/src/sys/dev/tpm/tpm20.c:305:51: error: no member named 'harvest_task' in
'struct tpm_sc'
  305 |         taskqueue_enqueue_timeout(taskqueue_thread, &sc->harvest_task,
      |                                                      ~~  ^
--- sysmouse.o ---
ctfconvert -L VERSION -g sysmouse.o
--- tpm20.o ---
4 errors generated.
--- uart_bus_isa.o ---
--- uart_bus_pci.o ---
--- sound.o ---
ctfconvert -L VERSION -g sound.o
--- tpm20.o ---
*** [tpm20.o] Error code 1

make[2]: stopped making "all" in
/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG

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

Reply via email to