On Sun, Sep 17, 2006 at 02:23:43PM -0700, Bryan Irvine wrote: > I'm trying to update my system. It's been running 4.0-beta for a while so I > figure it's time to upgrade. I'm getting a nasty error trying to build a > new kernel though. > > I rm -rf /usr/src and started over with a new source tree but it's still > there. [snip]
> OpenBSD 4.0-beta (GENERIC) #0: Thu Jul 27 00:47:11 PDT 2006 Note that the "Following -current" FAQ says: "2006/07/27 - new compiler option The kernel on all platforms is now built with the recently introduced -Wstack-larger-than compiler option. Before building a kernel, the compiler needs to be built and installed." http://openbsd.rt.fm/faq/current.html You will probably find upgrading to a recent snapshot easier than rebuilding your compiler.