Panic in loader

Matthew Dillon dillon at apollo.backplane.com
Mon Apr 4 16:35:00 PDT 2005


:
: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 at xxxxxxxxxxxxx>

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)





More information about the Bugs mailing list