From owner-freebsd-current Sun Aug 4 0:26:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4322037B401 for ; Sun, 4 Aug 2002 00:26:53 -0700 (PDT) Received: from postoffice.aims.com.au (eth0.lnk.aims.com.au [203.31.73.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A8DD43E42 for ; Sun, 4 Aug 2002 00:26:50 -0700 (PDT) (envelope-from chris@aims.com.au) Received: from postoffice.aims.com.au (nts-ts1.aims.private [192.168.10.2]) by postoffice.aims.com.au with ESMTP id g747Qme87384 for ; Sun, 4 Aug 2002 17:26:48 +1000 (EST) (envelope-from chris@aims.com.au) Received: from ntsts1 by aims.com.au with SMTP (MDaemon.v3.5.3.R) for ; Sun, 04 Aug 2002 16:56:49 +1000 Reply-To: From: "Chris Knight" To: , "'Bruce Evans'" Cc: , Subject: RE: Comments on Release Building for -current Date: Sun, 4 Aug 2002 16:56:47 +1000 Message-ID: <03aa01c23b84$1aced680$020aa8c0@aims.private> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-Return-Path: chris@aims.com.au X-MDaemon-Deliver-To: freebsd-current@FreeBSD.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Howdy, > -----Original Message----- > From: John Baldwin [mailto:jhb@FreeBSD.org] > Sent: Friday, 2 August 2002 4:05 > To: Bruce Evans > Cc: freebsd-current@FreeBSD.org; re@FreeBSD.org; 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message