r919 - trunk

archaic at linuxfromscratch.org archaic at linuxfromscratch.org
Mon Dec 6 22:53:30 PST 2004


Author: archaic
Date: 2004-12-06 23:53:29 -0700 (Mon, 06 Dec 2004)
New Revision: 919

Modified:
   trunk/ssp.txt
Log:
Updated: ssp.txt

Modified: trunk/ssp.txt
===================================================================
--- trunk/ssp.txt	2004-12-07 01:43:54 UTC (rev 918)
+++ trunk/ssp.txt	2004-12-07 06:53:29 UTC (rev 919)
@@ -1,6 +1,6 @@
 AUTHOR:		Robert Connolly <robert at linuxfromscratch dot org> (ashes)
 
-DATE:		2004-12-02
+DATE:		2004-12-06
 
 LICENSE:	Public Domain
 
@@ -133,7 +133,8 @@
 In the entropy.txt hint there is a libarc3library using frandom, which
 has a patch for Mktemp. See entropy.txt for more details.
 
-The XFree86 patch disables stack protection for some modules.
+The XFree86 patch disables stack protection for some modules. This patch
+works for Xorg and XFree86-4.4 too.
 
 http://www.linuxfromscratch.org/patches/downloads/XFree86/ \
         XFree86-4.3.0-ssp-1.patch
@@ -198,9 +199,6 @@
 Installation
 =====================
 
-Do not use -O3 (or -O4) optimizations with stack protector or things will
-not work.
-
 ---------
 Chapter 5
 ---------
@@ -239,7 +237,7 @@
 patch -Np1 -i ../gcc-3.3-sspspecs-4.patch
 
  - Grub
-CFLAGS="-fno-stack-protector" ./configure...
+CFLAGS="-fno-stack-protector -O2" ./configure...
 
  - GCC 2.95.3
 If you are only using gcc2 to compile the kernel then don't bother applying
@@ -247,11 +245,6 @@
  
 patch -Np1 -i ../gcc-2.95.3-ssp-4.patch
 
- - Perl
-# Perl uses -O3 by default which can cause problems with SSP, reset it
-# to use -O2.
-env CFLAGS="-O2" ./configure...
-
 ---------
 Chapter 8
 ---------
@@ -423,3 +416,7 @@
 [2004-12-02]
 * New glibc patches.
 * Added note about using 2.6.7 frandom patch for older kernels.
+[2004-12-06]
+* XFree86 patch works with Xorg too.
+* -O3 optimizations are fine.
+* Added -O2 to Grub's CFLAGS.




More information about the hints mailing list