[lfs] branch trunk updated: Revert "Update the GMP note about optimization issues."
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <178757611674.4015037.1876794902026265582@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
The following commit(s) were added to refs/heads/trunk by this push:
new e4a75cac9 Revert "Update the GMP note about optimization issues."
e4a75cac9 is described below
commit e4a75cac95e87c476de993270cd4f533577e4014
Author: Xi Ruoyao <[email protected]>
AuthorDate: Mon Aug 24 20:42:52 2026 +0800
Revert "Update the GMP note about optimization issues."
This reverts commit f336bf33c5d155c79305fdad91fcd32a155ee1a2.
The configure script suggests to use --disable-assembly instead of
--host=none-linux-gun but it's actually lying: the former indeed
disables assembly but it still passes things like -march=nehalem to GCC
and produce a binary that may crash on processors earlier than nehalem.
But the latter really produces generic binaries.
See my comment at https://gcc.gnu.org/PR110789#c10. And oops, I even
had added a XML comment below this but it was ignored :(.
Stick to the latter for now (until we find a better solution).
---
chapter08/gmp.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chapter08/gmp.xml b/chapter08/gmp.xml
index 2cd7b9d80..3ad37ead4 100644
--- a/chapter08/gmp.xml
+++ b/chapter08/gmp.xml
@@ -54,7 +54,7 @@
<para>The default settings of GMP produce libraries optimized for
the host processor. If libraries suitable for processors less
capable than the host's CPU are desired, generic libraries can be
- created by appending the <option>--disable-assembly</option> option
+ created by appending the <option>--host=none-linux-gnu</option> option
to the <command>configure</command> command.</para>
<!-- To editors: the configure script says "the none host is obsolete,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page