From owner-freebsd-stable Mon Dec 11 11:52:15 2000 From owner-freebsd-stable@FreeBSD.ORG Mon Dec 11 11:52:11 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from hamberg.it.uu.se (hamberg.it.uu.se [130.238.9.198]) by hub.freebsd.org (Postfix) with ESMTP id DA05C37B400 for ; Mon, 11 Dec 2000 11:52:09 -0800 (PST) Received: (from ertr1013@localhost) by hamberg.it.uu.se (8.8.5/8.8.5) id UAA15975 for stable@freebsd.org; Mon, 11 Dec 2000 20:52:07 +0100 (MET) Date: Mon, 11 Dec 2000 20:52:07 +0100 From: Erik Trulsson To: stable@freebsd.org Subject: Re: Re: Different gcc optimisations cause IP packet CRC problems Message-ID: <20001211205207.A15479@student.uu.se> References: <20001211103638.A21163@peitho.fxp.org> <20001211111434.A98131@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001211111434.A98131@dragon.nuxi.com>; from obrien@freebsd.org on Mon, Dec 11, 2000 at 11:14:35AM -0800 Sender: ertr1013@csd.uu.se Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Dec 11, 2000 at 11:14:35AM -0800, David O'Brien wrote: > On Mon, Dec 11, 2000 at 03:45:02PM +0000, Mark Powell wrote: > > > No, but you may want to review the mailing list archives since GCC > > > optimization problems have been rehash many times (see also the notes > > > in /etc/defaults/make.conf WRT optimization). > > > > I hadn't seen those comments. I didn't think gcc could be *that* broken. > > Compiling a kernel is *very* demanding on a C compiler. Linux still uses > 2.7.2.3 for their kernel compiler (someone correct me if this is not > still the case). Optimization is a hard science. I don't think anybody AFAIK Linux doesn't need 2.7.2.3 anymore. The reason they needed it for kernel compiling for quite some time was , IIRC, that they had some bad code which happened to work with 2.7.2.3 but didn't work with a later, more strict, version of gcc. > has ever guarenteed 100% correct code with -O2. But if you > can provide a test case showing the optimizer bug, the GCC developers > will fix it. > -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message