Bug 290940 - TPM_HARVEST to RANDOM_ENABLE_TPM commit breaks GENERIC-NODEBUG builds
Summary: TPM_HARVEST to RANDOM_ENABLE_TPM commit breaks GENERIC-NODEBUG builds
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 16.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-11 02:37 UTC by Kenneth Raplee
Modified: 2025-11-11 03:29 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Raplee 2025-11-11 02:37:32 UTC
--- 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