aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorKrejzi <krejzi@linuxfromscratch.org>2016-04-28 02:33:21 +0000
committerKrejzi <krejzi@linuxfromscratch.org>2016-04-28 02:33:21 +0000
commit42130d6299b5d0cf916d085dac0a89c079ca52c0 (patch)
tree72130794045500afb235639182090991b349c9c0 /chapter06
parent60b23a6f5cdda494d55a3a186975220a744e6641 (diff)
Updated to file-5.26, gcc-6.1.0, grep-2.25, gzip-1.8, linux-4.5.2 and tzdata-2016d.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11049 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/binutils.xml4
-rw-r--r--chapter06/glibc.xml4
-rw-r--r--chapter06/pkgconfig.xml16
3 files changed, 19 insertions, 5 deletions
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index 570722f13..cbfdd82d7 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -57,7 +57,7 @@
<screen><computeroutput>The system has no more ptys.
Ask your system administrator to create more.</computeroutput></screen>
- <para>Fix a problem identified upstream:</para>
+ <para>Fix some problems identified upstream:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&binutils-upstream-patch;</userinput></screen>
@@ -106,7 +106,7 @@ cd build</userinput></screen>
<para>Test the results:</para>
-<screen><userinput remap="test">make check</userinput></screen>
+<screen><userinput remap="test">make -k check</userinput></screen>
<para>The test 'Link with zlib-gabi compressed debug output' is known to fail.</para>
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 26adf6dac..e577e229a 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -68,6 +68,10 @@
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
+ <para>Fix some problems identified upstream:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen>
+
<para>The Glibc documentation recommends building Glibc
in a dedicated build directory:</para>
diff --git a/chapter06/pkgconfig.xml b/chapter06/pkgconfig.xml
index eb9278d18..e582b47af 100644
--- a/chapter06/pkgconfig.xml
+++ b/chapter06/pkgconfig.xml
@@ -44,9 +44,10 @@
<para>Prepare Pkg-config for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr \
- --with-internal-glib \
- --disable-host-tool \
+<screen><userinput remap="configure">./configure --prefix=/usr \
+ --with-internal-glib \
+ --disable-compile-warnings \
+ --disable-host-tool \
--docdir=/usr/share/doc/pkg-config-&pkgconfig-version;</userinput></screen>
<variablelist>
@@ -61,6 +62,15 @@
</varlistentry>
<varlistentry>
+ <term><parameter>--disable-compile-warnings</parameter></term>
+ <listitem>
+ <para>This option prevents the build system from using
+ compiler flags which cause build failure when building
+ with GCC 6.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--disable-host-tool</parameter></term>
<listitem>
<para>This option disables the creation of an undesired hard link