Date: Wed, 29 Mar 2023 13:22:24 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270521] 13.2 RC5 - IPSEC_SEC_DEBUG kerneloption fails to compile (b/c -Wimplicit-function-declaration) Message-ID: <bug-270521-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270521 Bug ID: 270521 Summary: 13.2 RC5 - IPSEC_SEC_DEBUG kerneloption fails to compile (b/c -Wimplicit-function-declaration) Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bugs.fbsd@paepcke.de KERNCONF [...] options IPSEC_DEBUG # debug for IP security [...] fails because of: -Wimplicit-function-declaration cc -target x86_64-unknown-freebsd13.2 --sysroot=3D/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_KE RNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common=20=20=20 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -M F.depend.key_debug.o -MTkey_debug.o -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x 86/include -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=20 -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fs tack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wunde f -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-di= rs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-err or=3Dtautological-compare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-= equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -W no-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-error=3Dunused-but-set-variable -Wno-format-zero-length -mno-aes - mno-avx -std=3Diso9899:1999 -Werror /usr/src/sys/netipsec/key_debug.c /usr/src/sys/netipsec/key_debug.c:885:7: error: implicit declaration of function 'SECASVAR_LOCK' is invalid in C99 [-Werror,-Wimpli cit-function-declaration] SECASVAR_LOCK(sav); ^ /usr/src/sys/netipsec/key_debug.c:887:7: error: implicit declaration of function 'SECASVAR_UNLOCK' is invalid in C99 [-Werror,-Wimp licit-function-declaration] SECASVAR_UNLOCK(sav)); ^ /usr/src/sys/netipsec/key_debug.c:887:7: note: did you mean 'SECASVAR_LOCK'? /usr/src/sys/netipsec/key_debug.c:885:7: note: 'SECASVAR_LOCK' declared here SECASVAR_LOCK(sav); ^ /usr/src/sys/netipsec/key_debug.h:61:6: note: expanded from macro 'KEYDBG' arg; \ ^ 2 errors generated. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270521-227>