mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-15 00:35:07 +01:00
loongarch: Patch libelf for LoongArch support
This commit is contained in:
parent
c018a6d335
commit
04ab6d0f55
@ -40,6 +40,15 @@
|
||||
appropriate for the entry or if needed the entire day's listitem.
|
||||
-->
|
||||
|
||||
<listitem>
|
||||
<para>2023-06-20</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[xry111] - Patch libelf for LoongArch support.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>2023-06-17</para>
|
||||
<itemizedlist>
|
||||
|
@ -308,6 +308,10 @@
|
||||
<para>Pkgconf-&flit-core-version;</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>&elfutils-loongarch-patch;</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Flit-core-&flit-core-version;</para>
|
||||
</listitem>
|
||||
|
@ -77,6 +77,14 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
-->
|
||||
<varlistentry>
|
||||
<term>Elfutils LoongArch Support Patch - <token>&elfutils-loongarch-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="https://www.linuxfromscratch.org/~xry111/lfs/patches/&elfutils-loongarch-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&elfutils-loongarch-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
|
@ -44,6 +44,11 @@
|
||||
<para>Libelf is part of the elfutils-&elfutils-version; package. Use
|
||||
the elfutils-&elfutils-version;.tar.bz2 file as the source tarball.</para>
|
||||
|
||||
<para>Add LoongArch support for this package:</para>
|
||||
|
||||
<screen><userinput remap="pre">patch -Np1 -i ../&elfutils-loongarch-patch;
|
||||
autoreconf -fi</userinput></screen>
|
||||
|
||||
<para>Prepare Libelf for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
@ -58,9 +63,6 @@
|
||||
|
||||
<screen><userinput remap="test">make check</userinput></screen>
|
||||
|
||||
<para>7 tests are known to fail because the support for LoongArch is
|
||||
not complete in this Libelf release.</para>
|
||||
|
||||
<para>Install only Libelf:</para>
|
||||
|
||||
<screen><userinput remap="install">make -C libelf install
|
||||
|
@ -30,6 +30,9 @@
|
||||
<!ENTITY coreutils-chmod-patch-md5 "4709df88e68279e6ef357aa819ba5b1a">
|
||||
<!ENTITY coreutils-chmod-patch-size "3.8 KB">
|
||||
-->
|
||||
<!ENTITY elfutils-loongarch-patch "elfutils-&elfutils-version;-loongarch-1.patch">
|
||||
<!ENTITY elfutils-loongarch-patch-md5 "d40bdbc21abd4bd3c51a7c6729ed3a85">
|
||||
<!ENTITY elfutils-loongarch-patch-size "44 KB">
|
||||
<!--
|
||||
<!ENTITY flex-fixes-patch "flex-&flex-version;-upstream_fixes-3.patch">
|
||||
<!ENTITY flex-fixes-patch-md5 "b46f6b0380e502a3dfb8b503227cd680">
|
||||
|
Loading…
Reference in New Issue
Block a user