aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas R. Reno <renodr@linuxfromscratch.org>2018-12-13 00:05:54 +0000
committerDouglas R. Reno <renodr@linuxfromscratch.org>2018-12-13 00:05:54 +0000
commit8dbae309bba5448ab0a720ab47d29953609fef4a (patch)
tree4e3d86ffcb78885ac98c320481b9ae3b7696c755
parent2e653fe5a692e40d9256030b75533614f44c5b43 (diff)
Add a note to libffi about portability.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11494 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml12
-rw-r--r--chapter06/libffi.xml8
-rw-r--r--general.ent6
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
@@ -43,6 +43,18 @@
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
+ <para>2018-12-12</para>
+ <itemizedlist>
+ <listitem>
+ <para>[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.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2018-12-11</para>
<itemizedlist>
<listitem revision='systemd'>
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 @@
<sect2 role="installation">
<title>Installation of Libffi</title>
+ <note>
+ <para>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.</para>
+ </note>
+
<para>Modify the Makefile to install headers into the standard
<filename class="directory">/usr/include</filename> directory instead of
<filename class="directory">/usr/lib/libffi-3.2.1/include</filename>.</para>
diff --git a/general.ent b/general.ent
index f3ec024e8..c9c00cff2 100644
--- a/general.ent
+++ b/general.ent
@@ -1,13 +1,13 @@
-<!ENTITY version "SVN-20181211">
+<!ENTITY version "SVN-20181212">
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
-<!ENTITY versiond "20181211-systemd">
+<!ENTITY versiond "20181212-systemd">
<!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd">
-<!ENTITY releasedate "December 11, 2018">
+<!ENTITY releasedate "December 12, 2018">
<!ENTITY copyrightdate "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "8.4">