docs(usage): state the glibc and libstdc++ versions the Linux libraries need #26107

Merged
GeremC merged 1 commit from upstream-pr/26107 into main 2026-11-23 09:50:09 +00:00
GeremC commented 2026-11-23 08:56:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by GeremC on 2026-11-23T08:56:18Z.


What

USAGE.md says which CPU a converted title needs but not which Linux system. The Linux libraries need glibc 2.38 and the libstdc++ of GCC 13 (GLIBCXX_3.4.31): __isoc23_strtol, __isoc23_sscanf, strlcpy, fmod and others at GLIBC_2.38. On an older system no library loads, and the title stops with a loader error the documentation does not mention. This adds a "Linux system requirements" section after "CPU requirements" that names the versions, the distributions that have them, the error line, and the glibc 2.43 that the current v0.1.4 and v0.1.5 archives need (fixed for the next release by #25818). It also says that the static relinker-<version> file runs on older systems and needs chmod +x after a browser download.

Tested

main at 485d38cc84 built on Linux Mint 22.3 (Ubuntu 24.04 base, GCC 13.3.0), the release job's configure line. Newest versions across the 413 libraries of build/core/libs/libs: GLIBC_2.38, GLIBCXX_3.4.31, CXXABI_1.3.11, GCC_7.0.0.

ldd -r on every library in the distribution's official container image (podman), counting the libraries with a not found line:

Image glibc built main libraries that fail v0.1.5 prx-linux libraries that fail
ubuntu:22.04 2.35 413 / 413
debian:12 2.36 413 / 413
fedora:38 2.37 413 / 413
fedora:39 2.38 0
ubuntu:24.04 2.39 0
fedora:40 2.39 0
debian:13 2.41 0 407 / 407
fedora:43 2.42 407 / 407
fedora:44 2.43 0
ubuntu:26.04 2.43 0
archlinux:latest 2.44 0

On ubuntu:22.04, build/tests/guest_abstract_local_tests (linked to the built libc.prx) stops with /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.38' not found (required by .../libs/unpatched/libc.prx), plus the same line for libm.so.6 and GLIBCXX_3.4.31; on ubuntu:24.04 it starts and runs. The v0.1.5 relinker file, after chmod +x, prints its version on ubuntu:22.04; without it the container fails to start it with permission denied.

python3 tools/check_conventions.py --base origin/main passes.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

https://claude.ai/code/session_014W1f1RvDMX4BmYudy9J2Vj

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5450040927 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/26107). Originally posted by [GeremC](https://github.com/GeremC) on 2026-11-23T08:56:18Z. --- ### What `USAGE.md` says which CPU a converted title needs but not which Linux system. The Linux libraries need glibc 2.38 and the libstdc++ of GCC 13 (`GLIBCXX_3.4.31`): `__isoc23_strtol`, `__isoc23_sscanf`, `strlcpy`, `fmod` and others at `GLIBC_2.38`. On an older system no library loads, and the title stops with a loader error the documentation does not mention. This adds a "Linux system requirements" section after "CPU requirements" that names the versions, the distributions that have them, the error line, and the glibc 2.43 that the current v0.1.4 and v0.1.5 archives need (fixed for the next release by #25818). It also says that the static `relinker-<version>` file runs on older systems and needs `chmod +x` after a browser download. ### Tested `main` at 485d38cc84 built on Linux Mint 22.3 (Ubuntu 24.04 base, GCC 13.3.0), the release job's configure line. Newest versions across the 413 libraries of `build/core/libs/libs`: `GLIBC_2.38`, `GLIBCXX_3.4.31`, `CXXABI_1.3.11`, `GCC_7.0.0`. `ldd -r` on every library in the distribution's official container image (podman), counting the libraries with a `not found` line: | Image | glibc | built `main` libraries that fail | v0.1.5 `prx-linux` libraries that fail | |---|---|---|---| | `ubuntu:22.04` | 2.35 | 413 / 413 | | | `debian:12` | 2.36 | 413 / 413 | | | `fedora:38` | 2.37 | 413 / 413 | | | `fedora:39` | 2.38 | 0 | | | `ubuntu:24.04` | 2.39 | 0 | | | `fedora:40` | 2.39 | 0 | | | `debian:13` | 2.41 | 0 | 407 / 407 | | `fedora:43` | 2.42 | | 407 / 407 | | `fedora:44` | 2.43 | | 0 | | `ubuntu:26.04` | 2.43 | | 0 | | `archlinux:latest` | 2.44 | | 0 | On `ubuntu:22.04`, `build/tests/guest_abstract_local_tests` (linked to the built `libc.prx`) stops with `/lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.38' not found (required by .../libs/unpatched/libc.prx)`, plus the same line for `libm.so.6` and `GLIBCXX_3.4.31`; on `ubuntu:24.04` it starts and runs. The v0.1.5 `relinker` file, after `chmod +x`, prints its version on `ubuntu:22.04`; without it the container fails to start it with `permission denied`. `python3 tools/check_conventions.py --base origin/main` passes. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014W1f1RvDMX4BmYudy9J2Vj
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!26107
No description provided.