Bug 215935

Summary: svn commit: r311860 - head/sys/net80211 broken ieee80211_vht.c
Product: Base System Reporter: Stanislav Kolomnitcki <0x800ccc0f>
Component: kernAssignee: Adrian Chadd <adrian>
Status: Closed FIXED    
Severity: Affects Some People CC: adrian, ohartmann
Priority: ---    
Version: CURRENT   
Hardware: amd64   
OS: Any   

Description Stanislav Kolomnitcki 2017-01-10 12:17:45 UTC
in base r311860 error: implicit declaration of function 'ieee80211_note' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ieee80211_note(ni->ni_vap, "%s: called; fc=0x%.2x/0x%.2x",
        ^

root@srv:/usr/src # svn up
Updating '.':
At revision 311874.

root@srv:/usr/src # make -j4 buildkernel
....
--- ahci.o ---
cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing   -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD  -MF.depend.ahci.o -MTahci.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -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  -mno-aes -mno-avx  -std=iso9899:1999 -Werror  /usr/src/sys/dev/ahci/ahci.c
--- modules-all ---
--- all_subdir_wlan ---
--- ieee80211_vht.o ---
/usr/src/sys/modules/wlan/../../net80211/ieee80211_vht.c:94:2: error: implicit declaration of function 'ieee80211_note' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        ieee80211_note(ni->ni_vap, "%s: called; fc=0x%.2x/0x%.2x",
        ^
1 error generated.
*** [ieee80211_vht.o] Error code 1

make[4]: stopped in /usr/src/sys/modules/wlan
--- all_subdir_usb ---
--- all_subdir_usb/umoscom ---
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/src/sys/modules/usb/umoscom
*** [all_subdir_usb/umoscom] Error code 2

make[4]: stopped in /usr/src/sys/modules/usb
1 error

make[4]: stopped in /usr/src/sys/modules/usb
*** [all_subdir_usb] Error code 2

make[3]: stopped in /usr/src/sys/modules
--- all_subdir_wlan ---
1 error

make[4]: stopped in /usr/src/sys/modules/wlan
*** [all_subdir_wlan] Error code 2

make[3]: stopped in /usr/src/sys/modules
2 errors

make[3]: stopped in /usr/src/sys/modules
*** [modules-all] Error code 2

make[2]: stopped in /usr/obj/usr/src/sys/CORE
1 error

make[2]: stopped in /usr/obj/usr/src/sys/CORE
*** [buildkernel] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildkernel] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src
Comment 1 O. Hartmann 2017-01-10 13:51:35 UTC
It affects me, too. The weird thing is: I updated sources on daily basis on several boxes, most of them do have the same revision from which they start building world and kernel. On two, I have this failure, on a laptop, which is a week behind, I do not see the problem, it compiles straight through.

The boxes do have all customised kernels.
Comment 2 Stanislav Kolomnitcki 2017-01-11 02:03:51 UTC
fixed by r311887