/boot/loader and optimization
Bernd Walter
ticso at cicely12.cicely.de
Tue Apr 26 07:12:01 PDT 2005
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 at bwct.de info at bwct.de
More information about the freebsd-alpha
mailing list