From 98bed7f8bbc60fcb95f171eefcf70b11ad8628fc Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 7 Apr 2016 20:28:40 +0000 Subject: 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 --- chapter06/gmp.xml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'chapter06/gmp.xml') 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 Test the results: make check 2>&1 | tee gmp-check-log + + 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. Ensure that all 190 tests in the test suite passed. Check the results by issuing the following command: -- cgit v1.2.3-54-g00ecf