Date: Wed, 6 Oct 2004 19:55:14 +0000 (UTC) From: Ken Smith <kensmith@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf kern.pre.mk Message-ID: <200410061955.i96JtFtG056963@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kensmith 2004-10-06 19:55:14 UTC FreeBSD src repository Modified files: sys/conf kern.pre.mk Log: Back out v1.49. Recent findings suggest sparc64 may not be ready for -O2 on kernel compiles after all. While working on adding a KASSERT to sparc64/sparc64/rwindow.c I found that it was "position sensitive", putting it above a call to flushw() instead of below caused corruption of processes on the system. jake and jhb have both confirmed there is no obvious explanation for that. The exact same kernel code does not have the process corruption problem if compiled with -O instead of -O2. There have been signs of similar issues floated on the sparc64@ mailing list, lets see if this helps make them go away. Note this isn't an optimal fix as far as the file format goes, if this disgusts too many people I'll fix it the right way. Since compiling with something other than -O is a known problem this format would prevent a change to the default causing grief. And this may also help motivate finding out what the compiler is doing wrong so we can shift back to using -O2. :-) My turn for the pointy hat... One of the florescent ones... MFC after: 2 days Revision Changes Path 1.58 +1 -1 src/sys/conf/kern.pre.mk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410061955.i96JtFtG056963>