Howdy,

> -----Original Message-----
> From: John Baldwin [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 2 August 2002 4:05
> To: Bruce Evans
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Chris Knight
> Subject: RE: Comments on Release Building for -current
> 
> 
> On 01-Aug-2002 Bruce Evans wrote:
> > 
> > -mcpu=pentiumpro causes huge bloatage here (+400K text for 
> > a 2000K text kernel IIRC).  I quickly turned it off here.
> 
> Ok.  I'll make some patches to use NO_CPU_CFLAGS and 
> NO_CPU_COPTFLAGS when building stuff to go on the crunches as
> well as -Os.
> 
-mcpu=pentiumpro is a huge pig-dog. It should be culled from the
crunches and from the kernels. I managed to cull it from the
kernels by simply adding

KERNEL_FLAGS+=  -D_NO_CPU_CFLAGS -DNO_CPU_COPTFLAGS

into /usr/src/release/Makefile. I also managed to cull it from
the crunches by adding the above defines into boot_crunch.conf
and fixit_crunch.conf.
The savings still aren't enough though :-( -Os may help here,
but I'm having dificulty trying to find where this should go.

Regards,
Chris Knight
Systems Administrator
AIMS Independent Computer Professionals
Tel: +61 3 6334 6664  Fax: +61 3 6331 7032  Mob: +61 419 528 795
Web: http://www.aims.com.au


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to