Re: Unable to build new kernel with old gcc (WAS: RE: Buildkernel+ALTQ error)

From: Joel M. Baldwin <qumqats_at_outel.org>
Date: Mon, 02 Aug 2004 17:31:06 -0700
It would be NICE if something about this was in UPDATING.

(hint! hint! (maybe NOW I'll be able to buildworld (off running to find version 1.54)))

--On Monday, August 02, 2004 11:45 AM +0400 Yuriy Tsibizov <Yuriy.Tsibizov_at_gfk.ru> wrote:

> You are building new kernel with old (Gcc 3.3.3) gcc that does not support this flags.
>
> You have to go back to rev. 1.54 of sys/conf/kern.pre.mk to build your kernel with gcc 3.3.3.
>
>> -----Original Message-----
>> From: Dan Cojocar [mailto:dan.cojocar_at_gmail.com]
>> Sent: Monday, August 02, 2004 11:35 AM
>> To: Max Laier
>> Cc: freebsd-current_at_freebsd.org
>> Subject: Re: Buildkernel+ALTQ error
>>
>> Hello,
>>
>> Sorry for this delay, but i was offline :(
>>
>> 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
>>
>> On Sat, 31 Jul 2004 04:06:36 +0200, Max Laier
>> <max_at_love2party.net> wrote:
>> > On Thursday 29 July 2004 15:57, you wrote:
>> > > Hello,
>> > >
>> > > I get the following error when building kernel with altq:
>> >
>> > Haven't heard back from you and couldn't reproduce either.
>> Is it safe to
>> > assert is was a temporary problem with your
>> buildenvironment due to the gcc
>> > 3.4 update? Please give me a ping if it is persistent, though.
>> >
>> > --
>> > /"\  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
>> >
>> >
Received on Mon Aug 02 2004 - 22:30:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:04 UTC