mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-21 19:55:22 +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>
|
<listitem>
|
||||||
<para>2023-12-31</para>
|
<para>2023-12-31</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[xry111] - Add --enable-default-hash-style=gnu configuring
|
||||||
|
binutils. Fixes
|
||||||
|
<ulink url='&lfs-ticket-root;5401'>#5401</ulink>.</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[xry111] - Fix CVE-2023-7008 for systemd-255. Fixes
|
<para>[xry111] - Fix CVE-2023-7008 for systemd-255. Fixes
|
||||||
<ulink url='&lfs-ticket-root;5405'>#5405</ulink>.</para>
|
<ulink url='&lfs-ticket-root;5405'>#5405</ulink>.</para>
|
||||||
|
@ -75,7 +75,8 @@ cd build</userinput></screen>
|
|||||||
--target=$LFS_TGT \
|
--target=$LFS_TGT \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
--enable-gprofng=no \
|
--enable-gprofng=no \
|
||||||
--disable-werror</userinput></screen>
|
--disable-werror \
|
||||||
|
--enable-default-hash-style=gnu</userinput></screen>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the configure options:</title>
|
<title>The meaning of the configure options:</title>
|
||||||
@ -132,6 +133,22 @@ cd build</userinput></screen>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
</variablelist>
|
||||||
|
|
||||||
<para>Continue with compiling the package:</para>
|
<para>Continue with compiling the package:</para>
|
||||||
|
@ -72,7 +72,8 @@ cd build</userinput></screen>
|
|||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-gprofng=no \
|
--enable-gprofng=no \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-64-bit-bfd</userinput></screen>
|
--enable-64-bit-bfd \
|
||||||
|
--enable-default-hash-style=gnu</userinput></screen>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the new configure options:</title>
|
<title>The meaning of the new configure options:</title>
|
||||||
|
@ -57,9 +57,11 @@ cd build</userinput></screen>
|
|||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-64-bit-bfd \
|
--enable-64-bit-bfd \
|
||||||
--with-system-zlib</userinput></screen>
|
--with-system-zlib \
|
||||||
|
--enable-default-hash-style=gnu</userinput></screen>
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<title>The meaning of the configure parameters:</title>
|
<title>The meaning of the new configure parameters:</title>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><parameter>--enable-gold</parameter></term>
|
<term><parameter>--enable-gold</parameter></term>
|
||||||
@ -84,14 +86,6 @@ cd build</userinput></screen>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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>
|
<varlistentry>
|
||||||
<term><parameter>--with-system-zlib</parameter></term>
|
<term><parameter>--with-system-zlib</parameter></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
Loading…
Reference in New Issue
Block a user