Buildkernel+ALTQ error

Max Laier max at love2party.net
Mon Aug 2 03:22:38 PDT 2004


On Monday 02 August 2004 10:51, Dan Cojocar wrote:
> On Mon, 2 Aug 2004 11:09:22 +0300, Dan Cojocar <dan.cojocar at gmail.com> 
wrote:
> > On Mon, 2 Aug 2004 09:50:51 +0200, Max Laier <max at love2party.net> 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=<yourconf> 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:

Uhm, well ... attached diff should fix this, but I still think that your build 
environment is somehow defective as the required headers would be pulled in 
via the following - certainly discussable - include chain:
 net/if.h -> _KERNEL => net/if_var.h -> altq/if_altq.h -> sys/lock.h & mutex.h

I have to clean that up and add lock headers where needed. Can you meanwhile 
check out if that helps and/or if a #make installincludes helps? Thanks.

-- 
/"\  Best regards,			| mlaier at freebsd.org
\ /  Max Laier				| ICQ #67774661
 X   http://pf4freebsd.love2party.net/	| mlaier at EFnet
/ \  ASCII Ribbon Campaign		| Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: altq_cbq.c.diff
Type: text/x-diff
Size: 594 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040802/a9fda7c4/altq_cbq.c-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040802/a9fda7c4/attachment-0001.bin


More information about the freebsd-current mailing list