Преглед изворни кода

Remove redundant options in gcc instructions.
Add note about a test failure in util-linux.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10698 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Bruce Dubbs пре 11 година
родитељ
комит
5948c80372
5 измењених фајлова са 16 додато и 43 уклоњено
  1. 11 0
      chapter01/changelog.xml
  2. 0 37
      chapter05/gcc-pass2.xml
  3. 0 4
      chapter06/gcc.xml
  4. 3 0
      chapter06/util-linux.xml
  5. 2 2
      general.ent

+ 11 - 0
chapter01/changelog.xml

@@ -35,6 +35,17 @@
       </itemizedlist>
     </listitem>
 -->
+    <listitem>
+      <para>2014-08-19</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Remove redundant options in gcc instructions.
+          Fixes 
+          <ulink url="&lfs-ticket-root;3655">#3655</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2014-08-15</para>
       <itemizedlist>

+ 0 - 37
chapter05/gcc-pass2.xml

@@ -117,10 +117,6 @@ RANLIB=$LFS_TGT-ranlib                               \
     --prefix=/tools                                  \
     --with-local-prefix=/tools                       \
     --with-native-system-header-dir=/tools/include   \
-    --enable-clocale=gnu                             \
-    --enable-shared                                  \
-    --enable-threads=posix                           \
-    --enable-__cxa_atexit                            \
     --enable-languages=c,c++                         \
     --disable-libstdcxx-pch                          \
     --disable-multilib                               \
@@ -130,39 +126,6 @@ RANLIB=$LFS_TGT-ranlib                               \
     <variablelist>
       <title>The meaning of the new configure options:</title>
 
-      <varlistentry>
-        <term><parameter>--enable-clocale=gnu</parameter></term>
-        <listitem>
-          <para>This option ensures the correct locale model is selected
-          for the C++ libraries under all circumstances. If the configure
-          script finds the <emphasis>de_DE</emphasis> locale installed,
-          it will select the correct gnu locale model. However, if the
-          <emphasis>de_DE</emphasis> locale is not installed, there is the
-          risk of building Application Binary Interface (ABI)-incompatible
-          C++ libraries because the incorrect generic locale model may be
-          selected.</para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term><parameter>--enable-threads=posix</parameter></term>
-        <listitem>
-          <para>This enables C++ exception handling for multi-threaded code.</para>
-        </listitem>
-      </varlistentry>
-
-      <varlistentry>
-        <term><parameter>--enable-__cxa_atexit</parameter></term>
-        <listitem>
-          <para>This option allows use of <function>__cxa_atexit</function>,
-          rather than <function>atexit</function>, to register C++ destructors
-          for local statics and global objects. This option is essential for
-          fully standards-compliant handling of destructors. It also affects
-          the C++ ABI, and therefore results in C++ shared libraries and C++
-          programs that are interoperable with other Linux distributions.</para>
-        </listitem>
-      </varlistentry>
-
       <varlistentry>
         <term><parameter>--enable-languages=c,c++</parameter></term>
         <listitem>

+ 0 - 4
chapter06/gcc.xml

@@ -72,10 +72,6 @@ cd ../gcc-build</userinput></screen>
 <screen><userinput remap="configure">SED=sed                       \
 ../gcc-&gcc-version;/configure        \
      --prefix=/usr            \
-     --enable-shared          \
-     --enable-threads=posix   \
-     --enable-__cxa_atexit    \
-     --enable-clocale=gnu     \
      --enable-languages=c,c++ \
      --disable-multilib       \
      --disable-bootstrap      \

+ 3 - 0
chapter06/util-linux.xml

@@ -79,6 +79,9 @@
     <screen><userinput remap="test">chown -Rv nobody .
 su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
 
+    <note><para>One test above, tests/ts/ipcs/limits2, will fail when the host 
+    is using a recent kernel.  The failure can safely be ignored.</para></note>
+
     <para>Install the package:</para>
 
 <screen><userinput remap="install">make install</userinput></screen>

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
-<!ENTITY version         "SVN-20140815">
+<!ENTITY version         "SVN-20140819">
 <!ENTITY short-version   "svn">  <!-- Used in dbus chapter, change to x.y for release -->
-<!ENTITY releasedate     "August 15, 2014">
+<!ENTITY releasedate     "August 19, 2014">
 <!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "7.6">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->