loongarch: standards: Fix LSB info

The standard page wasn't adapted for LoongArch since day one.  Remove
the references to IA32 and AMD64, and state there's no LoongArch
specific part of LSB.  Also we cannot satisify some (really
unreasonable) requirements on symbol versions with Glibc on LoongArch.

By the way drop libutil.so.1 from Glibc contents as it does not exist on
LoongArch.

Link: https://sourceware.org/bugzilla/show_bug.cgi?id=31136#c11
This commit is contained in:
Xi Ruoyao 2024-09-27 01:01:54 +08:00
parent a77130cb0b
commit adb257913e
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
2 changed files with 19 additions and 5 deletions

View File

@ -629,7 +629,7 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
libpcprofile.so, libpthread.{a,so.0},
libresolv.{a,so}, librt.{a,so.1},
libthread_db.so, and libutil.{a,so.1}</seg>
libthread_db.so, and libutil.a</seg>
<seg>/usr/include/arpa, /usr/include/bits, /usr/include/gnu,
/usr/include/net, /usr/include/netash, /usr/include/netatalk,
/usr/include/netax25, /usr/include/neteconet, /usr/include/netinet,

View File

@ -34,9 +34,11 @@
<para>The LSB has four separate specifications: Core, Desktop,
Languages, and Imaging. Some parts of Core and Desktop
specifications are architecture specific. There are also two trial
specifications: Gtk3 and Graphics. LFS attempts to conform to the LSB
specifications for the IA32 (32-bit x86) or AMD64 (x86_64)
architectures discussed in the previous section.</para>
specifications: Gtk3 and Graphics. There's no architecture specific
parts for LoongArch, and on LoongArch Glibc has intentionally left out
some symbol versions required by the architecture independant part of
LSB Core. So we cannot satisfy the LSB architecture independant
parts, but we still use them as a reference.</para>
<note><para>Many people do not agree with these requirements.
The main purpose of the LSB is to ensure that proprietary software
@ -161,15 +163,27 @@
<listitem>
<para>
<command>install_initd</command>,
<filename class='libraryfile'>libc.so.6</filename>
(the file is provided by the LFS Glibc package but it lacks some
symbol versions required by LSB),
<filename class='libraryfile'>libcrypt.so.1</filename>
(can be provided with optional instructions for the LFS
Libxcrypt package),
<filename class='libraryfile'>libpthread.so.2</filename>
(the file is provided by the LFS Glibc package but it lacks some
symbol versions required by LSB),
<filename class='libraryfile'>libncurses.so.5</filename>
(can be provided with optional instructions for the LFS
Ncurses package),
<filename class='libraryfile'>libncursesw.so.5</filename>
(but <filename class='libraryfile'>libncursesw.so.6</filename>
is provided by the LFS Ncurses package)
is provided by the LFS Ncurses package),
<filename class='libraryfile'>librt.so.1</filename>
(the file is provided by the LFS Glibc package but it lacks some
symbol versions required by LSB),
<filename class='libraryfile'>libutil.so.1</filename>
(can be provided as a symlink to
<filename class='libraryfile'>libc.so.6</filename>)
</para>
</listitem>
</varlistentry>