Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 11:09:22 +0300
From:      Dan Cojocar <dan.cojocar@gmail.com>
To:        Max Laier <max@love2party.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Buildkernel+ALTQ error
Message-ID:  <b37cb0970408020109250948c4@mail.gmail.com>
In-Reply-To: <200408020950.52165.max@love2party.net>
References:  <b37cb09704072906577f137b70@mail.gmail.com> <200407310406.44714.max@love2party.net> <b37cb09704080200355045ef68@mail.gmail.com> <200408020950.52165.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2 Aug 2004 09:50:51 +0200, Max Laier <max@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.
  Thanks,
                                                Dan

Ps. My kernel config:
machine         i386
cpu             I686_CPU
ident           FREE
makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
options         SCHED_ULE               # ULE scheduler
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_ACL                 # Support for access control lists
options         UFS_DIRHASH             # Improve performance on big directories
options         GEOM_GPT                # GUID Partition Tables.
options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         SCSI_DELAY=15000        # Delay (in ms) before probing SCSI
options         KTRACE                  # ktrace(1) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~128k to driver.
options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~215k to driver.
options         PFIL_HOOKS              # pfil(9) framework

options         KDB                     # Enable kernel debugger support.
options         INVARIANTS              # Enable calls of extra sanity checking
options         WITNESS                 # Enable checks to detect
deadlocks and cycles
device          isa
device          eisa
device          pci
device          ata
device          atadisk         # ATA disk drives
device          atapicd         # ATAPI CDROM drives
options         ATA_STATIC_ID   # Static device numbering
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse
device          vga             # VGA video card driver
device          splash          # Splash screen and screen saver support
device          sc
device          npx
device          pmtimer
device          sio             # 8250, 16[45]50 based serial ports
device          loop            # Network loopback
device          ether           # Ethernet support
device          pty             # Pseudo-ttys (telnet etc)
device          bpf             # Berkeley packet filter
options         RANDOM_IP_ID
options         HZ=1000
options         ALTQ
options         ALTQ_CBQ        # Class Bases Queueing
options         ALTQ_RED        # Random Early Drop
options         ALTQ_RIO        # RED In/Out
options         ALTQ_HFSC       # Hierarchical Packet Scheduler
options         ALTQ_CDNR       # Traffic conditioner
options         ALTQ_PRIQ       # Prioirity Queueing



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b37cb0970408020109250948c4>