Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2022 15:14:04 +0200
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   build world fails on raw_ip.c
Message-ID:  <c63a0481-6f60-729a-56c0-1da96d8b6be9@gmail.com>

next in thread | raw e-mail | index | archive | help
I just updated the source today but now i get an error building world.
The old build was from yesterday which was fine!

Building /usr/obj/usr/src/amd64.amd64/sys/KRNL/raw_ip.o
cc -target x86_64-unknown-freebsd14.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 -march=broadwell -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 
-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 
-Wall -Wnested-externs -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 
-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-address-of-packed-member -Wno-format-zero-length   -mno-aes 
-mno-avx  -std=iso9899:1999 -Werror /usr/src/sys/netinet/raw_ip.c
/usr/src/sys/netinet/raw_ip.c:811:3: error: too few arguments to 
function call, expected 4, have 2
                 IPSEC_CTLINPUT(ipv4, icmp);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/netipsec/ipsec_support.h:222:61: note: expanded from macro 
'IPSEC_CTLINPUT'
     ipsec_kmod_ctlinput(proto ## _ipsec_support, __VA_ARGS__)
     ~~~~~~~~~~~~~~~~~~~                                     ^
/usr/src/sys/netipsec/ipsec_support.h:196:5: note: 'ipsec_kmod_ctlinput' 
declared here
int ipsec_kmod_ctlinput(struct ipsec_support * const, int,
     ^
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/KRNL
.ERROR_TARGET='raw_ip.o'
.ERROR_META_FILE='/usr/obj/usr/src/amd64.amd64/sys/KRNL/raw_ip.o.meta'
.MAKE.LEVEL='2'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes verbose curdirOk=yes'
_ERROR_CMD='cc -target x86_64-unknown-freebsd14.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 -march=broadwell -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 
-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 
-Wall -Wnested-externs -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 
-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-address-of-packed-member -Wno-format-zero-length   -mno-aes 
-mno-avx  -std=iso9899:1999 -Werror /usr/src/sys/netinet/raw_ip.c; 
ctfconvert -L VERSION -g raw_ip.o;'
.CURDIR='/usr/obj/usr/src/amd64.amd64/sys/KRNL'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src/amd64.amd64/sys/KRNL'
.TARGETS='all'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX=''
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20220726'
PATH='/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/src'
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk 
/usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk 
/etc/src-env.conf /usr/src/share/mk/bsd.mkopt.mk 
/usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/auto.obj.mk 
/usr/src/share/mk/bsd.suffixes.mk /etc/make.conf 
/usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk 
/etc/src.conf Makefile /usr/src/sys/conf/kern.pre.mk 
/usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.opts.mk 
/usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.compiler.mk 
/usr/src/share/mk/bsd.endian.mk /usr/src/share/mk/bsd.linker.mk 
/usr/src/sys/conf/kern.opts.mk /usr/src/sys/conf/kern.post.mk 
/usr/src/sys/conf/kern.mk /dev/null'
.PATH='. /usr/obj/usr/src/amd64.amd64/sys/KRNL'
         2.21 real         2.07 user         0.14 sys

regards,
Johan Hendriks




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c63a0481-6f60-729a-56c0-1da96d8b6be9>