From owner-freebsd-current@FreeBSD.ORG Mon Aug 2 08:51:41 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 8059216A4CE for ; Mon, 2 Aug 2004 08:51:41 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3044B43D55 for ; Mon, 2 Aug 2004 08:51:41 +0000 (GMT) (envelope-from dan.cojocar@gmail.com) Received: by mproxy.gmail.com with SMTP id 77so44751rnl for ; Mon, 02 Aug 2004 01:51:33 -0700 (PDT) Received: by 10.38.82.68 with SMTP id f68mr377974rnb; Mon, 02 Aug 2004 01:51:33 -0700 (PDT) Message-ID: Date: Mon, 2 Aug 2004 11:51:33 +0300 From: Dan Cojocar To: Max Laier In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200407310406.44714.max@love2party.net> <200408020950.52165.max@love2party.net> cc: freebsd-current@freebsd.org Subject: Re: Buildkernel+ALTQ error 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: Mon, 02 Aug 2004 08:51:41 -0000 On Mon, 2 Aug 2004 11:09:22 +0300, Dan Cojocar wrote: > On Mon, 2 Aug 2004 09:50:51 +0200, Max Laier wrote: > > On Monday 02 August 2004 09:35, you wrote: > > > Hello, > > > > > > Sorry for this delay, but i was offline :( > > > > Once more: I need your *complete* kernel config! > > > > > I made a cvsup today, and now i get another error: > > > > > > cc -c -O -pipe -march=athlon-xp -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/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 -finline-limit=8000 --param > > > inline-unit-growth=100 --param large-function-growth=1000 > > > -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding > > > /usr/src/sys/i386/i386/genassym.c > > > cc1: error: invalid parameter `inline-unit-growth' > > > cc1: error: invalid parameter `large-function-growth' > > > *** Error code 1 > > > > This seems not linked to ALTQ at all. Looks more like a defect build > > environment. Did you do a complete buildworld before? Try: > > $ rm -rf /usr/obj/* > > $ cd /usr/src && make buildworld && make buildkernel KERNCONF= > > to have a clean starting point. The gcc update created a lot of noise all over > > the build. > > > I know that this is not related to ALTQ, i'm doing now a > buildworld, again :(, and i will post my results asap. I did a cvsup, buildworld went ok, and when i buildkernel, i get the same error, like that on 29.07: cc -c -O -pipe -march=athlon-xp -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/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/contrib/altq/altq/altq_cbq.c /usr/src/sys/contrib/altq/altq/altq_cbq.c: In function `cbq_request': /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: implicit declaration of function `_mtx_assert' /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: nested extern declaration of `_mtx_assert' /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: error: `MA_OWNED' undeclared (first use in this function) /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: error: (Each undeclared identifier is reported only once /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: error: for each function it appears in.) /usr/src/sys/contrib/altq/altq/altq_cbq.c: In function `cbq_enqueue': /usr/src/sys/contrib/altq/altq/altq_cbq.c:506: warning: nested extern declaration of `_mtx_assert' /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: redundant redeclaration of '_mtx_assert' /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: previous implicit declaration of '_mtx_assert' was here /usr/src/sys/contrib/altq/altq/altq_cbq.c:506: error: `MA_OWNED' undeclared (first use in this function) /usr/src/sys/contrib/altq/altq/altq_cbq.c: In function `cbq_dequeue': /usr/src/sys/contrib/altq/altq/altq_cbq.c:561: warning: nested extern declaration of `_mtx_assert' /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: redundant redeclaration of '_mtx_assert' /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: previous implicit declaration of '_mtx_assert' was here /usr/src/sys/contrib/altq/altq/altq_cbq.c:561: error: `MA_OWNED' undeclared (first use in this function) /usr/src/sys/contrib/altq/altq/altq_cbq.c: In function `cbqrestart': /usr/src/sys/contrib/altq/altq/altq_cbq.c:589: warning: nested extern declaration of `_mtx_assert' /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: redundant redeclaration of '_mtx_assert' /usr/src/sys/contrib/altq/altq/altq_cbq.c:202: warning: previous implicit declaration of '_mtx_assert' was here /usr/src/sys/contrib/altq/altq/altq_cbq.c:589: error: `MA_OWNED' undeclared (first use in this function) *** Error code 1