Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Sep 2006 09:20:09 +0200
From:      John Hay <jhay@meraka.org.za>
To:        David O'Brien <obrien@freebsd.org>
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 ...
Message-ID:  <20060907072009.GA61657@zibbi.meraka.csir.co.za>
In-Reply-To: <20060907063716.GA73260@dragon.NUXI.org>
References:  <200609070352.k873qxwA036434@repoman.freebsd.org> <20060907053657.GI1390@deviant.kiev.zoral.com.ua> <20060907063716.GA73260@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060907072009.GA61657>