aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gmp.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2016-04-07 20:28:40 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2016-04-07 20:28:40 +0000
commit98bed7f8bbc60fcb95f171eefcf70b11ad8628fc (patch)
treed61f8959a76cfac3c4ae1b0ee2caa0478a44dee9 /chapter06/gmp.xml
parentd73074290425cf0fbe7e7ee6cb1d8c1b86a31533 (diff)
Add a caution in the gmp section about possible
"Illegal Instruction" errors if the host is misidentified or the libraries are copied to different systems. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11044 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gmp.xml')
-rw-r--r--chapter06/gmp.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter06/gmp.xml b/chapter06/gmp.xml
index 7d353d90c..da655db6a 100644
--- a/chapter06/gmp.xml
+++ b/chapter06/gmp.xml
@@ -90,6 +90,13 @@ make html</userinput></screen>
<para>Test the results:</para>
<screen><userinput remap="test">make check 2>&amp;1 | tee gmp-check-log</userinput></screen>
+
+ <caution><para>The code in gmp is highly optimized for the processor where
+ it is built. Occasionally the code that detects the processor misidentifies
+ the system capabilities and there will be errors in the tests or other
+ applications using the gmp libraries with the message "Illegal
+ instruction". In this case, gmp should be reconfigured with the option
+ --build=x86_64-unknown-linux-gnu and rebuilt.</para></caution>
<para>Ensure that all 190 tests in the test suite passed.
Check the results by issuing the following command:</para>