klibc-bot for Ben Hutchings
2022-Aug-03 22:51 UTC
[klibc] [klibc:master] README.klibc: Update note about building compat user-space
Commit-ID: 9c5a00cee083e345148c2d303d509c71fd99cc15 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=9c5a00cee083e345148c2d303d509c71fd99cc15 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Tue, 2 Aug 2022 23:08:44 +0200 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Thu, 4 Aug 2022 00:48:26 +0200 [klibc] README.klibc: Update note about building compat user-space - The list of 64-bit architectures that can have a 32-bit user-space was outdated. ia64 hasn't supported compat mode since Linux 2.6.27, while arm64 does support it. Rather than trying to keep this list up-to-date, delete it. - There hasn't been a linux/include/asm symlink since Linux 2.6.30, so delete the reference to that. - The 64-bit ports of klibc are widely used. For example, Debian and its derivatives have always used native builds of klibc on amd64 and arm64. So delete the statement that compat user-space is likely better-tested. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/klibc/README.klibc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/usr/klibc/README.klibc b/usr/klibc/README.klibc index 6162ad3a..efbb70ff 100644 --- a/usr/klibc/README.klibc +++ b/usr/klibc/README.klibc @@ -26,13 +26,10 @@ prefix, on the "make" command line. You also need to set ARCH to the appropriate kernel architecture name on the "make headers_install" command line. -IMPORTANT: if you're on a 64-bit machine with a 32-bit userland -(ia64, mips64, ppc64 sparc64, s390x or x86_64), and you want to -build the 32-bit version: you need to set KLIBCARCH to the 32-bit -architecture as well as set up the linux/include/asm symlink to -point to the 32-bit architecture. Building the 32-bit architecture -usually (but not always) produces smaller binaries, and is likely -to be better tested. +IMPORTANT: if you're on a 64-bit machine with a 32-bit userland, and +you want to build the 32-bit version: you need to set KLIBCARCH to the +32-bit architecture. Building the 32-bit architecture usually (but +not always) produces smaller binaries. If you are on ARM, and want to build a thumb version of the library (this is supported), change OPTFLAGS in arch/arm/MCONFIG to build