Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Mar 2018 16:10:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 226423] amd64 kernel build fails with errors in /usr/src/sys/netipsec/xform_ah.c
Message-ID:  <bug-226423-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226423

            Bug ID: 226423
           Summary: amd64 kernel build fails with errors in
                    /usr/src/sys/netipsec/xform_ah.c
           Product: Base System
           Version: 10.4-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: kudzu@tenebras.com

Created attachment 191282
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D191282&action=
=3Dedit
make kernel output

Updated sources via freebsd-update subsequent to=20

FreeBSD-SA-18:01.ipsec

Cause kernel compile to fail.

make output attached, summary follows:


##########################################################

cc  -c -O2 -pipe -fno-strict-aliasing  -std=3Dc99  -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions=20
-Wmissing-include-dirs -fdiagnostics-show-option=20
-Wno-error-tautological-compare -Wno-error-empty-body=20
-Wno-error-parentheses-equality -Wno-error-unused-function   -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h=20
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx
-mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=20
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror=20
/usr/src/sys/netipsec/xform_ah.c
/usr/src/sys/netipsec/xform_ah.c:622:43: error: use of undeclared identifier
'buf'
                    ipsec_address(&sav->sah->saidx.dst, buf, sizeof(buf)),
                                                        ^
/usr/src/sys/netipsec/ipsec.h:323:51: note: expanded from macro 'DPRINTF'
#define DPRINTF(x)      do { if (V_ipsec_debug) printf x; } while (0)
                                                       ^
/usr/src/sys/netipsec/xform_ah.c:625:3: error: use of undeclared identifier
'error'
                error =3D EACCES;
                ^
/usr/src/sys/netipsec/xform_ah.c:626:8: error: use of undeclared label 'bad'
                goto bad;
                     ^
3 errors generated.
*** Error code 1

--=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-226423-8>