Date: Wed, 08 May 2024 03:33:01 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278847] Kernel build errors in the kernel config with the ip17x device Message-ID: <bug-278847-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278847 Bug ID: 278847 Summary: Kernel build errors in the kernel config with the ip17x device Product: Base System Version: 14.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: admin@support.od.ua FreeBSD 14.1-PRERELEASE #0 stable/14-n267586-19e335596658: Thu May 2 20:41= :56 UTC 2024 # cat /usr/src/.gituprevision stable/14:0b8cdac88 # cat << EOF >> /usr/src/sys/amd64/conf/test-14-0.1 include GENERIC ident test-14-0-1 hints "GENERIC.hints" # Default places to look for devices. device etherswitch device miiproxy device arswitch device ip17x EOF ... cc -target x86_64-unknown-freebsd14.1 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasi= ng=20 -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 -inclu= de opt_global.h -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.ip17x.o -MTip17x.o -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -fdebug-prefix-map=3D./i386=3D/usr/src/sys/i386/include -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tabl= es -ffreestanding -fwrapv -fstack-protector -Wall -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-format-zero-length -mno-aes -mno-avx -std=3Dgnu99 -Werror /usr/src/sys/dev/etherswitch/ip17x/ip17x.c /usr/src/sys/dev/etherswitch/ip17x/ip17x.c:559:22: error: variable 'sc' set= but not used [-Werror,-Wunused-but-set-variable] 559 | struct ip17x_softc *sc; | ^ /usr/src/sys/dev/etherswitch/ip17x/ip17x.c:571:22: error: variable 'sc' set= but not used [-Werror,-Wunused-but-set-variable] 571 | struct ip17x_softc *sc; | ^ 2 errors generated. *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/test-14-0.1 110.80 real 46.11 user 64.19 sys *** 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-278847-227>