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: