From 66c3fcff97f34612dd21dc9a54a3c3eff09b2aeb Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Tue, 7 Aug 2001 01:07:09 +0000 Subject: [PATCH] Downgraded to gcc-2.95.3 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@911 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter05/gcc-exp.xml | 7 ------- chapter06/gcc-inst.xml | 3 ++- index.xml | 4 ++-- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index e64200f9f..6b6a958ab 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -22,10 +22,15 @@ util-linux-2.11h man-pages-1.39 gettext-0.10.39 +gcc-2.95.3 +After much testing and discussing, it's been decided to +downgrade to gcc-2.95.3 for the time being, until problems with the new +gcc-3.0 version have been fixed. + Chapter 5: Removed kernel patch for gcc-3.0 compilation diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index 406b42282..ae10b4d61 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -1,13 +1,6 @@ Command explanations -patch -Np1 -i ../gcc-3.0.patch: This patch -changes all instances of re_max_failures to re_max_failures2. -re_max_failures is a variable used within Glibc and with static -compiling this variable sometimes clashes between the package's -re_max_failures and the same variable in glibc. By renaming -re_max_failures in the package to re_max_failures2 we just tell the -package to use the second variable so that glibc won't be in the way. --enable-languages=c,c++: This only builds the C and C++ compilers and not the other available compilers as they are, on diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index 97e64cc2c..ab78f36d3 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -11,7 +11,8 @@ are available. Note: the build of other compilers is not tested by the people who actively work on LFS. -mkdir ../gcc-build && +patch -Np1 -i ../gcc-&gcc-version;.patch && +mkdir ../gcc-build && cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr \    --with-slibdir=/lib --enable-shared \ diff --git a/index.xml b/index.xml index 9eec59385..6f076f459 100644 --- a/index.xml +++ b/index.xml @@ -562,8 +562,8 @@ - - + +