From 8dbae309bba5448ab0a720ab47d29953609fef4a Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Thu, 13 Dec 2018 00:05:54 +0000 Subject: [PATCH] Add a note to libffi about portability. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11494 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 12 ++++++++++++ chapter06/libffi.xml | 8 ++++++++ general.ent | 6 +++--- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index d8179aefc..56372337c 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,18 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2018-12-12 + + + [renodr] - Add a note to libffi about optimizing for the + specific CPU in use at compile time. Similar to GMP, this causes + Illegal Operation errors if the installation is moved to another + system. + + + + 2018-12-11 diff --git a/chapter06/libffi.xml b/chapter06/libffi.xml index 1ebee758d..24b8879ef 100644 --- a/chapter06/libffi.xml +++ b/chapter06/libffi.xml @@ -42,6 +42,14 @@ Installation of Libffi + + Similar to GMP, libffi builds with optimizations specific + to the proccesor in use. If building for another system, export + CFLAGS and CXXFLAGS to specify a generic build for your architecture. + If this is not done, all applications that link to libffi will trigger + Illegal Operation Errors. + + Modify the Makefile to install headers into the standard /usr/include directory instead of /usr/lib/libffi-3.2.1/include. diff --git a/general.ent b/general.ent index f3ec024e8..c9c00cff2 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - +