diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index de3f6a6ff..82d54d34c 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,18 @@ --> + + 2016-04-07 + + + [bdubbs] - 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. + + + + 2016-04-05 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: diff --git a/general.ent b/general.ent index c53d6f670..972f359ab 100644 --- a/general.ent +++ b/general.ent @@ -1,7 +1,7 @@ - + - +