From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 07:33:55 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7156A37B401 for ; Fri, 15 Aug 2003 07:33:55 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D49E43FDD for ; Fri, 15 Aug 2003 07:33:54 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 19420 invoked from network); 15 Aug 2003 14:33:51 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 15 Aug 2003 14:33:51 -0000 Message-ID: <3F3CEF4F.5030109@liwing.de> Date: Fri, 15 Aug 2003 16:33:51 +0200 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <20030814152854.GA57027@wedge.madpilot.net> <20030814211017.GA61484@rot13.obsecurity.org> In-Reply-To: <20030814211017.GA61484@rot13.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Guido Falsi cc: current@freebsd.org Subject: Re: kernel failing to build X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 15 Aug 2003 14:33:55 -0000 On 14.08.2003 23:10, Kris Kennaway wrote: > On Thu, Aug 14, 2003 at 05:28:54PM +0200, Guido Falsi wrote: >> I's been a few days, the kernel on my machine is failing to build in the >> same point...I tried cvsupping at various times. >> >> The system is a -current from 19 July. > > Build your kernel with WERROR= as discussed on this list. There're 2 WERROR-related flages, NO_WERROR (bool, which suppresses -Werror in some cases in /usr/share/mk/bsd.sys.mk) and WERROR (string, contains Werror-Flag in /usr/src/sys/conf/kern.pre.mk) Suggestion to the Makefile maintainers: --- kern.pre.mk.orig Fri Aug 15 14:32:40 2003 +++ kern.pre.mk Fri Aug 15 14:33:23 2003 @@ -52,7 +52,11 @@ .endif .endif DEFINED_PROF= ${PROF} +.if defined(NO_WERROR) +WERROR?= -Wno-error +.else WERROR?= -Werror +.endif INLINE_LIMIT?= 15000 CFLAGS+= -finline-limit=${INLINE_LIMIT} -fno-strict-aliasing Best, Jens