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

Re: [Xen-devel] dom0 kernel crashes with kernel panic during boot



> We've never tried XenLinux with an SSP/PIE-enabled version of GCC.
> You might want to try adding 
> "-nopie -fno-stack-protector -fno-stack-protector-all"
> to Linux's CFLAGS in the Linux root Makefile. 
> 
> Although perhaps these are already disabled -- Xen itself doesn't
> build at all with PIE or SSP turned on. 

still crashing. vmlinux is available, see my second message.

CFLAGS:

--- /usr/src/linux-2.6.9-xen0/Makefile  2004-11-15 17:37:04.000000000 
+0100
+++ /usr/src/linux-2.6.9-xen0/Makefile.original 2004-11-15 
17:34:28.000000000 +0100
@@ -204,8 +204,7 @@

 HOSTCC         = gcc
 HOSTCXX        = g++
-#HOSTCFLAGS    = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-HOSTCFLAGS     = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer 
-nopie -fno-stack-protector -fno-stack-protector-all
+HOSTCFLAGS     = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
 HOSTCXXFLAGS   = -O2

 #      Decide whether to build built-in, modular, or both.
@@ -346,9 +345,7 @@
 CPPFLAGS        := -D__KERNEL__ $(LINUXINCLUDE)

 CFLAGS                 := -Wall -Wstrict-prototypes -Wno-trigraphs \
-                  -fno-strict-aliasing -fno-common \
-                  -nopie -fno-stack-protector -fno-stack-protector-all
-
+                  -fno-strict-aliasing -fno-common
 AFLAGS         := -D__ASSEMBLY__

 export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION LOCALVERSION 
KERNELRELEASE \

-- 
Jan Kundrat
jan.kundrat@xxxxxx



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.