Re: Can not build either kernel nor 'world'
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 swhet...@gmail.com wrote: On Tue, Nov 23, 2010 at 9:40 PM, Zhihao Yuan lich...@gmail.com 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: unrecognized command line option: -fformat-extension So what, where can I get a working build tools that work for the kernel world, or how can I downgrade the world so I can get a working gcc and devd? The following may help in getting your system running, but hasn't been tested: 1. Either update or downgrade your sources to get past the gcc bug. 2. Boot the FreeBSD livefs CD/memstick 3. mount your partions mkdir /mnt mount -t ufs /dev/ad0s1a /mnt mount -t ufs /dev/ad0s1d /mnt/usr mount -t ufs /dev/ad0s1e /mnt/var 4. link /mnt/usr/obj directory ln -s /mnt/usr/obj /usr/obj 5. Build world and kernel cd /mnt/usr/src/ make buildworld make buildkernel KERNCONF=MYKERNEL 6. Install the new world and kernel make installworld DESTDIR=/mnt make installkernel DESTDIR=/mnt KERNCONF=MYKERNEL mergemaster -i -C -D /mnt 7. Reboot the computer and remove the fixit CD Scot -- Zhihao Yuan The best way to predict the future is to invent it. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Can not build either kernel nor 'world'
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? This does not provide much information, You are trying to build world and kernel for 8.1-STABLE ? or 8.1-RELEASE ?, CURRENT/HEAD ? Have a log that you can put a link up somewhere so it can be viewed ? Have you followed UPDATING entries that may be relavent to upgrading to whatever your building ? Also have a make.conf and src.conf with entries in it ? if so have you tried removing those entries ? Was your obj directory empty before you started your build ? If not, remove it and start from scratch. Also defining -DALWAYS_CHECK_MAKE may help in your situation as well but its really hard to tell from this point. -- jhell,v ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Can not build either kernel nor 'world'
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? -- Zhihao Yuan The best way to predict the future is to invent it. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Can not build either kernel nor 'world'
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? -- Zhihao Yuan The best way to predict the future is to invent it. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Can not build either kernel nor 'world'
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 I get a working build tools that work for the kernel world, or how can I downgrade the world so I can get a working gcc and devd? On Tue, Nov 23, 2010 at 7:33 PM, Zhihao Yuan lich...@gmail.com 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? -- Zhihao Yuan The best way to predict the future is to invent it. -- Zhihao Yuan The best way to predict the future is to invent it. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
Re: Can not build either kernel nor 'world'
On Tue, Nov 23, 2010 at 9:40 PM, Zhihao Yuan lich...@gmail.com 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: unrecognized command line option: -fformat-extension So what, where can I get a working build tools that work for the kernel world, or how can I downgrade the world so I can get a working gcc and devd? The following may help in getting your system running, but hasn't been tested: 1. Either update or downgrade your sources to get past the gcc bug. 2. Boot the FreeBSD livefs CD/memstick 3. mount your partions mkdir /mnt mount -t ufs /dev/ad0s1a /mnt mount -t ufs /dev/ad0s1d /mnt/usr mount -t ufs /dev/ad0s1e /mnt/var 4. link /mnt/usr/obj directory ln -s /mnt/usr/obj /usr/obj 5. Build world and kernel cd /mnt/usr/src/ make buildworld make buildkernel KERNCONF=MYKERNEL 6. Install the new world and kernel make installworld DESTDIR=/mnt make installkernel DESTDIR=/mnt KERNCONF=MYKERNEL mergemaster -i -C -D /mnt 7. Reboot the computer and remove the fixit CD Scot ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org