Date: Wed, 27 Aug 2014 19:44:53 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193076] New: [build] if_vmx fails to build on stable/10 Message-ID: <bug-193076-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193076 Bug ID: 193076 Summary: [build] if_vmx fails to build on stable/10 Product: Base System Version: 10.0-STABLE Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: ngie@FreeBSD.org if_vmx compiles cleanly on CURRENT, but not on stable/10 as noted below. Repro: /bin/sh 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= WITHOUT_GCOV= WITH_GNUCXX= 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= EOF ( echo "include GENERIC"; echo "device vmx"; ) > MY_GENERIC export KERNCONFDIR=$PWD KERNCONF=MY_GENERIC SRCCONF=$PWD/src.conf make buildworld make buildkernel Expected result: The compile should complete cleanly. Actual result: gcc fails to compile the module with -Wuninitialized. cc1: warnings being treated as errors /usr/src.svn/sys/dev/vmware/vmxnet3/if_vmx.c: In function 'vmxnet3_txq_mq_start_locked': /usr/src.svn/sys/dev/vmware/vmxnet3/if_vmx.c:2625: warning: 'ip6' may be used uninitialized in this function /usr/src.svn/sys/dev/vmware/vmxnet3/if_vmx.c:2625: note: 'ip6' was declared here /usr/src.svn/sys/dev/vmware/vmxnet3/if_vmx.c:2622: warning: 'ip' may be used uninitialized in this function /usr/src.svn/sys/dev/vmware/vmxnet3/if_vmx.c:2622: note: 'ip' was declared here -- 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-193076-8>