Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 17:41:22 +0100
From:      Wilko Bulte <wkb@freebie.xs4all.nl>
To:        Jan Chrillesen <jan@chrillesen.dk>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: Building GENERIC kernel not possible in -current
Message-ID:  <20020310174122.A18620@freebie.xs4all.nl>
In-Reply-To: <20020310161848.GB2718@vax.chrillesen.dk>; from jan@chrillesen.dk on Sun, Mar 10, 2002 at 05:18:48PM %2B0100
References:  <20020310161848.GB2718@vax.chrillesen.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 10, 2002 at 05:18:48PM +0100, Jan Chrillesen wrote:

Warnings are treated as errors (see >>> below) on -current.

Do export NO_WERROR=1 to avoid this,

Wilko


> When doing a buildkernel KERNCONF=GENERIC on -current from yesterday, it
> dies with
> 
> cc -c -O -pipe -mcpu=ev5 -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I-  -I.
> -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica
> -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include  -D_KERNEL
> -ffreestanding -include opt_global.h -fno-common -elf  -mno-fp-regs
> -ffixed-8 -Wa,-mev56 -Werror  /usr/src/sys/dev/txp/if_txp.c

>>>> > cc1: warnings being treated as errors

> /usr/src/sys/dev/txp/if_txp.c: In function `txp_reset_adapter':
> /usr/src/sys/dev/txp/if_txp.c:486: warning: `r' might be used
> uninitialized in this function
> /usr/src/sys/dev/txp/if_txp.c: In function `txp_download_fw':
> /usr/src/sys/dev/txp/if_txp.c:516: warning: `r' might be used
> uninitialized in this function
> /usr/src/sys/dev/txp/if_txp.c: In function `txp_download_fw_wait':
> /usr/src/sys/dev/txp/if_txp.c:587: warning: `r' might be used
> uninitialized in this function
> /usr/src/sys/dev/txp/if_txp.c: In function `txp_alloc_rings':
> /usr/src/sys/dev/txp/if_txp.c:960: warning: `r' might be used
> uninitialized in this function
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> Userland is from yesterday (I upgraded to get the latest OpenSSH fixes)
> 
> Regards, Jan
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-alpha" in the body of the message
---end of quoted text---

-- 
|   / o / /_  _   		wilko@FreeBSD.org
|/|/ / / /(  (_)  Bulte		Arnhem, the Netherlands

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




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