r910 - trunk

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Mon Nov 22 22:38:05 PST 2004


Author: tushar
Date: 2004-11-22 23:38:02 -0700 (Mon, 22 Nov 2004)
New Revision: 910

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

Modified: trunk/ssp.txt
===================================================================
--- trunk/ssp.txt	2004-11-14 17:12:02 UTC (rev 909)
+++ trunk/ssp.txt	2004-11-23 06:38:02 UTC (rev 910)
@@ -1,6 +1,6 @@
 AUTHOR:		Robert Connolly <robert at linuxfromscratch dot org> (ashes)
 
-DATE:		2004-11-12
+DATE:		2004-11-21
 
 LICENSE:	Public Domain
 
@@ -76,9 +76,9 @@
 If any of these links are broken look for a newer version.
 
 *** All of these patches are in:
-http://www.linuxfromscratch.org/~robert/hlfs/downloads/cvs/\
+http://www.linuxfromscratch.org/~robert/hlfs/current/\
 	hlfs-patches-{date}.tar.bz2
-For example: hlfs-patches-20041104.tar.bz2
+For example: hlfs-patches-20041121.tar.bz2
 
 Note: gcc-3.3 patches apply to gcc-3.3.* too. Likewise with gcc-3.4 patches.
 
@@ -95,8 +95,8 @@
 logs for these alerts.
 
 http://www.linuxfromscratch.org/patches/downloads/glibc/\
-        glibc-2.3.2-ssp-frandom-5.patch
-	glibc-2.3.4-ssp_frandom-4.patch # This works for glibc-2.3.3 too.
+        glibc-2.3.2-ssp-frandom-6.patch
+	glibc-2.3.4-ssp_frandom-5.patch # This works for glibc-2.3.3 too.
 
 This GCC Specs patch adds -fstack-protector-all to GCC's default compiler flags.
 Filters prevent libraries and the kernel from being built with unnessesary
@@ -106,9 +106,9 @@
 legacy.
 
 http://www.linuxfromscratch.org/patches/downloads/gcc/\
-	gcc-3.3-sspspecs-3.patch
-	gcc-3.4-sspspecs-2.patch
-	gcc-2.95.3-sspspecs-2.patch
+	gcc-3.3-sspspecs-4.patch
+	gcc-3.4-sspspecs-3.patch
+	gcc-2.95.3-sspspecs-3.patch
 
 The Linux kernel patch adds support to the Linux kernel for smash symbols. It
 can only build with -fstack-protector, not -fstack-protector-all, and is
@@ -207,12 +207,12 @@
 If the host system has SSP in Glibc already, then you can patch gcc
 here. Otherwise do not. If in doubt, wait until pass two.
  - Glibc
-patch -Np1 -i ../glibc-2.3.4-ssp_frandom-4.patch # or 2.3.2's patch
+patch -Np1 -i ../glibc-2.3.4-ssp_frandom-5.patch # or 2.3.2's patch
 
  - GCC pass 2
 If you use sspspecs patch then a `make bootstrap` is a good idea too.
 patch -Np1 -i ../gcc-3.3-ssp-3.patch
-patch -Np1 -i ../gcc-3.3-sspspecs-3.patch
+patch -Np1 -i ../gcc-3.3-sspspecs-4.patch
 
  - Binutils pass 2
 Just for the testsuite.
@@ -224,20 +224,22 @@
 Make sure the frandom header get installed again.
 
  - Glibc
-patch -Np1 -i ../glibc-2.3.4-ssp_frandom-4.patch
+patch -Np1 -i ../glibc-2.3.4-ssp_frandom-5.patch
 
  - Binutils
 make CFLAGS="-fno-stack-protector" check
 
  - GCC
-hgcc -fa
 patch -Np1 -i ../gcc-3.3-ssp-3.patch
-patch -Np1 -i ../gcc-3.3-sspspecs-3.patch
+patch -Np1 -i ../gcc-3.3-sspspecs-4.patch
 
  - Grub
 CFLAGS="-fno-stack-protector" ./configure...
 
  - GCC 2.95.3
+If you are only using gcc2 to compile the kernel then don't bother applying
+the sspspecs patch to it.
+ 
 patch -Np1 -i ../gcc-2.95.3-ssp-4.patch
 
  - Perl
@@ -410,3 +412,7 @@
 * Update patches, new define for SYSCTL_ERANDOM.
 [2004-11-12]
 * Fix typos
+[2004-11-21]
+* Add new Glibc patches with stderr overflow messages.
+* Fixed sspspecs patches so they actually work with g++.
+




More information about the hints mailing list