From owner-freebsd-stable Tue Dec 12 9:35:17 2000 From owner-freebsd-stable@FreeBSD.ORG Tue Dec 12 09:35:15 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 017D537B400 for ; Tue, 12 Dec 2000 09:35:15 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.3) with ESMTP id JAA00763 for ; Tue, 12 Dec 2000 09:35:14 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.1/8.11.0) id eBCHZDj48175; Tue, 12 Dec 2000 09:35:13 -0800 (PST) (envelope-from jdp) Date: Tue, 12 Dec 2000 09:35:13 -0800 (PST) Message-Id: <200012121735.eBCHZDj48175@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Subject: Re: Different gcc optimisations cause IP packet CRC problems In-Reply-To: References: Organization: Polstra & Co., Seattle, WA Sender: jdp@wall.polstra.com Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article , Mark Powell wrote: > I hadn't seen those comments. I didn't think gcc could be *that* > broken. Cheers. I'm going to go out on a limb here and say that I have serious doubts it's really a gcc bug. I think the problem is most likely that the constraint specifications are incorrect in some of our "asm" statements. BSD/OS uses -O2 to build kernels, and it works fine for several versions of GCC including 2.95.2 (if I remember the version number correctly). And their kernel isn't all that different from ours. A systematic review of all our "asm" statments would probably find some bugs which, when fixed, would allow us to use -O2 for building kernels. No, I'm not volunteering. :-) John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message