From owner-freebsd-stable Thu Oct 26 23:24:50 2000 Delivered-To: freebsd-stable@freebsd.org Received: from krycek.zoominternet.net (krycek.zoominternet.net [63.67.120.9]) by hub.freebsd.org (Postfix) with SMTP id 28FDD37B479 for ; Thu, 26 Oct 2000 23:24:47 -0700 (PDT) Received: (qmail 4575 invoked from network); 27 Oct 2000 06:23:32 -0000 Received: from lcl12.cvzoom.net (HELO cvzoom.net) (208.226.155.12) by krycek.zoominternet.net with SMTP; 27 Oct 2000 06:23:32 -0000 Message-ID: <39F91FA9.F3FC1B22@cvzoom.net> Date: Fri, 27 Oct 2000 02:24:41 -0400 From: Donn Miller X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 4.1.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: stable@FreeBSD.ORG Cc: "freebsd-stable@FreeBSD.ORG" Subject: Re: "Malloc type lacks magic" show-stopper solved References: <20001026222017.A9391@dragon.nuxi.com> <20001026231134.D9391@dragon.nuxi.com> <20001026231338.E9391@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David O'Brien wrote: > > On Thu, Oct 26, 2000 at 11:11:34PM -0700, David O'Brien wrote: > > Are you asking about which optflags I used? If memory serves me right, > > -O3, -march=i686, -mcpu=i686, -ffast-math, -fexpensive-optimizations. The > > -fomit-frame-pointer flag doesn't work. > > Forgot to mention. I'm considering removing the ability to do -O2 and > -O3 from the system C compiler again.... people are just proving over and > over how much they want to shoot their foot off. I wouldn't do that. I'd just hard-code -O in the Makefile used to compile the kernel. Or, you could put a perl or sed script in /sys/i386/* that does something like s/-O[12s]/-O/, so that any flags specified, such as -O2, -O3, or -Os are converted to -O. I'd keep the ability to do something like -march=ARCH, though, as that doesn't cause the headaches that -O3 et. al. do. - Donn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message