Re: Can not build either kernel nor 'world'

2010-11-24 Thread jhell
On 11/23/2010 20:33, Zhihao Yuan wrote: > I built and installed the latest 'world' this afternoon, and found that I > can not build the kernel now. And, the devd can not be started. I do not > know what's wrong. Maybe I need to downgrade my system to 8.1-RELEASE first. > What should I do now? > T

Re: Can not build either kernel nor 'world'

2010-11-24 Thread Zhihao Yuan
I used wget to get the base system, and installed it to a alternative root. Then I replaced the broken gcc with the old working ones, then rebuild everything. Now my system works. On Wed, Nov 24, 2010 at 1:58 AM, Scot Hetzel wrote: > On Tue, Nov 23, 2010 at 9:40 PM, Zhihao Yuan wrote: > > OK, I

Re: Can not build either kernel nor 'world'

2010-11-23 Thread Scot Hetzel
On Tue, Nov 23, 2010 at 9:40 PM, Zhihao Yuan wrote: > OK, I know what happened. The version that I used to buildworld happens to > have a bug in gcc, which just crashes and crashes. Then I tried to use the > external gcc42 to build the kernel, but I got the error message: > cc1: error: unrecognize

Re: Can not build either kernel nor 'world'

2010-11-23 Thread Zhihao Yuan
OK, I know what happened. The version that I used to buildworld happens to have a bug in gcc, which just crashes and crashes. Then I tried to use the external gcc42 to build the kernel, but I got the error message: cc1: error: unrecognized command line option: -fformat-extension So what, where can