From owner-freebsd-sparc64@FreeBSD.ORG Sat Feb 4 12:19:48 2006 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C00016A420; Sat, 4 Feb 2006 12:19:48 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id E42F943D45; Sat, 4 Feb 2006 12:19:45 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id ADA032081; Sat, 4 Feb 2006 13:19:38 +0100 (CET) X-Spam-Tests: AWL,BAYES_00,FORGED_RCVD_HELO,LONGWORDS X-Spam-Learn: no X-Spam-Score: -1.2/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 3C8C52080; Sat, 4 Feb 2006 13:19:38 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id 2298C33C22; Sat, 4 Feb 2006 13:19:38 +0100 (CET) To: Warner Losh References: <8664nwrbp8.fsf@xps.des.no> <20060203102659.GA66445@xor.obsecurity.org> <861wykr9vx.fsf@xps.des.no> <20060203.105305.71186162.imp@bsdimp.com> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Sat, 04 Feb 2006 13:19:37 +0100 In-Reply-To: <20060203.105305.71186162.imp@bsdimp.com> (Warner Losh's message of "Fri, 03 Feb 2006 10:53:05 -0700 (MST)") Message-ID: <86bqxntixy.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: src-committers@freebsd.org, kris@obsecurity.org, stable@freebsd.org, sparc64@freebsd.org Subject: Re: [releng_6 tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 12:19:48 -0000 Warner Losh writes: > Can we not have special flags for tinderbox builds? It make > pre-commit testing a big pita. How about just -O on both head and > in RELENG_6? As I have repeatedly pointed out in the past, -O2 catches more bugs because it enables optimizations which require more extensive coverage analysis. > The kernel make files have special magic to disable the parts of -O2 > that are known to be bad because tinderbox uses -O2, despite efforts > in the past to stop the practice. The kernel has special magic to disable strict aliasing checks because certain people regularly commit kernel code which violates C aliasing rules and refuse to fix it. The userland code does not need these hacks because I spent a lot of time and effort fixing aliasing bugs in e.g. libalias. Aliasing violations are not trivial matters; they prevent the compiler from optimizing code which (for instance) accesses structure members through pointers to the structure. There is a lot of this in the kernel. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no