From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 27 19:44:53 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E8BC857 for ; Wed, 27 Aug 2014 19:44:53 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C60530DC for ; Wed, 27 Aug 2014 19:44:53 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7RJirvV070906 for ; Wed, 27 Aug 2014 19:44:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 193076] New: [build] if_vmx fails to build on stable/10 Date: Wed, 27 Aug 2014 19:44:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2014 19:44:53 -0000 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.