From owner-freebsd-alpha@FreeBSD.ORG Tue Apr 26 14:12:01 2005 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7225916A4CE for ; Tue, 26 Apr 2005 14:12:01 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id C772D43D31 for ; Tue, 26 Apr 2005 14:11:59 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j3QEBtnp012763 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 26 Apr 2005 16:11:57 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j3QEB2hs033775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 26 Apr 2005 16:11:03 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j3QEB2ek050948; Tue, 26 Apr 2005 16:11:02 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j3QEB2J1050947; Tue, 26 Apr 2005 16:11:02 +0200 (CEST) (envelope-from ticso) Date: Tue, 26 Apr 2005 16:11:02 +0200 From: Bernd Walter To: Jan Lentfer Message-ID: <20050426141101.GW15151@cicely12.cicely.de> References: <20050426151816.tjciigz6884csw88@gw0> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050426151816.tjciigz6884csw88@gw0> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=no version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: freebsd-alpha@freebsd.org Subject: Re: /boot/loader and optimization X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 14:12:01 -0000 On Tue, Apr 26, 2005 at 03:18:16PM +0200, Jan Lentfer wrote: > Hi all, > > I havn't been on the list for quit a long time due to lack of time, so maybe my > questions are long answered. If so, I aplogozie. > > Today I updated my PWS 500a to 5.3-RELEASE-p10 (from -p2). This time I used > CFLAGS= -O2 -pipe -fexpensive-optimizations -funroll-loops (before just -O > -pipe). The result was that the machine did not boot after upgrade with the > message halt code = 2 kernel stack not valid halt. > Isn't -O2 supposed to be supported with 5.x on Alpha? It could be that -funroll-loops got the bootcode too big. I don't see very much sense in doing so anyway. Use -O2 -pipe -fno-strict-aliasing as maximum. I personally never had problems with strict aliasing, but it is advised, so I disable it for important machines. -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de