From 9b20914ff85e73dd6eb7d71bdc1b087c080ee914 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sat, 7 May 2011 19:01:42 +0000 Subject: [PATCH] Fix a couple of test failures in Binutils, caused by the GCC-4.6.0 upgrade. Fixes #2866. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9521 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter06/binutils.xml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index e8dcba3bf..70498021d 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,11 @@ 2011-05-07 + + [matthew] - Fix a couple of test failures in Binutils, due to + incompatibilities with GCC-4.6.x. Fixes + #2866. + [matthew] - Upgrade to Util-Linux-2.19.1. Fixes #2865. diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index 521eb659a..c7708bd61 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -64,6 +64,11 @@ Ask your system administrator to create more. rm -fv etc/standards.info sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in + Fix a couple of the tests, which fail when using GCC-&gcc-version; + +sed -i "/exception_defines.h/d" ld/testsuite/ld-elf/new.cc +sed -i "s/-fvtable-gc //" ld/testsuite/ld-selective/selective.exp + The Binutils documentation recommends building Binutils outside of the source directory in a dedicated build directory: