From c6c122eb609d568fbf636f8a3cf4e06334b5e88a Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 27 Sep 2024 01:09:56 +0800 Subject: [PATCH] arm64: standards: Fix LSB info The standard page wasn't adapted for ARM64 since day one. Remove the references to IA32 and AMD64, and state there's no ARM64 specific part of LSB. Also we cannot satisify some (really unreasonable) requirements on symbol versions with Glibc on ARM64. Link: https://sourceware.org/bugzilla/show_bug.cgi?id=31136#c11 (cherry picked from commit adb257913e426c83c423d9f102c7a51a9cd63004) Edited for ARM64. --- prologue/standards.xml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/prologue/standards.xml b/prologue/standards.xml index 9872f309e..2ce40b1ba 100644 --- a/prologue/standards.xml +++ b/prologue/standards.xml @@ -34,9 +34,11 @@ 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 - generic specifications. The architecture specific part of LSB does - not exist for ARM64. + specifications: Gtk3 and Graphics. There's no architecture specific + parts for ARM64, and on ARM64 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. Many people do not agree with these requirements. The main purpose of the LSB is to ensure that proprietary software @@ -161,15 +163,24 @@ install_initd, + libc.so.6 + (the file is provided by the LFS Glibc package but it lacks some + symbol versions required by LSB), libcrypt.so.1 (can be provided with optional instructions for the LFS Libxcrypt package), + libpthread.so.2 + (the file is provided by the LFS Glibc package but it lacks some + symbol versions required by LSB), libncurses.so.5 (can be provided with optional instructions for the LFS Ncurses package), libncursesw.so.5 (but libncursesw.so.6 - is provided by the LFS Ncurses package) + is provided by the LFS Ncurses package), + librt.so.1 + (the file is provided by the LFS Glibc package but it lacks some + symbol versions required by LSB)