Author: bdubbs
Date: Sat Aug 25 08:47:13 2018
New Revision: 11457

Log:
Disable deprecated mpx code in gcc

Modified:
   trunk/BOOK/Makefile
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/gcc.xml

Modified: trunk/BOOK/Makefile
==============================================================================
--- trunk/BOOK/Makefile Wed Aug 22 07:19:28 2018        (r11456)
+++ trunk/BOOK/Makefile Sat Aug 25 08:47:13 2018        (r11457)
@@ -158,11 +158,11 @@
        @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
        $(Q)mkdir -p $(BASEDIR)
 
-       #$(Q)xsltproc --nonet --xinclude                    \
-   #             --stringparam profile.revision $(REV) \
-   #             --output $(RENDERTMP)/sysd-wget.xml   \
-   #             stylesheets/lfs-xsl/profile.xsl       \
-   #             chapter03/chapter03.xml
+#      $(Q)xsltproc --nonet --xinclude                    \
+#                --stringparam profile.revision $(REV) \
+#                --output $(RENDERTMP)/sysd-wget.xml   \
+#                stylesheets/lfs-xsl/profile.xsl       \
+#                chapter03/chapter03.xml
 
        $(Q)xsltproc --xinclude --nonet            \
                 --output $(BASEDIR)/wget-list \

Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml  Wed Aug 22 07:19:28 2018        (r11456)
+++ trunk/BOOK/chapter01/changelog.xml  Sat Aug 25 08:47:13 2018        (r11457)
@@ -42,6 +42,15 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     appropriate for the entry or if needed the entire day's listitem.
 -->
+    <listitem>
+      <para>2018-08-25</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Disable deprecated mpx code in gcc.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem revision="sysv">
       <para>2018-08-20</para>
       <itemizedlist>

Modified: trunk/BOOK/chapter06/gcc.xml
==============================================================================
--- trunk/BOOK/chapter06/gcc.xml        Wed Aug 22 07:19:28 2018        (r11456)
+++ trunk/BOOK/chapter06/gcc.xml        Sat Aug 25 08:47:13 2018        (r11457)
@@ -68,6 +68,7 @@
              --enable-languages=c,c++ \
              --disable-multilib       \
              --disable-bootstrap      \
+             --disable-libmpx         \
              --with-system-zlib</userinput></screen>
 
     <para>Note that for other languages, there are some prerequisites that
@@ -87,6 +88,15 @@
       </varlistentry>
  
       <varlistentry>
+        <term><parameter>--disable-libmpx</parameter></term>
+        <listitem>
+          <para>This switch tells GCC to not build mpx (Memory Protection
+          Extensions) that can cause problems on some processors. It has
+          been removed from the next version of gcc.</para>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry>
         <term><parameter>--with-system-zlib</parameter></term>
         <listitem>
           <para>This switch tells GCC to link to the system installed copy of
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to