From owner-freebsd-stable Thu Oct 26 23:29:40 2000 Delivered-To: freebsd-stable@freebsd.org Received: from saarinen.org (saarinen.org [203.79.82.14]) by hub.freebsd.org (Postfix) with ESMTP id 6489737B479; Thu, 26 Oct 2000 23:29:31 -0700 (PDT) Received: from vimfuego.saarinen.org (softdnserr [::ffff:192.168.1.1]) (IDENT: foobar) by saarinen.org with esmtp; Fri, 27 Oct 2000 19:29:30 +1300 Date: Fri, 27 Oct 2000 19:29:30 +1300 (NZDT) From: Juha Saarinen To: Donn Miller Cc: "stable@FreeBSD.ORG" , "freebsd-stable@FreeBSD.ORG" Subject: Re: "Malloc type lacks magic" show-stopper solved In-Reply-To: <39F91FA9.F3FC1B22@cvzoom.net> Message-ID: X-S: Always Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. More importantly, it would be nice to have it spelt out that using certain optflags just ain't gonna work. Just put in a few lines in /etc/default/make.conf to discourage people from using anything apart from -O (or whatever). That's the easiest, surely? -- Juha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message