feat(libSceLibcInternal): declare 150 more PS5 pending exports #9511

Closed
xdCloudy wants to merge 0 commits from upstream-pr/9511 into main
xdCloudy commented 2026-10-21 23:55:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-21T23:55:13Z.


Update (2026-10-25)

The branch is based on current upstream main at f26434afa3. Corrected all 150 APS5_EXPORT registration literals to computed 11-character NIDs; each matches its technical-debt record. Local conventions and diff-check pass. Refreshed hosted checks are running; product/platform jobs are skipped.

What

Adds 150 additional pending PS5 3.20 imports to libSceLibcInternal from the PS5-3.20_Libs export inventory. These are distinct from the 150 declarations in #9498. Each declaration calls NotImplemented_nid_no_patch; the technical-debt file records the unverified signatures and behavior. The declarations support import resolution only and make no ABI or behavior claim.

An independent exact-name/NID audit against upstream main (d6eafa54d0464258574fd2f71889754d05a5bc93) and the live open-PR set after rebase found 150 distinct pairs, excluding #9498. The refreshed live overlap scan found no duplicate library/name/NID pairs or concrete export overlaps. It could not compare shared CMake/debt files in #5021 and CMake in #6044 because those PRs conflict with their bases; I manually checked the patches. #5021 adds HeapTrace.cpp and separate statvfs/test changes; this PR registers InventoryExports2.cpp on its own target_sources line and its import entries are separate. #6044 only moves test source paths and changes test registration. #8994’s Filesystem.cpp addition and test hunk do not overlap this PR. No PR dependency is required.

Tested

  • Windows: libSceLibcInternal compiled and linked on the rebased head
  • Ubuntu under WSL: libSceLibcInternal compiled and linked on the rebased head
  • python -I tools/check_conventions.py --base upstream/main --head HEAD — passed on the rebased head
  • git diff --check — passed
  • tools/pr_overlap.py — no duplicate exports; #5021 and #6044 received the manual file review above
  • GitHub checks on the current review head: conventions, eligibility, intake, labels, and report passed. Linux, Windows, relinker, relinker-asan, register-context, and write-watch jobs were skipped; no hosted product build is claimed

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
  • 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 (the technical-debt entry is required documentation)
  • New third-party code is a submodule built from source (not applicable)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4959943846 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9511). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-21T23:55:13Z. --- ### Update (2026-10-25) The branch is based on current upstream main at f26434afa36e58778a9ff4b948aea52dff19eb0c. Corrected all 150 APS5_EXPORT registration literals to computed 11-character NIDs; each matches its technical-debt record. Local conventions and diff-check pass. Refreshed hosted checks are running; product/platform jobs are skipped. ### What Adds 150 additional pending PS5 3.20 imports to `libSceLibcInternal` from the [PS5-3.20_Libs export inventory](https://github.com/DNNDHH/PS5-3.20_Libs). These are distinct from the 150 declarations in #9498. Each declaration calls `NotImplemented_nid_no_patch`; the technical-debt file records the unverified signatures and behavior. The declarations support import resolution only and make no ABI or behavior claim. An independent exact-name/NID audit against upstream `main` (`d6eafa54d0464258574fd2f71889754d05a5bc93`) and the live open-PR set after rebase found 150 distinct pairs, excluding #9498. The refreshed live overlap scan found no duplicate library/name/NID pairs or concrete export overlaps. It could not compare shared CMake/debt files in #5021 and CMake in #6044 because those PRs conflict with their bases; I manually checked the patches. #5021 adds `HeapTrace.cpp` and separate statvfs/test changes; this PR registers `InventoryExports2.cpp` on its own `target_sources` line and its import entries are separate. #6044 only moves test source paths and changes test registration. #8994’s `Filesystem.cpp` addition and test hunk do not overlap this PR. No PR dependency is required. ### Tested - Windows: `libSceLibcInternal` compiled and linked on the rebased head - Ubuntu under WSL: `libSceLibcInternal` compiled and linked on the rebased head - `python -I tools/check_conventions.py --base upstream/main --head HEAD` — passed on the rebased head - `git diff --check` — passed - `tools/pr_overlap.py` — no duplicate exports; #5021 and #6044 received the manual file review above - GitHub checks on the current review head: conventions, eligibility, intake, labels, and report passed. Linux, Windows, relinker, relinker-asan, register-context, and write-watch jobs were skipped; no hosted product build is claimed ### Checklist - [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 - [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 (the technical-debt entry is required documentation) - [x] New third-party code is a submodule built from source (not applicable) - [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
MarcZX10 commented 2026-10-22 00:19:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T00:19:47Z.

Review: APPROVED


Reviewed the current pending-export additions. I independently recomputed all 150 NIDs with tools/nid_names.py’s algorithm: the aliases and technical-debt pairs are all unique and match, and every wrapper is the corresponding _nid_no_patch throwing stub. The declarations make no ABI or behavior claim. The PR reports Windows and Ubuntu library builds, clean conventions/overlap checks, and manual review of shared-file warnings from #5021/#6044; current eligibility/intake/conventions/labels/report checks pass, while product build jobs are skipped. No local build was run.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5607803837 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9511#pullrequestreview-5607803837). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T00:19:47Z. **Review:** APPROVED --- Reviewed the current pending-export additions. I independently recomputed all 150 NIDs with `tools/nid_names.py`’s algorithm: the aliases and technical-debt pairs are all unique and match, and every wrapper is the corresponding `_nid_no_patch` throwing stub. The declarations make no ABI or behavior claim. The PR reports Windows and Ubuntu library builds, clean conventions/overlap checks, and manual review of shared-file warnings from #5021/#6044; current eligibility/intake/conventions/labels/report checks pass, while product build jobs are skipped. No local build was run.
xdCloudy commented 2026-10-22 01:33:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T01:33:11Z.


Relevant: GitHub skipped comparisons with #5021 and #6044 because their branches conflict with base. I’ll manually review the shared libc CMake/debt changes and update this PR if coordination is needed; this warning does not report a duplicate export.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6330515296 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9511#issuecomment-6330515296). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T01:33:11Z. --- Relevant: GitHub skipped comparisons with #5021 and #6044 because their branches conflict with base. I’ll manually review the shared libc CMake/debt changes and update this PR if coordination is needed; this warning does not report a duplicate export.
MarcZX10 commented 2026-10-22 02:06:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T02:06:08Z.

Review: APPROVED


Rechecked the exact current head and the shared-file notes. The author manually reviewed the #5021/#6044 files that the overlap bot could not compare; the new InventoryExports2.cpp source entry and separate debt section do not conflict with their changes. The 150 name/NID pairs remain distinct from #9498, each wrapper throws, and no ABI behavior is claimed. Eligibility, conventions, intake, labels and report pass; product jobs are skipped. The author reports Windows and Ubuntu library builds. I did not run a local build.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5608449562 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9511#pullrequestreview-5608449562). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T02:06:08Z. **Review:** APPROVED --- Rechecked the exact current head and the shared-file notes. The author manually reviewed the #5021/#6044 files that the overlap bot could not compare; the new `InventoryExports2.cpp` source entry and separate debt section do not conflict with their changes. The 150 name/NID pairs remain distinct from #9498, each wrapper throws, and no ABI behavior is claimed. Eligibility, conventions, intake, labels and report pass; product jobs are skipped. The author reports Windows and Ubuntu library builds. I did not run a local build.
xdCloudy commented 2026-10-22 02:25:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:25:59Z.


Manual review complete for the skipped comparisons. #5021’s libc CMake changes add HeapTrace.cpp and adjust statvfs/platform test setup; #6044 relocates existing test sources and groups their registrations. This PR adds InventoryExports.cpp to the target, outside the test-registration edits. The debt additions also document pending exports separately from #5021’s statvfs note. These are distinct changes; the shared CMake/debt files may need ordinary hunk reconciliation when landed together. I found no duplicate exports.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331188088 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9511#issuecomment-6331188088). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T02:25:59Z. --- Manual review complete for the skipped comparisons. #5021’s libc CMake changes add HeapTrace.cpp and adjust statvfs/platform test setup; #6044 relocates existing test sources and groups their registrations. This PR adds InventoryExports.cpp to the target, outside the test-registration edits. The debt additions also document pending exports separately from #5021’s statvfs note. These are distinct changes; the shared CMake/debt files may need ordinary hunk reconciliation when landed together. I found no duplicate exports.
xdCloudy commented 2026-10-22 02:34:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:34:23Z.


Correction to my prior note: the exact hunks are separate. This PR adds InventoryExports2.cpp to the library target; #5021 changes the source list and platform tests, while #6044 relocates existing test sources and registrations. The debt entries are in separate sections. No hunk reconciliation or dependency is needed for the changes reviewed. #5021 itself remains DIRTY against its base and needs its own rebase before final combined landing confirmation.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331291648 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9511#issuecomment-6331291648). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T02:34:23Z. --- Correction to my prior note: the exact hunks are separate. This PR adds InventoryExports2.cpp to the library target; #5021 changes the source list and platform tests, while #6044 relocates existing test sources and registrations. The debt entries are in separate sections. No hunk reconciliation or dependency is needed for the changes reviewed. #5021 itself remains DIRTY against its base and needs its own rebase before final combined landing confirmation.
MarcZX10 commented 2026-10-22 04:21:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:21:01Z.

Review: CHANGES_REQUESTED


The 150 NID/export and debt pairs remain well scoped, and the manual #5021/#6044 comparison explains why no dependency is needed. One repository requirement is now outstanding: this branch and its audit/build evidence are from the earlier main snapshot, while current upstream main is c61d20f548. Please update the branch and refresh the exact library/NID audit, overlap check, conventions, and target build on the current base so the audit includes current main and open PR heads. The previous Windows/Ubuntu builds are author-reported for the earlier tree; I did not run a local build.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5609221456 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9511#pullrequestreview-5609221456). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T04:21:01Z. **Review:** CHANGES_REQUESTED --- The 150 NID/export and debt pairs remain well scoped, and the manual #5021/#6044 comparison explains why no dependency is needed. One repository requirement is now outstanding: this branch and its audit/build evidence are from the earlier main snapshot, while current upstream main is c61d20f54801efc3798555829f6fedcff71ad7ff. Please update the branch and refresh the exact library/NID audit, overlap check, conventions, and target build on the current base so the audit includes current main and open PR heads. The previous Windows/Ubuntu builds are author-reported for the earlier tree; I did not run a local build.
xdCloudy commented 2026-10-22 06:08:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T06:08:35Z.


Resolved the stale-base request. I rebased this PR onto current upstream main (b27924d851696cafcb83152515f1c84d8804e1f3), refreshed tools/pr_overlap.py against the live open-PR set, and reran the exact export/NID checks. There are no duplicate library/name/NID pairs. The checker could not compare #5021/#6044 because their branches conflict with base; I manually reviewed those patches: #5021’s HeapTrace.cpp and statvfs/test changes are separate from this PR’s InventoryExports2.cpp registration and pending-import entries, and #6044 only relocates test sources and test registration. I also reran the libSceLibcInternal Windows and WSL builds; both linked successfully. Conventions and git diff --check pass on the rebased head. Hosted conventions, eligibility, labels, and report checks pass; the product/platform build jobs are skipped. I updated the PR body with the refreshed evidence.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6334032710 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9511#issuecomment-6334032710). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T06:08:35Z. --- Resolved the stale-base request. I rebased this PR onto current upstream `main` (`b27924d851696cafcb83152515f1c84d8804e1f3`), refreshed `tools/pr_overlap.py` against the live open-PR set, and reran the exact export/NID checks. There are no duplicate library/name/NID pairs. The checker could not compare #5021/#6044 because their branches conflict with base; I manually reviewed those patches: #5021’s `HeapTrace.cpp` and statvfs/test changes are separate from this PR’s `InventoryExports2.cpp` registration and pending-import entries, and #6044 only relocates test sources and test registration. I also reran the `libSceLibcInternal` Windows and WSL builds; both linked successfully. Conventions and `git diff --check` pass on the rebased head. Hosted conventions, eligibility, labels, and report checks pass; the product/platform build jobs are skipped. I updated the PR body with the refreshed evidence.

Pull request closed

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!9511
No description provided.