Changeset b8b65b7


Ignore:
Timestamp:
07/07/2018 05:48:11 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
d47b15b
Parents:
e6035d6
Message:

Add a configuration option to libffi to ensure proper
architecture selection. Include an explanation
and how to select alternative options.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    re6035d6 rb8b65b7  
    4545
    4646    <listitem>
    47       <para>2018-07-03</para>
     47      <para>2018-07-07</para>
     48      <itemizedlist>
     49        <listitem>
     50           <para>[bdubbs] - Add a configuration option to libffi to
     51           ensure proper architecture selection.  Include an explanation
     52           and how to select alternative options.  Fixes
     53           <ulink url="&lfs-ticket-root;4303">#4303</ulink>.</para>
     54        </listitem>
     55      </itemizedlist>
     56    </listitem>
     57
     58    <listitem>
     59      <para>2018-07-06</para>
    4860      <itemizedlist>
    4961        <listitem>
  • chapter06/libffi.xml

    re6035d6 rb8b65b7  
    5656    <para>Prepare libffi for compilation:</para>
    5757
    58 <screen><userinput remap="configure">./configure --prefix=/usr --disable-static</userinput></screen>
     58<screen><userinput remap="configure">./configure --prefix=/usr --disable-static --with-gcc-arch=native</userinput></screen>
     59
     60    <variablelist>
     61      <title>The meaning of the configure option:</title>
     62
     63      <varlistentry>
     64        <term><parameter>--with-gcc-arch=native</parameter></term>
     65        <listitem>
     66          <para>Ensure gcc optimizes for the current system.  If this
     67          is not specified, the system is guessed and the code generated
     68          may not be correct for some systems.  If the generated code
     69          will be copied from the native system to a less capable
     70          system, use the less capable system as a parameter. For details
     71          about alternative system types, see <ulink
     72          url='https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/x86-Options.html'>
     73          the x86 options in the gcc manual</ulink>.</para>
     74        </listitem>
     75      </varlistentry>
     76
     77    </variablelist>
    5978
    6079    <para>Compile the package:</para>
  • general.ent

    re6035d6 rb8b65b7  
    1 <!ENTITY version         "SVN-20180706">
     1<!ENTITY version         "SVN-20180707">
    22<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    33                                      Change to x.y for release but not -rc releases -->
    44<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    55
    6 <!ENTITY versiond        "20180706-systemd">
     6<!ENTITY versiond        "20180707-systemd">
    77<!ENTITY short-versiond  "systemd">
    88<!ENTITY generic-versiond "systemd">
    99
    10 <!ENTITY releasedate     "July 6, 2018">
     10<!ENTITY releasedate     "July 7, 2018">
    1111
    1212<!ENTITY copyrightdate   "1999-2018"><!-- jhalfs needs a literal dash, not &ndash; -->
Note: See TracChangeset for help on using the changeset viewer.