DragonFly BSD
DragonFly bugs List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Panic in loader


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Apr 2005 16:34:43 -0700 (PDT)

:
: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@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)



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]