Repro steps: cat src.conf <<EOF MALLOC_PRODUCTION= WITHOUT_ATM= WITHOUT_AUDIT= WITHOUT_BHYVE= WITHOUT_BIND_DNSSEC= WITHOUT_BIND_ETC= WITHOUT_BIND_LIBS_LWRES= WITHOUT_BIND_NAMED= WITHOUT_BLUETOOTH= WITHOUT_BSNMP= WITHOUT_CALENDAR= WITHOUT_CLANG= WITHOUT_CLANG_BOOTSTRAP= WITHOUT_CLANG_IS_CC= WITHOUT_CTM= WITHOUT_FORTRAN= WITHOUT_FREEBSD_UPDATE= WITHOUT_GAMES= WITH_GCC= WITH_GNUCXX= WITHOUT_GCOV= WITHOUT_GPIB= WITHOUT_HAST= WITHOUT_HESOID= WITHOUT_HTML= WITHOUT_I4B= WITH_ICONV= WITHOUT_IPFILTER= WITHOUT_IPFW= WITHOUT_IPX= WITHOUT_LIBKSE= WITHOUT_LPR= WITHOUT_MAIL= WITHOUT_NCP= WITHOUT_NDIS= WITHOUT_NIS= WITH_NLS= WITHOUT_NS_CACHING= WITHOUT_OBJC= WITHOUT_PF= WITHOUT_PORTSNAP= WITHOUT_PPP= WITHOUT_PROFILE= WITHOUT_RADIUS= WITHOUT_RCMDS= WITH_SSP= WITHOUT_SVN= WITHOUT_SVNLITE= WITHOUT_SYSINSTALL= WITH_TESTS= WITHOUT_WIRELESS= WITHOUT_WPA_SUPPLICANT_EAPOL= WITH_ZFS= cd /usr/src; env SRCCONF=$PWD/src.conf make buildworld Expected result: If the build's healthy, it should pass. Actual result: cc -O2 -pipe -I/usr/src/usr.sbin/bhyvectl/../../sys/amd64/vmm -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototy pes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/usr.sbin/bhyvectl/bhyvectl.c cc1: warnings being treated as errors In file included from /usr/src/usr.sbin/bhyvectl/bhyvectl.c:48: /usr/obj/usr/src/tmp/usr/include/machine/vmm.h:590: warning: 'inline' is not at beginning of declaration /usr/obj/usr/src/tmp/usr/include/machine/vmm.h:596: warning: 'inline' is not at beginning of declaration /usr/obj/usr/src/tmp/usr/include/machine/vmm.h:602: warning: 'inline' is not at beginning of declaration /usr/obj/usr/src/tmp/usr/include/machine/vmm.h:608: warning: 'inline' is not at beginning of declaration *** [bhyvectl.o] Error code 1
(In reply to Garrett Cooper from comment #0) > Repro steps: > > cat src.conf <<EOF > MALLOC_PRODUCTION= > > WITHOUT_ATM= > WITHOUT_AUDIT= > WITHOUT_BHYVE= > WITHOUT_BIND_DNSSEC= > WITHOUT_BIND_ETC= > WITHOUT_BIND_LIBS_LWRES= > WITHOUT_BIND_NAMED= > WITHOUT_BLUETOOTH= > WITHOUT_BSNMP= > WITHOUT_CALENDAR= > WITHOUT_CLANG= > WITHOUT_CLANG_BOOTSTRAP= > WITHOUT_CLANG_IS_CC= > WITHOUT_CTM= > WITHOUT_FORTRAN= > WITHOUT_FREEBSD_UPDATE= > WITHOUT_GAMES= > WITH_GCC= > WITH_GNUCXX= > WITHOUT_GCOV= > WITHOUT_GPIB= > WITHOUT_HAST= > WITHOUT_HESOID= > WITHOUT_HTML= > WITHOUT_I4B= > WITH_ICONV= > WITHOUT_IPFILTER= > WITHOUT_IPFW= > WITHOUT_IPX= > WITHOUT_LIBKSE= > WITHOUT_LPR= > WITHOUT_MAIL= > WITHOUT_NCP= > WITHOUT_NDIS= > WITHOUT_NIS= > WITH_NLS= > WITHOUT_NS_CACHING= > WITHOUT_OBJC= > WITHOUT_PF= > WITHOUT_PORTSNAP= > WITHOUT_PPP= > WITHOUT_PROFILE= > WITHOUT_RADIUS= > WITHOUT_RCMDS= > WITH_SSP= > WITHOUT_SVN= > WITHOUT_SVNLITE= > WITHOUT_SYSINSTALL= > WITH_TESTS= > WITHOUT_WIRELESS= > WITHOUT_WPA_SUPPLICANT_EAPOL= > WITH_ZFS= Forgot the `EOF` here. Also... % uname -a FreeBSD fbsd-stable-10.localdomain 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
A commit references this bug: Author: grehan Date: Sun Aug 24 02:07:35 UTC 2014 New revision: 270438 URL: http://svnweb.freebsd.org/changeset/base/270438 Log: Change __inline style to be consistent with FreeBSD usage, and also fix gcc build (on STABLE, when MFCd). PR: 192880 Reviewed by: neel Reported by: ngie MFC after: 1 day Changes: head/sys/amd64/include/vmm.h
A commit references this bug: Author: grehan Date: Wed Aug 27 06:13:44 UTC 2014 New revision: 270696 URL: http://svnweb.freebsd.org/changeset/base/270696 Log: MFC 270438 Change __inline style to be consistent with FreeBSD usage, and also fix gcc build. PR: 192880 Changes: stable/10/sys/amd64/include/vmm.h