aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-14 23:25:53 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-14 23:25:53 +0000
commit8b69ae47340020f78d57b1be48a93cf5f507f5d6 (patch)
tree8f0fd00f5781ebac6cb2796b4859e37149f17323
parent0fe687219065f690731f57f01b3ed213c61e8901 (diff)
Make sed for omit-frame-pointers the same in Chapters 5 and 6. i
Simplify zimesone configuration in glibc. Let the glibc Makefile install rpc headers. Update to linux-3.13.3. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10467 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml25
-rw-r--r--chapter05/gcc-pass2.xml6
-rw-r--r--chapter06/glibc.xml47
-rw-r--r--general.ent4
-rw-r--r--packages.ent6
5 files changed, 49 insertions, 39 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 74bf476a0..60ffee416 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -36,6 +36,31 @@
</listitem>
-->
<listitem>
+ <para>2014-02-14</para>
+ <itemizedlist>
+ <listitem>
+ <para>[bdubbs] - Make sed for omit-frame-pointers the
+ same in Chapters 5 and 6. Fixes
+ <ulink url="&lfs-ticket-root;3497">#3497</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Simplify zimesone configuration in glibc.
+ Thanks to Chris Staub for the patch. Fixes
+ <ulink url="&lfs-ticket-root;3496">#3496</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Let the glibc Makefile install rpc headers.
+ Thanks to Chris Staub for the patch. Fixes
+ <ulink url="&lfs-ticket-root;3495">#3495</ulink>.</para>
+ </listitem>
+ <listitem>
+ <para>[bdubbs] - Update to linux-3.13.3. Fixes
+ <ulink url="&lfs-ticket-root;3493">#3493</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2014-02-13</para>
<itemizedlist>
<listitem>
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 310abb457..e96c469ad 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -64,9 +64,9 @@
that is exactly the same as if it were bootstrapped. Apply the following
<command>sed</command> command to force the build to use the flag:</para>
-<screen><userinput remap="pre">cp -v gcc/Makefile.in{,.tmp}
-sed 's/^T_CFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in.tmp \
- &gt; gcc/Makefile.in</userinput></screen>
+<screen><userinput remap="pre">case `uname -m` in
+ i?86) sed -i 's/^T_CFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in ;;
+esac</userinput></screen>
<para>Once again, change the location of GCC's default dynamic linker to
use the one installed in <filename
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index fe368683a..343b5a17a 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -73,11 +73,12 @@ cd ../glibc-build</userinput></screen>
<para>Prepare Glibc for compilation:</para>
-<screen><userinput remap="configure">../glibc-&glibc-version;/configure \
- --prefix=/usr \
- --disable-profile \
- --enable-kernel=&min-kernel; \
- --libexecdir=/usr/lib/glibc</userinput></screen>
+<screen><userinput remap="configure">../glibc-&glibc-version;/configure \
+ --prefix=/usr \
+ --disable-profile \
+ --enable-kernel=&min-kernel; \
+ --libexecdir=/usr/lib/glibc \
+ --enable-obsolete-rpc</userinput></screen>
<variablelist>
<title>The meaning of the new configure options:</title>
@@ -91,6 +92,15 @@ cd ../glibc-build</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>--enable-obsolete-rpc</parameter></term>
+ <listitem>
+ <para>Installs NIS and RPC related headers that are not installed by
+ default; these are required to rebuild Glibc and by several BLFS
+ packages.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile the package:</para>
@@ -162,14 +172,6 @@ grep Error glibc-check-log</userinput></screen>
<screen><userinput remap="install">make install</userinput></screen>
- <para>Install NIS and RPC related headers that are not installed by
- default; these are required to rebuild glibc and by several BLFS
- packages:</para>
-
-<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc
-cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc
-cp -v ../glibc-&glibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc</userinput></screen>
-
<para>The locales that can make the system respond in a different language
were not installed by the above command. None of the locales are required,
but if some of them are missing, test suites of the future packages would
@@ -336,28 +338,11 @@ unset ZONEINFO</userinput></screen>
<para>Then create the <filename>/etc/localtime</filename> file by
running:</para>
-<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
- /etc/localtime</userinput></screen>
+<screen><userinput>cp -v /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
<para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
time zone selected (e.g., Canada/Eastern).</para>
- <variablelist>
- <title>The meaning of the cp option:</title>
-
- <varlistentry>
- <term><parameter>--remove-destination</parameter></term>
- <listitem>
- <para>This is needed to force removal of the already existing symbolic
- link. The reason for copying the file instead of using a symlink is to
- cover the situation where <filename class="directory">/usr</filename>
- is on a separate partition. This could be important when booted into
- single user mode.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
</sect2>
<sect2 id="conf-ld" role="configuration">
diff --git a/general.ent b/general.ent
index 42a7f4d2b..61b94def4 100644
--- a/general.ent
+++ b/general.ent
@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20140213">
-<!ENTITY releasedate "February 13, 2014">
+<!ENTITY version "SVN-20140214">
+<!ENTITY releasedate "February 14, 2014">
<!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "7.5">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
diff --git a/packages.ent b/packages.ent
index 1a5978dd4..0d6175c5a 100644
--- a/packages.ent
+++ b/packages.ent
@@ -339,12 +339,12 @@
<!ENTITY linux-major-version "3">
<!ENTITY linux-minor-version "13">
-<!ENTITY linux-patch-version "2">
+<!ENTITY linux-patch-version "3">
<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
<!-- <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;"> -->
-<!ENTITY linux-size "75,387 KB">
+<!ENTITY linux-size "75,393 KB">
<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
-<!ENTITY linux-md5 "83386986b4b58507a4f064aa46676f5e">
+<!ENTITY linux-md5 "ad98a0c623a124a25dab86406ddc7119">
<!ENTITY linux-home "http://www.kernel.org/">
<!-- measured for 3.9.0 / gcc-4.8.0 on x86_64 : minimum is
allnoconfig extended for a hopefully-bootable build on desktop machine,