Author: robert Date: 2009-02-21 18:02:44 -0700 (Sat, 21 Feb 2009) New Revision: 1483
Modified: branches/Onward/downloads/packages.txt branches/Onward/downloads/patches.txt branches/Onward/kernel-config.txt branches/Onward/temporary_system/binutils_pass1.txt branches/Onward/temporary_system/binutils_pass2.txt branches/Onward/temporary_system/gcc_pass1.txt Log: Bump to Binutils-2.19.1. Modified: branches/Onward/downloads/packages.txt =================================================================== --- branches/Onward/downloads/packages.txt 2008-10-29 21:02:10 UTC (rev 1482) +++ branches/Onward/downloads/packages.txt 2009-02-22 01:02:44 UTC (rev 1483) @@ -2,8 +2,9 @@ # http://ftp.gnu.org/gnu/bash/bash-3.2.tar.gz.sig http://ftp.gnu.org/gnu/bash/bash-3.2.tar.gz -# Binutils-2.19 snapshot (the md5sum changes daily): -ftp://sources.redhat.com/pub/binutils/snapshots/binutils-2.19.50.tar.bz2 +# Binutils: +# http://ftp.gnu.org/gnu/binutils/binutils-2.19.1.tar.bz2.sig +http://ftp.gnu.org/gnu/binutils/binutils-2.19.1.tar.bz2 # Bison: # http://ftp.gnu.org/gnu/bison/bison-2.3.tar.bz2.sig Modified: branches/Onward/downloads/patches.txt =================================================================== --- branches/Onward/downloads/patches.txt 2008-10-29 21:02:10 UTC (rev 1482) +++ branches/Onward/downloads/patches.txt 2009-02-22 01:02:44 UTC (rev 1483) @@ -9,7 +9,7 @@ http://www.linuxfromscratch.org/~robert/new/patches/bash-3.2-rng.diff # Binutils PT_PaX patch: -http://www.linuxfromscratch.org/~robert/new/patches/binutils-2.19.50-pt_pax.diff +http://pax.grsecurity.net/binutils-2.19-pt-pax-flags-200811041810.patch # Diffutils better tmp patch: http://www.linuxfromscratch.org/patches/downloads/diffutils/diffutils-2.8.7-hardened_tmp-1.patch Modified: branches/Onward/kernel-config.txt =================================================================== --- branches/Onward/kernel-config.txt 2008-10-29 21:02:10 UTC (rev 1482) +++ branches/Onward/kernel-config.txt 2009-02-22 01:02:44 UTC (rev 1483) @@ -74,7 +74,7 @@ details. Be warned that the CONFIG_GRKERNSEC_IO option, which disallows modifying the -kernel in memory while its loaded, and breaks pnpdump(8) from Isatools. +kernel in memory while its loaded, breaks pnpdump(8) from Isatools. All the rest of the options will increase system security. Modified: branches/Onward/temporary_system/binutils_pass1.txt =================================================================== --- branches/Onward/temporary_system/binutils_pass1.txt 2008-10-29 21:02:10 UTC (rev 1482) +++ branches/Onward/temporary_system/binutils_pass1.txt 2009-02-22 01:02:44 UTC (rev 1483) @@ -5,7 +5,7 @@ # stack, etc. Without this patch the PaX kernel must use legacy mode, and this # patch is greatly preferable: -patch -p1 -i ../binutils-2.19.50-pt_pax.diff && +patch -p1 -i ../binutils-2.19-pt-pax-flags-200811041810.patch && # We make obj/ instead of ../binutils-build/ so that we don't need to specify # the "../binutils-${version}/" version number. Modified: branches/Onward/temporary_system/binutils_pass2.txt =================================================================== --- branches/Onward/temporary_system/binutils_pass2.txt 2008-10-29 21:02:10 UTC (rev 1482) +++ branches/Onward/temporary_system/binutils_pass2.txt 2009-02-22 01:02:44 UTC (rev 1483) @@ -1,8 +1,8 @@ # Temporary tools - Binutils Pass 2 -patch -p1 -i ../binutils-2.19.50-pt_pax.diff && +patch -p1 -i ../binutils-2.19-pt-pax-flags-200811041810.patch && -# Binutils libiberty has the same identical bug GCC has: +# Binutils libiberty has the same bug GCC has: patch -p0 -i ../gcc-4.2-20081001-asprintf_fix.diff && Modified: branches/Onward/temporary_system/gcc_pass1.txt =================================================================== --- branches/Onward/temporary_system/gcc_pass1.txt 2008-10-29 21:02:10 UTC (rev 1482) +++ branches/Onward/temporary_system/gcc_pass1.txt 2009-02-22 01:02:44 UTC (rev 1483) @@ -1,12 +1,8 @@ # Temporary tools - GCC Pass 1 -# --with-cpu=i486 and --with-arch=i486 set -mtune=i486 and -march=i486. This -# is mainly for Glibc, but in general it will produce more stable code (at the -# cost of performance). This is a workaround for unexpected bugs in Glibc, -# GCC, and other packages. +# We could use the fpie patch here, but if our host system is older than +# glibc-2.3.3 it wouldn't work. So we just use -fPIC: -# --libexecdir is added for consistency with the final system. - cp -v gcc/config/i386/linux.h{,.orig} && sed 's/^\(#define CC1_SPEC.*\)\("\)$/\1 %{fno-pic|fpic|fPIC:;:-fPIC}\2/' \ gcc/config/i386/linux.h.orig > gcc/config/i386/linux.h && @@ -21,6 +17,13 @@ # functions in libssp, linking to libssp will cause conflicts with libc, so # libssp is a waste of space... so --disable-libssp. +# --libexecdir is added for consistency with the final system. + +# --with-cpu=i486 and --with-arch=i486 set -mtune=i486 and -march=i486. This +# is mainly for Glibc, but in general it will produce more stable code (at the +# cost of performance). This is a workaround for unexpected bugs in Glibc, +# GCC, and other packages. + mkdir -v obj/ && cd obj/ && env CC="gcc -B/usr/bin/" ../configure --prefix=/tools \ -- http://linuxfromscratch.org/mailman/listinfo/hlfs-book FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
