Disable deprecated mpx code in gcc

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11457 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2018-08-25 15:47:13 +00:00
parent 0053a87a77
commit d4407c732c
3 changed files with 24 additions and 5 deletions

View File

@ -158,11 +158,11 @@ $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
@echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..." @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
$(Q)mkdir -p $(BASEDIR) $(Q)mkdir -p $(BASEDIR)
#$(Q)xsltproc --nonet --xinclude \ # $(Q)xsltproc --nonet --xinclude \
# --stringparam profile.revision $(REV) \ # --stringparam profile.revision $(REV) \
# --output $(RENDERTMP)/sysd-wget.xml \ # --output $(RENDERTMP)/sysd-wget.xml \
# stylesheets/lfs-xsl/profile.xsl \ # stylesheets/lfs-xsl/profile.xsl \
# chapter03/chapter03.xml # chapter03/chapter03.xml
$(Q)xsltproc --xinclude --nonet \ $(Q)xsltproc --xinclude --nonet \
--output $(BASEDIR)/wget-list \ --output $(BASEDIR)/wget-list \

View File

@ -42,6 +42,15 @@
<listitem revision="sysv"> or <listitem revision="systemd"> as <listitem revision="sysv"> or <listitem revision="systemd"> as
appropriate for the entry or if needed the entire day's listitem. 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"> <listitem revision="sysv">
<para>2018-08-20</para> <para>2018-08-20</para>
<itemizedlist> <itemizedlist>

View File

@ -68,6 +68,7 @@ cd build</userinput></screen>
--enable-languages=c,c++ \ --enable-languages=c,c++ \
--disable-multilib \ --disable-multilib \
--disable-bootstrap \ --disable-bootstrap \
--disable-libmpx \
--with-system-zlib</userinput></screen> --with-system-zlib</userinput></screen>
<para>Note that for other languages, there are some prerequisites that <para>Note that for other languages, there are some prerequisites that
@ -86,6 +87,15 @@ cd build</userinput></screen>
</listitem> </listitem>
</varlistentry> </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> <varlistentry>
<term><parameter>--with-system-zlib</parameter></term> <term><parameter>--with-system-zlib</parameter></term>
<listitem> <listitem>