瀏覽代碼

Add a note to libffi about portability.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11494 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Douglas R. Reno 6 年之前
父節點
當前提交
8dbae309bb
共有 3 個文件被更改,包括 23 次插入3 次删除
  1. 12 0
      chapter01/changelog.xml
  2. 8 0
      chapter06/libffi.xml
  3. 3 3
      general.ent

+ 12 - 0
chapter01/changelog.xml

@@ -42,6 +42,18 @@
     <listitem revision="sysv"> or <listitem revision="systemd"> as
     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>

+ 8 - 0
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>

+ 3 - 3
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">