Changeset 6fec3f5


Ignore:
Timestamp:
12/30/2023 06:37:07 PM (9 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
Children:
2576866, 6c474a7, acde0a3, ba41e17
Parents:
8b4fb12
git-author:
Xi Ruoyao <xry111@…> (12/30/2023 06:33:59 PM)
git-committer:
Xi Ruoyao <xry111@…> (12/30/2023 06:37:07 PM)
Message:

binutils: Add --enable-default-hash-style=gnu for configure (#5401)

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r8b4fb12 r6fec3f5  
    4545      <itemizedlist>
    4646        <listitem>
     47          <para>[xry111] - Add --enable-default-hash-style=gnu configuring
     48          binutils.  Fixes
     49          <ulink url='&lfs-ticket-root;5401'>#5401</ulink>.</para>
     50        </listitem>
     51        <listitem>
    4752          <para>[xry111] - Fix CVE-2023-7008 for systemd-255.  Fixes
    4853          <ulink url='&lfs-ticket-root;5405'>#5405</ulink>.</para>
  • chapter05/binutils-pass1.xml

    r8b4fb12 r6fec3f5  
    7676             --disable-nls       \
    7777             --enable-gprofng=no \
    78              --disable-werror</userinput></screen>
     78             --disable-werror    \
     79             --enable-default-hash-style=gnu</userinput></screen>
    7980
    8081    <variablelist>
     
    133134      </varlistentry>
    134135
     136      <varlistentry>
     137        <term><parameter>--enable-default-hash-style=gnu</parameter></term>
     138        <listitem>
     139          <para>By default, the linker would generate both the GNU-style
     140          hash table and the classic ELF hash table for shared libraries and
     141          dynamically linked executables.  The hash tables are only intended
     142          for a dynamic linker to perform symbol lookup.  On LFS the dynamic
     143          linker (provided by the Glibc package) will always use the
     144          GNU-style hash table which is faster to query.  So the classic
     145          ELF hash table is completely useless.  This makes the the linker
     146          only generate the GNU-style hash table by default, so we can avoid
     147          wasting time to generate the classic ELF hash table when we build
     148          the packages, or wasting disk space to store it.</para>
     149        </listitem>
     150      </varlistentry>
     151
    135152    </variablelist>
    136153
  • chapter06/binutils-pass2.xml

    r8b4fb12 r6fec3f5  
    7373    --enable-gprofng=no        \
    7474    --disable-werror           \
    75     --enable-64-bit-bfd</userinput></screen>
     75    --enable-64-bit-bfd        \
     76    --enable-default-hash-style=gnu</userinput></screen>
    7677
    7778    <variablelist>
  • chapter08/binutils.xml

    r8b4fb12 r6fec3f5  
    5858             --disable-werror    \
    5959             --enable-64-bit-bfd \
    60              --with-system-zlib</userinput></screen>
     60             --with-system-zlib  \
     61             --enable-default-hash-style=gnu</userinput></screen>
     62
    6163    <variablelist>
    62       <title>The meaning of the configure parameters:</title>
     64      <title>The meaning of the new configure parameters:</title>
    6365
    6466      <varlistentry>
     
    8284        <listitem>
    8385          <para>Enables plugin support for the linker.</para>
    84         </listitem>
    85       </varlistentry>
    86 
    87       <varlistentry>
    88         <term><parameter>--enable-64-bit-bfd</parameter></term>
    89         <listitem>
    90            <para>Enables 64-bit support (on hosts with narrower word sizes).
    91            May not be needed on 64-bit systems, but does no harm.</para>
    9286        </listitem>
    9387      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.