need help in rebuilding to Freebsd 5.3

Albert Vest alvest at earthlink.net
Sat May 14 11:06:05 GMT 2005


On Tue, 30 Nov 2004 20:30:46 +0530
"Kamal R. Prasad" <kamalp at kprasad.org> wrote:

> 
> Hello,
> 
>   I am not aware whether this is the right mailing list -so pl. advise 
> where to send in my request if it isn't. I am running Freebsd 5.2.1
> 
> I have sources from CD on my /usr/src -and want to upgrade to Stable 5.3.
> 
...
> 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 -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
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/GENERIC.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> -------------------------------------
> Appreciate any help on this.
> 
> thanks
> -kamal

GCC isn't recognizing those growth parameters.  I've rebuilt 5.3-stable a few times, using those parameters, no problems, but I installed from the 5.3 CD.  What version of GCC are you running?  System default on 5.3 is 3.4.2 (20040728)


-- 
Albert Vest, al vest at earth link dot net


More information about the freebsd-hackers mailing list