Re: Panic in loader

看板DFBSD_bugs作者時間21年前 (2005/04/05 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/9 (看更多)
: :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)
文章代碼(AID): #12KSvt00 (DFBSD_bugs)
文章代碼(AID): #12KSvt00 (DFBSD_bugs)