Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2024 17:32:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277723] !VIMAGE breakage after PR277286 "linux: require vnet(9) context in ifname_bsd_to_linux_name()"
Message-ID:  <bug-277723-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 277723
           Summary: !VIMAGE breakage after PR277286 "linux: require
                    vnet(9) context in ifname_bsd_to_linux_name()"
           Product: Base System
           Version: 13.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd@oldach.net

When compiling *without* VIMAGE, linux.o bails out after
db4429d00f0d95a1532f8707f8b828a744586dc7.

Probably also applies to 14-STABLE


=3D=3D=3D> linux (all)
=3D=3D=3D> linux64 (all)
=3D=3D=3D> linux_common (all)
cc -target x86_64-unknown-freebsd13.3
--sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common=20
-fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc=20=
=20
-DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/amd64.amd64/sys/HMO/opt_global.h -I. -I/usr/src/sys
-I/usr/src/sys/contrib/ck/include -fno-common -g -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer
-fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include
-fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include
-I/usr/obj/usr/src/amd64.amd64/sys/HMO     -MD  -MF.depend.linux.o -MTlinux=
.o
-mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=20
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -W=
all
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-co=
mpare
-Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality
-Wno-error=3Dunused-function -Wno-error=3Dpointer-sign
-Wno-error=3Dshift-negative-value -Wno-address-of-packed-member
-Wno-error=3Darray-parameter -Wno-error=3Ddeprecated-non-prototype
-Wno-error=3Dstrict-prototypes -Wno-error=3Dunused-but-set-variable
-Wno-error=3Dunused-but-set-variable -Wno-format-zero-length   -mno-aes -mn=
o-avx=20
-std=3Diso9899:1999 -c /usr/src/sys/compat/linux/linux.c -o linux.o
/usr/src/sys/compat/linux/linux.c:253:2: error: call to undeclared function
'CURVNET_ASSERT_SET'; ISO C99 and later do not support implicit function
declarations [-Werror,-Wimplicit-function-declaration]
  253 |         CURVNET_ASSERT_SET();
      |         ^
1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /usr/src/sys/modules/linux_common
*** Error code 1

Stop.
make[3]: stopped in /usr/src/sys/modules
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/HMO
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

--=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-277723-227>