From d4407c732c88a9580de29fc1551727e6af4af6a3 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 25 Aug 2018 15:47:13 +0000 Subject: [PATCH] Disable deprecated mpx code in gcc git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11457 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- Makefile | 10 +++++----- chapter01/changelog.xml | 9 +++++++++ chapter06/gcc.xml | 10 ++++++++++ 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3dacb1850..f237346a1 100644 --- a/Makefile +++ b/Makefile @@ -158,11 +158,11 @@ $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \ @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 \ diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index e536b9224..ad28fd8dd 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,15 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2018-08-25 + + + [bdubbs] - Disable deprecated mpx code in gcc. + + + + 2018-08-20 diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index c1a074911..46d0d10c8 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -68,6 +68,7 @@ cd build --enable-languages=c,c++ \ --disable-multilib \ --disable-bootstrap \ + --disable-libmpx \ --with-system-zlib Note that for other languages, there are some prerequisites that @@ -86,6 +87,15 @@ cd build + + --disable-libmpx + + 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. + + + --with-system-zlib