Author: bdubbs Date: Mon May 19 17:44:22 2014 New Revision: 10567 Log: Remove unneeded confiugure switches from gcc. Restore installation of udev-lfs support files.
Modified: trunk/BOOK/chapter01/changelog.xml trunk/BOOK/chapter05/gcc-pass1.xml trunk/BOOK/chapter05/gcc-pass2.xml trunk/BOOK/chapter06/eudev.xml trunk/BOOK/chapter07/symlinks.xml trunk/BOOK/general.ent Modified: trunk/BOOK/chapter01/changelog.xml ============================================================================== --- trunk/BOOK/chapter01/changelog.xml Sat May 17 09:41:25 2014 (r10566) +++ trunk/BOOK/chapter01/changelog.xml Mon May 19 17:44:22 2014 (r10567) @@ -36,6 +36,19 @@ </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> <para>2014-05-15</para> <itemizedlist> <listitem> Modified: trunk/BOOK/chapter05/gcc-pass1.xml ============================================================================== --- trunk/BOOK/chapter05/gcc-pass1.xml Sat May 17 09:41:25 2014 (r10566) +++ trunk/BOOK/chapter05/gcc-pass1.xml Mon May 19 17:44:22 2014 (r10567) @@ -129,17 +129,13 @@ --disable-libatomic \ --disable-libgomp \ --disable-libitm \ - --disable-libmudflap \ --disable-libquadmath \ --disable-libsanitizer \ --disable-libssp \ --disable-libvtv \ --disable-libcilkrts \ --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> <title>The meaning of the configure options:</title> @@ -224,14 +220,6 @@ </listitem> </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> <para>Compile GCC by running:</para> Modified: trunk/BOOK/chapter05/gcc-pass2.xml ============================================================================== --- trunk/BOOK/chapter05/gcc-pass2.xml Sat May 17 09:41:25 2014 (r10566) +++ trunk/BOOK/chapter05/gcc-pass2.xml Mon May 19 17:44:22 2014 (r10567) @@ -121,9 +121,7 @@ --disable-libstdcxx-pch \ --disable-multilib \ --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> <title>The meaning of the new configure options:</title> Modified: trunk/BOOK/chapter06/eudev.xml ============================================================================== --- trunk/BOOK/chapter06/eudev.xml Sat May 17 09:41:25 2014 (r10566) +++ trunk/BOOK/chapter06/eudev.xml Mon May 19 17:44:22 2014 (r10567) @@ -89,25 +89,11 @@ <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 > /etc/udev/rules.d/55-lfs.rules << "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> Modified: trunk/BOOK/chapter07/symlinks.xml ============================================================================== --- trunk/BOOK/chapter07/symlinks.xml Sat May 17 09:41:25 2014 (r10566) +++ trunk/BOOK/chapter07/symlinks.xml Mon May 19 17:44:22 2014 (r10567) @@ -48,9 +48,9 @@ rules. A script has been included that generates the initial rules. 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 find out which name was assigned to which network device:</para> Modified: trunk/BOOK/general.ent ============================================================================== --- trunk/BOOK/general.ent Sat May 17 09:41:25 2014 (r10566) +++ trunk/BOOK/general.ent Mon May 19 17:44:22 2014 (r10567) @@ -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 releasedate "May 15, 2014"> +<!ENTITY releasedate "May 19, 2014"> <!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not – --> <!ENTITY milestone "8.0"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page