From owner-freebsd-current@FreeBSD.ORG Wed Nov 21 09:27:27 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A485516A418 for ; Wed, 21 Nov 2007 09:27:27 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5]) by mx1.freebsd.org (Postfix) with ESMTP id 5974713C458 for ; Wed, 21 Nov 2007 09:27:27 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.50) id 1IulTD-0004YQ-8u for current@freebsd.org; Wed, 21 Nov 2007 15:02:07 +0600 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.1/8.14.1) with ESMTP id lAL95Z4A063847 for ; Wed, 21 Nov 2007 15:05:35 +0600 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.1/8.14.1/Submit) id lAL95Rj3063828 for current@freebsd.org; Wed, 21 Nov 2007 15:05:27 +0600 (NOVT) (envelope-from danfe) Date: Wed, 21 Nov 2007 15:05:27 +0600 From: Alexey Dokuchaev To: current@freebsd.org Message-ID: <20071121090527.GA57912@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Mailman-Approved-At: Wed, 21 Nov 2007 12:49:33 +0000 Cc: Subject: make kernel build error on recent -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2007 09:27:27 -0000 hi there, i'm seeing this while trying to make my kernel: cc -c -O2 -pipe -mtune=pentium4 -march=pentium4 -fno-strict-aliasing -march=pentium4 -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -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 -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/kern/kern_intr.c cc1: warnings being treated as errors /usr/src/sys/kern/kern_intr.c: In function 'intr_priority': /usr/src/sys/kern/kern_intr.c:117: warning: 'pri' may be used uninitialized in this function *** Error code 1 it seems that `kern.pre.mk' enables -Werror despite my NO_WERROR setting. ./danfe