[Glibc-bsd-commits] r2748 - in trunk/kfreebsd-8/debian: . patches
Petr Salinger
ps-guest at alioth.debian.org
Sat Aug 29 18:54:04 UTC 2009
Author: ps-guest
Date: 2009-08-29 18:54:03 +0000 (Sat, 29 Aug 2009)
New Revision: 2748
Added:
trunk/kfreebsd-8/debian/patches/950_no_stack_protector.diff
Modified:
trunk/kfreebsd-8/debian/changelog
trunk/kfreebsd-8/debian/patches/series
Log:
disable stack-protector
Modified: trunk/kfreebsd-8/debian/changelog
===================================================================
--- trunk/kfreebsd-8/debian/changelog 2009-08-29 14:56:42 UTC (rev 2747)
+++ trunk/kfreebsd-8/debian/changelog 2009-08-29 18:54:03 UTC (rev 2748)
@@ -6,6 +6,8 @@
* Enhance 007_clone_signals.diff
* Alter Build-depends as freebsd-buildutils 7.0 is still sufficent
* Update of some patches
+ * Disable SSP, under QEMU it currently leads to panic :-(
+ - 950_no_stack_protector.diff
[ Luca Favatella ]
* Drop patches
Added: trunk/kfreebsd-8/debian/patches/950_no_stack_protector.diff
===================================================================
--- trunk/kfreebsd-8/debian/patches/950_no_stack_protector.diff (rev 0)
+++ trunk/kfreebsd-8/debian/patches/950_no_stack_protector.diff 2009-08-29 18:54:03 UTC (rev 2748)
@@ -0,0 +1,17 @@
+
+ disable ssp for now ...
+ at least under QEMU it panics, might be due to
+ - QEMU
+ - newer gcc compared to plain FreeBSD
+ - different init order
+ - ...
+
+--- src.orig/sys/conf/kern.mk
++++ src/sys/conf/kern.mk
+@@ -113,5 +125,5 @@
+ #
+ .if ${MK_SSP} != "no" && ${CC} != "icc" && ${MACHINE_ARCH} != "ia64" && \
+ ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
+-CFLAGS+= -fstack-protector
++CFLAGS+= -fno-stack-protector
+ .endif
Modified: trunk/kfreebsd-8/debian/patches/series
===================================================================
--- trunk/kfreebsd-8/debian/patches/series 2009-08-29 14:56:42 UTC (rev 2747)
+++ trunk/kfreebsd-8/debian/patches/series 2009-08-29 18:54:03 UTC (rev 2748)
@@ -19,4 +19,5 @@
910_GENERIC_hints.diff
912_binutils.diff
913_uudecode.diff
+950_no_stack_protector.diff
999_config.diff
More information about the Glibc-bsd-commits
mailing list