[Bug 239120] [patch] [tpm] sys/modules/tpm cannot be built outside of kernel build environment
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 10 19:19:42 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239120
Bug ID: 239120
Summary: [patch] [tpm] sys/modules/tpm cannot be built outside
of kernel build environment
Product: Base System
Version: 11.3-STABLE
Hardware: Any
OS: Any
Status: New
Keywords: easy, patch
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: eugen at freebsd.org
CC: mw at FreeBSD.org
Created attachment 205670
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205670&action=edit
proposed fix
For FreeBSD 11.3-STABLE (r349872):
# cd /usr/src/sys/modules/tpm
# make
[skip]
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc
-I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -MD -MF.depend.tpm20.o -MTtpm20.o
-mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign
-Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes
-mno-avx -std=iso9899:1999 -c /usr/src/sys/dev/tpm/tpm20.c -o tpm20.o
In file included from /usr/src/sys/dev/tpm/tpm20.c:33:
/usr/src/sys/dev/tpm/tpm20.h:58:10: fatal error: 'opt_tpm.h' file not found
#include "opt_tpm.h"
^~~~~~~~~~~
1 error generated.
*** Error code 1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list