看板 DFBSD_bugs 關於我們 聯絡資訊
: :I just finished rebuilding and installing world and kernel and rebooted and :got this (typed by hand): : :BTX loader 1.00 BTX version is 1.01 :Console: internal video/keyboard :BIOS drive C: is disk0 :DIOS 636kB/784768kB available memory :panic: stack overflow in function :--> Press any key on the console to reboot <-- Try adding -fno-stack-protector to the loader's Makefile and tell me if it helps. -Matt Matthew Dillon <dillon@backplane.com> Index: Makefile =================================================================== RCS file: /cvs/src/sys/boot/i386/loader/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- Makefile 14 Oct 2004 09:41:01 -0000 1.7 +++ Makefile 4 Apr 2005 23:34:09 -0000 @@ -19,6 +19,7 @@ # architecture-specific loader code SRCS= main.c conf.c +CFLAGS+= -fno-stack-protector CFLAGS+= -ffreestanding # Enable PXE TFTP or NFS support, not both. .if defined(LOADER_TFTP_SUPPORT)