Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2005 16:11:02 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        Jan Lentfer <Jan.Lentfer@web.de>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: /boot/loader and optimization
Message-ID:  <20050426141101.GW15151@cicely12.cicely.de>
In-Reply-To: <20050426151816.tjciigz6884csw88@gw0>
References:  <20050426151816.tjciigz6884csw88@gw0>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050426141101.GW15151>