mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-16 17:25:08 +01:00
binutils: Add --enable-default-hash-style=gnu for configure (#5401)
This commit is contained in:
parent
8b4fb1245d
commit
6fec3f51e7
@ -43,6 +43,11 @@
|
||||
<listitem>
|
||||
<para>2023-12-31</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[xry111] - Add --enable-default-hash-style=gnu configuring
|
||||
binutils. Fixes
|
||||
<ulink url='&lfs-ticket-root;5401'>#5401</ulink>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[xry111] - Fix CVE-2023-7008 for systemd-255. Fixes
|
||||
<ulink url='&lfs-ticket-root;5405'>#5405</ulink>.</para>
|
||||
|
@ -75,7 +75,8 @@ cd build</userinput></screen>
|
||||
--target=$LFS_TGT \
|
||||
--disable-nls \
|
||||
--enable-gprofng=no \
|
||||
--disable-werror</userinput></screen>
|
||||
--disable-werror \
|
||||
--enable-default-hash-style=gnu</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the configure options:</title>
|
||||
@ -132,6 +133,22 @@ cd build</userinput></screen>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--enable-default-hash-style=gnu</parameter></term>
|
||||
<listitem>
|
||||
<para>By default, the linker would generate both the GNU-style
|
||||
hash table and the classic ELF hash table for shared libraries and
|
||||
dynamically linked executables. The hash tables are only intended
|
||||
for a dynamic linker to perform symbol lookup. On LFS the dynamic
|
||||
linker (provided by the Glibc package) will always use the
|
||||
GNU-style hash table which is faster to query. So the classic
|
||||
ELF hash table is completely useless. This makes the the linker
|
||||
only generate the GNU-style hash table by default, so we can avoid
|
||||
wasting time to generate the classic ELF hash table when we build
|
||||
the packages, or wasting disk space to store it.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
<para>Continue with compiling the package:</para>
|
||||
|
@ -72,7 +72,8 @@ cd build</userinput></screen>
|
||||
--enable-shared \
|
||||
--enable-gprofng=no \
|
||||
--disable-werror \
|
||||
--enable-64-bit-bfd</userinput></screen>
|
||||
--enable-64-bit-bfd \
|
||||
--enable-default-hash-style=gnu</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the new configure options:</title>
|
||||
|
@ -57,9 +57,11 @@ cd build</userinput></screen>
|
||||
--enable-shared \
|
||||
--disable-werror \
|
||||
--enable-64-bit-bfd \
|
||||
--with-system-zlib</userinput></screen>
|
||||
--with-system-zlib \
|
||||
--enable-default-hash-style=gnu</userinput></screen>
|
||||
|
||||
<variablelist>
|
||||
<title>The meaning of the configure parameters:</title>
|
||||
<title>The meaning of the new configure parameters:</title>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--enable-gold</parameter></term>
|
||||
@ -84,14 +86,6 @@ cd build</userinput></screen>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--enable-64-bit-bfd</parameter></term>
|
||||
<listitem>
|
||||
<para>Enables 64-bit support (on hosts with narrower word sizes).
|
||||
May not be needed on 64-bit systems, but does no harm.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><parameter>--with-system-zlib</parameter></term>
|
||||
<listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user