1
0
Эх сурвалжийг харах

Remove unneeded confiugure switches from gcc.
Restore installation of udev-lfs support files.


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

Bruce Dubbs 11 жил өмнө
parent
commit
8aa7fdeb1c

+ 13 - 0
chapter01/changelog.xml

@@ -35,6 +35,19 @@
       </itemizedlist>
       </itemizedlist>
     </listitem>
     </listitem>
 -->
 -->
+    <listitem>
+      <para>2014-05-19</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Remove unneeded configure switches from gcc. Fixes
+           <ulink url="&lfs-ticket-root;3582">#3582</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Restore installation of udev-lfs support files.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
     <listitem>
       <para>2014-05-15</para>
       <para>2014-05-15</para>
       <itemizedlist>
       <itemizedlist>

+ 1 - 13
chapter05/gcc-pass1.xml

@@ -129,17 +129,13 @@ cd ../gcc-build</userinput></screen>
     --disable-libatomic                              \
     --disable-libatomic                              \
     --disable-libgomp                                \
     --disable-libgomp                                \
     --disable-libitm                                 \
     --disable-libitm                                 \
-    --disable-libmudflap                             \
     --disable-libquadmath                            \
     --disable-libquadmath                            \
     --disable-libsanitizer                           \
     --disable-libsanitizer                           \
     --disable-libssp                                 \
     --disable-libssp                                 \
     --disable-libvtv                                 \
     --disable-libvtv                                 \
     --disable-libcilkrts                             \
     --disable-libcilkrts                             \
     --disable-libstdc++-v3                           \
     --disable-libstdc++-v3                           \
-    --enable-languages=c,c++                         \
-    --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
-    --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
-
+    --enable-languages=c,c++</userinput></screen>
     <variablelist>
     <variablelist>
       <title>The meaning of the configure options:</title>
       <title>The meaning of the configure options:</title>
 
 
@@ -224,14 +220,6 @@ cd ../gcc-build</userinput></screen>
         </listitem>
         </listitem>
       </varlistentry>
       </varlistentry>
 
 
-      <varlistentry>
-        <term><parameter>--with-mpfr-*</parameter></term>
-        <listitem>
-          <para>These options enable the build system to correctly use the
-          in-tree copy of the MPFR sources.</para>
-        </listitem>
-      </varlistentry>
-
     </variablelist>
     </variablelist>
 
 
     <para>Compile GCC by running:</para>
     <para>Compile GCC by running:</para>

+ 1 - 3
chapter05/gcc-pass2.xml

@@ -121,9 +121,7 @@ RANLIB=$LFS_TGT-ranlib                               \
     --disable-libstdcxx-pch                          \
     --disable-libstdcxx-pch                          \
     --disable-multilib                               \
     --disable-multilib                               \
     --disable-bootstrap                              \
     --disable-bootstrap                              \
-    --disable-libgomp                                \
-    --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
-    --with-mpfr-lib=$(pwd)/mpfr/src/.libs</userinput></screen>
+    --disable-libgomp</userinput></screen>
 
 
     <variablelist>
     <variablelist>
       <title>The meaning of the new configure options:</title>
       <title>The meaning of the new configure options:</title>

+ 4 - 18
chapter06/eudev.xml

@@ -89,25 +89,11 @@ mkdir -pv /etc/udev/rules.d</userinput></screen>
 
 
 <screen><userinput remap="install">tar -xvf ../eudev-&eudev-version;-manpages.tar.bz2 -C /usr/share</userinput></screen>
 <screen><userinput remap="install">tar -xvf ../eudev-&eudev-version;-manpages.tar.bz2 -C /usr/share</userinput></screen>
 
 
-    <para>Finally, create some custom rules that are not covered as a part of the
-    defaults:</para>
+    <para>Finally, install some custom rules and support files useful in an LFS 
+    environment:</para>
 
 
-<screen><userinput remap="install">cat &gt; /etc/udev/rules.d/55-lfs.rules &lt;&lt; "EOF"
-# /etc/udev/rules.d/55-lfs.rules: Rule definitions for LFS.
-
-# Core kernel devices
-
-# This causes the system clock to be set as soon as /dev/rtc becomes available.
-SUBSYSTEM=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"
-KERNEL=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start"
-
-# Comms devices
-
-KERNEL=="ippp[0-9]*",       GROUP="dialout"
-KERNEL=="isdn[0-9]*",       GROUP="dialout"
-KERNEL=="isdnctrl[0-9]*",   GROUP="dialout"
-KERNEL=="dcbri[0-9]*",      GROUP="dialout"
-EOF</userinput></screen>
+<screen><userinput remap="install">tar -xvf ../&udev-lfs-version;.tar.bz2
+make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen>
 
 
   </sect2>
   </sect2>
 
 

+ 2 - 2
chapter07/symlinks.xml

@@ -48,9 +48,9 @@
       rules.  A script has been included that generates the initial rules.
       rules.  A script has been included that generates the initial rules.
       Generate these rules by running:</para>
       Generate these rules by running:</para>
 
 
-<screen role="nodump"><userinput>bash /lib/udev/init-net-rules.sh</userinput></screen>
+<screen role="install"><userinput>bash /lib/udev/init-net-rules.sh</userinput></screen>
 
 
-      <para> Now, inspect th
+      <para> Now, inspect the
       <filename>/etc/udev/rules.d/70-persistent-net.rules</filename> file, to
       <filename>/etc/udev/rules.d/70-persistent-net.rules</filename> file, to
       find out which name was assigned to which network device:</para>
       find out which name was assigned to which network device:</para>
 
 

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
-<!ENTITY version         "SVN-20140515">
+<!ENTITY version         "SVN-20140519">
 <!ENTITY short-version   "svn">  <!-- Used in dbus chapter, change to x.y for release -->
 <!ENTITY short-version   "svn">  <!-- Used in dbus chapter, change to x.y for release -->
-<!ENTITY releasedate     "May 15, 2014">
+<!ENTITY releasedate     "May 19, 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       "8.0">
 <!ENTITY milestone       "8.0">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->