diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2010-01-03 19:07:50 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2010-01-03 19:07:50 +0000 |
commit | ed922742377bb241176e624497f5493479d82f83 (patch) | |
tree | 96792bc5b712bb0a44aee58b0db1313ca752fe70 | |
parent | 7e8ba2229cf077b2151188ba7e34ca5be3b9c986 (diff) |
Fix GCC's libiberty testsuite due to a conflict with Glibc's getline function.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9144 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 4 | ||||
-rw-r--r-- | chapter06/gcc.xml | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 8b3c603de..c523c160a 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -41,6 +41,10 @@ <para>2010-01-03</para> <itemizedlist> <listitem> + <para>[matthew] Prevent a failure in GCC's testsuite due to a conflict + with Glibc's getline function.</para> + </listitem> + <listitem> <para>[matthew] Upgrade to Readline-6.1. Fixes <ulink url="&lfs-ticket-root;2540">#2540</ulink>.</para> </listitem> diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index d61a1f8de..343939f95 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -66,6 +66,11 @@ esac</userinput></screen> <screen><userinput remap="pre">sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in</userinput></screen> + <para>Apply a <command>sed</command> substitution to prevent a testsuite +error:</para> + +<screen><userinput remap="pre">sed -i 's/getline/get_line/' libiberty/testsuite/test-demangle.c</userinput></screen> + <para>The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory:</para> |