Subject: Re: NetBSD kernel fails to boot
To: None <netbsd-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-users
Date: 08/22/2004 20:59:22
In article <412639C8.9080300@mac.com>,
Chuck Swiger <cswiger@mac.com> writes:
> The most likely answer is that the NetBSD kernel source code accesses memory
> not entirely in a type-safe fashion, and higher optimization levels will
> expose these problems because the compiler's assumptions about which
> variables can be changed via pointer, structure, or union member
> dereferencing are not correct.
I don't think so. Kernels compile with "-march=p4" and "-O2" work fine
for me on two differnt systems. My guess is a code generation bug in GCC,
IIRC at least "-march=pentium" is broken.
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/