> From: Kris Kennaway [mailto:[EMAIL PROTECTED]] > > On Tue, Feb 18, 2003 at 11:59:48PM -0500, Darren Henderson wrote: > > > > I'm seeing a spontaneous reboot in one very specific > circumstance that > > appears to be attributable to the use of gcc with -O2 optimization. > > Are you also compiling the kernel with -O2? If so, then "Don't do > that then". -O2 has had known serious bugs in the past.
-O2 -pipe -malign-loops=4 -malign-jumps=4 -malign-functions=4 -mcpu=i686 -march=i686 -fno-gcse is what I'm using with good affect. I found one problem for sure with global common sub-expression elimination in the FreeBSD kernel w/ gcc 2.95. gcc 3.X is much more reliable, but not the default compiler for 4.X. The alignment used by default makes for fairly poor performance for pentium-4 / xeon architectures. --don To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message