From owner-freebsd-stable Thu Nov 2 3:54:30 2000 Delivered-To: freebsd-stable@freebsd.org Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by hub.freebsd.org (Postfix) with ESMTP id 695A837B479; Thu, 2 Nov 2000 03:54:25 -0800 (PST) Received: from [128.130.111.77] (taygeta [128.130.111.77]) by vexpert.dbai.tuwien.ac.at (8.9.3/8.9.3) with ESMTP id MAA13749; Thu, 2 Nov 2000 12:54:22 +0100 (MET) Date: Thu, 2 Nov 2000 12:54:23 +0100 (CET) From: Gerald Pfeifer To: Cc: Cy Schubert - ITSD Open Systems Group , "David O'Brien" Subject: Re: "Malloc type lacks magic" show-stopper solved Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Cy Schubert wrote: > Anything above -O is not recommended. I've had problems with > optimisation above -O under gcc on Intel (FreeBSD & Linux) ever since I > converted from IBM mainframe to UNIX (religious experience). I cannot recall any bug report on the GCC mailing lists. David O'Brien wrote: > 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. Please don't. We are already seeing enough problems due to differences between FSF GCC and FreeBSD's patched version. Please let's reduce those differences, not introduce anything further. Besides, -O2 and -O3 are perfectly legitimate options for user code, and I really don't see why one shouldn't use the system compiler for that as well but install another one. Finally, I do agree about -O3, but -O2 *should* definitely work for the kernel. If it does not, this is a bug, either in GCC or FreeBSD, and ought to be tracked down and, in the former case, at least be reported to the GCC folks. Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message