From owner-freebsd-current@FreeBSD.ORG Thu Sep 30 15:36:26 2004 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 99D4D16A4CE for ; Thu, 30 Sep 2004 15:36:26 +0000 (GMT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39F5A43D2D for ; Thu, 30 Sep 2004 15:36:26 +0000 (GMT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (andy@localhost [127.0.0.1]) i8UFaOUP016530; Thu, 30 Sep 2004 11:36:24 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)i8UFaN8R016527; Thu, 30 Sep 2004 11:36:23 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Thu, 30 Sep 2004 11:36:23 -0400 (EDT) From: Andre Guibert de Bruet To: eculp In-Reply-To: <15e5815ed2.15ed215e58@prodigy.net.mx> Message-ID: <20040930113411.M30989@alpha.siliconlandmark.com> References: <15e5815ed2.15ed215e58@prodigy.net.mx> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-650601074-1096558583=:30989" X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean cc: current@freebsd.org Subject: Re: my kernel builds seem to be failing this morning. 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: Thu, 30 Sep 2004 15:36:26 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-650601074-1096558583=:30989 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Thu, 30 Sep 2004, eculp wrote: > my kernel builds seem to be failing this morning with the following: > > KERNEL -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 -ffreestanding -Werror /usr/src/sys/kern/subr_turnstile.c > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -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 -D_KERNEL -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 -ffreestanding -Werror /usr/src/sys/kern/subr_unit.c > /usr/src/sys/kern/subr_unit.c:165: warning: "struct unhdr" declared inside parameter list > /usr/src/sys/kern/subr_unit.c:165: warning: its scope is only this definition or declaration, which is probably not what you want > /usr/src/sys/kern/subr_unit.c: In function `new_unrhdr': > /usr/src/sys/kern/subr_unit.c:215: warning: passing arg 1 of `check_unrhdr' from incompatible pointer type > /usr/src/sys/kern/subr_unit.c: In function `alloc_unr': > /usr/src/sys/kern/subr_unit.c:251: warning: passing arg 1 of `check_unrhdr' from incompatible pointer type > /usr/src/sys/kern/subr_unit.c:281: warning: passing arg 1 of `check_unrhdr' from incompatible pointer type > /usr/src/sys/kern/subr_unit.c:290: warning: passing arg 1 of `check_unrhdr' from incompatible pointer type > /usr/src/sys/kern/subr_unit.c:311: warning: passing arg 1 of `check_unrhdr' from incompatible pointer type Let me guess, you don't have DIAGNOSTIC defined in your kernel config file? :) I attached the patch that I posted just a few minutes ago. Regards, Andy | Andre Guibert de Bruet | Enterprise Software Consultant > | Silicon Landmark, LLC. | http://siliconlandmark.com/ > --0-650601074-1096558583=:30989 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="subr_unit.c.patch" Content-Transfer-Encoding: BASE64 Content-ID: <20040930113623.Q30989@alpha.siliconlandmark.com> Content-Description: Content-Disposition: attachment; filename="subr_unit.c.patch" SW5kZXg6IHN1YnJfdW5pdC5jDQo9PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQpS Q1MgZmlsZTogL2hvbWUvbmN2cy9zcmMvc3lzL2tlcm4vc3Vicl91bml0LmMs dg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjENCmRpZmYgLXUgLXIxLjEgc3Vi cl91bml0LmMNCi0tLSBzdWJyX3VuaXQuYyAzMCBTZXAgMjAwNCAwNzowNDow MyAtMDAwMCAgICAgIDEuMQ0KKysrIHN1YnJfdW5pdC5jIDMwIFNlcCAyMDA0 IDE1OjI1OjAzIC0wMDAwDQpAQCAtMTYyLDcgKzE2Miw3IEBADQogI2Vsc2UN Cg0KIHN0YXRpYyBfX2lubGluZSB2b2lkDQotY2hlY2tfdW5yaGRyKHN0cnVj dCB1bmhkciAqdWgsIGludCBsaW5lKQ0KK2NoZWNrX3VucmhkcihzdHJ1Y3Qg dW5yaGRyICp1aCwgaW50IGxpbmUpDQogew0KDQogfQ0KDQo= --0-650601074-1096558583=:30989--