From owner-freebsd-stable Mon Dec 11 11:14:50 2000 From owner-freebsd-stable@FreeBSD.ORG Mon Dec 11 11:14:47 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 1D0FF37B400 for ; Mon, 11 Dec 2000 11:14:47 -0800 (PST) Received: from dragon.nuxi.com (Ipittythefoolthattrustsident@trang.nuxi.com [209.152.133.57]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id LAA58812; Mon, 11 Dec 2000 11:14:37 -0800 (PST) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.1/8.11.1) id eBBJEZj98180; Mon, 11 Dec 2000 11:14:35 -0800 (PST) (envelope-from obrien) Date: Mon, 11 Dec 2000 11:14:35 -0800 From: "David O'Brien" To: Mark Powell Cc: freebsd-stable@freebsd.org Subject: Re: Different gcc optimisations cause IP packet CRC problems Message-ID: <20001211111434.A98131@dragon.nuxi.com> Reply-To: stable@freebsd.org References: <20001211103638.A21163@peitho.fxp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from M.S.Powell@salford.ac.uk on Mon, Dec 11, 2000 at 03:45:02PM +0000 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: obrien@NUXI.com Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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. -- -- David (obrien@FreeBSD.org) GNU is Not Unix / Linux Is Not UniX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message