feat(libSceLibcInternal): declare 150 more PS5 pending exports #9511
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9511"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
libSceLibcInternalfrom the PS5-3.20_Libs export inventory. These are distinct from the 150 declarations in #9498. Each declaration callsNotImplemented_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 addsHeapTrace.cppand separate statvfs/test changes; this PR registersInventoryExports2.cppon its owntarget_sourcesline and its import entries are separate. #6044 only moves test source paths and changes test registration. #8994’sFilesystem.cppaddition and test hunk do not overlap this PR. No PR dependency is required.Tested
libSceLibcInternalcompiled and linked on the rebased headlibSceLibcInternalcompiled and linked on the rebased headpython -I tools/check_conventions.py --base upstream/main --head HEAD— passed on the rebased headgit diff --check— passedtools/pr_overlap.py— no duplicate exports; #5021 and #6044 received the manual file review aboveChecklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (the technical-debt entry is required documentation)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_patchthrowing 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.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.
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.cppsource 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.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.
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.
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.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), refreshedtools/pr_overlap.pyagainst 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’sHeapTrace.cppand statvfs/test changes are separate from this PR’sInventoryExports2.cppregistration and pending-import entries, and #6044 only relocates test sources and test registration. I also reran thelibSceLibcInternalWindows and WSL builds; both linked successfully. Conventions andgit diff --checkpass 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