From owner-cvs-src@FreeBSD.ORG Thu Sep 7 07:20:21 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32DF616A4DA; Thu, 7 Sep 2006 07:20:21 +0000 (UTC) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 566E443D45; Thu, 7 Sep 2006 07:20:19 +0000 (GMT) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 7C24A33CA2; Thu, 7 Sep 2006 09:20:09 +0200 (SAST) Date: Thu, 7 Sep 2006 09:20:09 +0200 From: John Hay To: David O'Brien Message-ID: <20060907072009.GA61657@zibbi.meraka.csir.co.za> References: <200609070352.k873qxwA036434@repoman.freebsd.org> <20060907053657.GI1390@deviant.kiev.zoral.com.ua> <20060907063716.GA73260@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060907063716.GA73260@dragon.NUXI.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/contrib/gcc ChangeLog ansidecl.h builtins.c c-common.c c-common.h c-decl.c c-objc-common.c c-pch.c c-typeck.c cfgcleanup.c combine.c config.gcc config.host config.in configure configure.ac coverage.c cppfiles.c cpphash.h cppinit.c cse.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 07:20:21 -0000 On Wed, Sep 06, 2006 at 11:37:16PM -0700, David O'Brien wrote: > On Thu, Sep 07, 2006 at 08:36:57AM +0300, Kostik Belousov wrote: > > On Thu, Sep 07, 2006 at 03:52:59AM +0000, David E. O'Brien wrote: > > > Log: > > > MFC: GCC 3.4.6 > > > > You need to MFC sys/crypto/sha2/sha2.c, rev. 1.8. > > Without it, kernel compile fails: > > /usr/bsd/src/sys/crypto/sha2/sha2.c: In function `SHA512_Transform': > > /usr/bsd/src/sys/crypto/sha2/sha2.c:753: warning: 'T2' might be used > > uninitialized in this function > > *** Error code 1 > > I wonder why I'm not seeing this on my amd64 test machine. Just a me too. I see it on an i386 box which have options IPSEC and IPSEC_ESP in the kernel config file: ####################################### cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/crypto/sha2/sha2.c /usr/src/sys/crypto/sha2/sha2.c: In function `SHA512_Transform': /usr/src/sys/crypto/sha2/sha2.c:753: warning: 'T2' might be used uninitialized in this function *** Error code 1 Stop in /usr/obj/usr/src/sys/SMALL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ####################################### John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org