Browse Source

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

Bruce Dubbs 11 years ago
parent
commit
8b69ae4734
5 changed files with 49 additions and 39 deletions
  1. 25 0
      chapter01/changelog.xml
  2. 3 3
      chapter05/gcc-pass2.xml
  3. 16 31
      chapter06/glibc.xml
  4. 2 2
      general.ent
  5. 3 3
      packages.ent

+ 25 - 0
chapter01/changelog.xml

@@ -35,6 +35,31 @@
       </itemizedlist>
       </itemizedlist>
     </listitem>
     </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>
     <listitem>
       <para>2014-02-13</para>
       <para>2014-02-13</para>
       <itemizedlist>
       <itemizedlist>

+ 3 - 3
chapter05/gcc-pass2.xml

@@ -64,9 +64,9 @@
     that is exactly the same as if it were bootstrapped.  Apply the following
     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>
     <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
     <para>Once again, change the location of GCC's default dynamic linker to
     use the one installed in <filename
     use the one installed in <filename

+ 16 - 31
chapter06/glibc.xml

@@ -73,11 +73,12 @@ cd ../glibc-build</userinput></screen>
 
 
     <para>Prepare Glibc for compilation:</para>
     <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>
     <variablelist>
       <title>The meaning of the new configure options:</title>
       <title>The meaning of the new configure options:</title>
@@ -91,6 +92,15 @@ cd ../glibc-build</userinput></screen>
         </listitem>
         </listitem>
       </varlistentry>
       </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>
     </variablelist>
 
 
     <para>Compile the package:</para>
     <para>Compile the package:</para>
@@ -162,14 +172,6 @@ grep Error glibc-check-log</userinput></screen>
 
 
 <screen><userinput remap="install">make install</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
     <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,
     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
     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
     <para>Then create the <filename>/etc/localtime</filename> file by
     running:</para>
     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
     <para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
     time zone selected (e.g., Canada/Eastern).</para>
     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>
 
 
   <sect2 id="conf-ld" role="configuration">
   <sect2 id="conf-ld" role="configuration">

+ 2 - 2
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 copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "7.5">
 <!ENTITY milestone       "7.5">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

+ 3 - 3
packages.ent

@@ -339,12 +339,12 @@
 
 
 <!ENTITY linux-major-version "3">
 <!ENTITY linux-major-version "3">
 <!ENTITY linux-minor-version "13">
 <!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;.&linux-patch-version;">
 <!-- <!ENTITY linux-version "&linux-major-version;.&linux-minor-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-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/">
 <!ENTITY linux-home "http://www.kernel.org/">
 <!-- measured for 3.9.0 / gcc-4.8.0 on x86_64 : minimum is
 <!-- measured for 3.9.0 / gcc-4.8.0 on x86_64 : minimum is
  allnoconfig extended for a hopefully-bootable build on desktop machine,
  allnoconfig extended for a hopefully-bootable build on desktop machine,