Author: pierre
Date: Thu Sep 10 13:50:27 2015
New Revision: 16388
Log:
Fix Valgrind configure script
so that it builds with glibc-2.2x, x>0
Modified:
trunk/BOOK/general/prog/valgrind.xml
Modified: trunk/BOOK/general/prog/valgrind.xml
==============================================================================
--- trunk/BOOK/general/prog/valgrind.xml Thu Sep 10 08:35:40 2015
(r16387)
+++ trunk/BOOK/general/prog/valgrind.xml Thu Sep 10 13:50:27 2015
(r16388)
@@ -37,7 +37,7 @@
tools.
</para>
- &lfs77_checked; &gcc5_checked;
+ &lfs78_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@@ -73,7 +73,8 @@
</listitem>
</itemizedlist>
- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+<!-- Replaced by a sed
+ <bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
@@ -83,7 +84,7 @@
</para>
</listitem>
</itemizedlist>
-
+-->
<bridgehead renderas="sect3">Valgrind Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
@@ -108,22 +109,23 @@
<sect2 role="installation">
<title>Installation of Valgrind</title>
-<!-- check this is needed for versions greater than 3.10.1 -->
+<!--
<para>
First apply the following patch for allowing the
<command>configure</command> script to use glibc-2.21:
</para>
<screen><userinput>patch -Np1 -i
../valgrind-&valgrind-version;-glibc_2.21-1.patch</userinput></screen>
-
+-->
<para>
Install <application>Valgrind</application> by running the following
commands:
</para>
-<screen><userinput>sed -e 's#|3.\*#&|4.\*#' \
- -e 's/-mt//g' \
- -i configure &&
+<screen><userinput>sed -e 's#|3.\*#&|4.\*#' \
+ -e 's/-mt//g' \
+ -e 's/2\.20)/2.2[0-9])/' \
+ -i configure &&
sed -i 's|/doc/valgrind||' docs/Makefile.in &&
./configure --prefix=/usr \
@@ -155,8 +157,9 @@
<para>
<command>sed -e ... configure</command>: The first expression fixes an
issue that prevents Valgrind from compiling on systems with a linux-4.x
- based kernel, and the second expression fixes the configure script to
- find newer versions of Boost.
+ based kernel, the second expression fixes the configure script to
+ find newer versions of Boost, and the last one fixes an issue that
+ prevents compilation with glibc versions greater than 2.20.
</para>
<para>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page