feat(libSceLibcInternal): declare 150 PS5 3.20 pending exports #9498
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9498"
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:27:42Z.
Update (2026-10-25)
The branch is based on current upstream main at
f26434afa3. The literal-NID correction described in the comments remains in place. Historical build/check statements below refer to their recorded heads; current hosted checks should be used for this rebased head.What
Adds 150 pending PS5 3.20 imports to
libSceLibcInternalfrom the PS5-3.20_Libs export inventory. Each declaration callsNotImplemented_nid_no_patch; unknown prototypes and behavior are documented in the library's technical-debt file. These declarations support import resolution only and make no ABI or behavior claim.An exact name/NID audit and
tools/pr_overlap.pywere refreshed against current upstreammain(d6eafa54d0464258574fd2f71889754d05a5bc93) and the live open-PR set after rebase; all 150 pairs remain distinct with no duplicate exports. The checker could not compare #5021 and #9653 because those branches conflict with base. I manually reviewed the shared patches: #5021 removes a different export and adds separate path-statistics/test changes; #9653 adds a separate SDK stub-table debt note. A three-way merge of #9653 and this branch has no conflict inlibSceLibcInternaltechnical debt. No function or NID overlaps, and no dependency is required.Tested
libSceLibcInternalcompiled and linked on the rebased head544e593df7cb9445f0439e4f01f4da51116751bflibSceLibcInternalcompiled 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 names/NIDs; #5021 and #9653 received the manual comparison 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-21T23:31:01Z.
Review: APPROVED
Reviewed the generated stubs and debt entries. Each of the 150 aliases has a throwing
NotImplemented_nid_no_patchbody and is listed as unverified, so the PR makes no unsupported ABI or behavior claim. I independently parsed the export pairs: all 150 names and helper NIDs are unique, and every helper-safe NID matchestools/nid_names.pyoutput for its export name. The author reports Windows and Ubuntu library builds plus convention and diff checks; the hosted conventions, intake, eligibility, labels and report checks pass. Product build jobs are skipped, and no hosted product build is claimed.Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T01:33:24Z.
Relevant: GitHub could not compare #5021 because its branch conflicts with base. I’ll manually review the shared libc Export.cpp and technical-debt changes and update this PR if coordination is needed; this warning does not itself report a duplicate export.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T02:09:07Z.
Review: APPROVED
Rechecked the exact head and the manual #5021 shared-file audit now recorded in the PR body. Its
Export.cppchange removes a different export and the debt hunk is separate; the 150 new export names/NIDs remain unique and absent from current main, all wrappers throw, and no ABI/behavior claim is made. The author reports Windows and Ubuntu library builds; eligibility, conventions, intake, labels and report checks pass, while product/relinker jobs are skipped. I did not run a local build.Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:26:06Z.
Manual review complete for #5021’s shared paths. #5021 removes the existing sceLibcHeapGetTraceInfo_nid_postfix wrapper from Export.cpp; this PR adds pending-export declarations in its inventory block. I found no repeated export/NID. In the debt file, #5021 documents statvfs; this PR adds pending-import entries for different functions. Both touch the debt file, so placement may need reconciliation when applied together, but I found no duplicate declaration.
Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:34:23Z.
Correction to my prior note: #5021’s statvfs functional entry and this PR’s additional-import entries occupy separate debt sections; no placement reconciliation is needed. Its removal of the heap-trace wrapper is also separate from this PR’s added declarations. #5021 remains DIRTY against its base, so final combined landing confirmation depends on that PR being rebased.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:26:11Z.
Review: CHANGES_REQUESTED
The pending export stubs and debt entries remain appropriately limited to import resolution: the PR documents unknown signatures/behavior and all wrappers throw. I also confirm the manual #5021 audit distinguishes the removed heap-trace export from these additions and its statvfs debt entry from the pending-import section. However, both the NID/overlap audit and reported Windows/WSL builds are based on
a6dcea9279; current upstream main isab347d144d. Please rebase, rerun the exact name/NID uniqueness and overlap checks against current main/open PRs, and rerun conventions and the library compile. Hosted product/relinker jobs are skipped; I did not run a local build.Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T06:36:18Z.
Resolved the stale-base request. This branch is now rebased onto current
main(d6eafa54d0464258574fd2f71889754d05a5bc93). I reran the live exact name/NID and overlap audit; all 150 declarations remain unique. The checker could not compare #5021/#9653, so I manually reviewed them: #5021 changes a different export and separate path-statistics/tests, while #9653 adds a separate SDK stub-table debt note. A three-way merge check found no conflict inlibSceLibcInternaldebt documentation. Windows and WSL target builds, conventions, and diff checks pass on the rebased head. Hosted conventions, eligibility, intake, labels, and report pass; product/platform jobs are skipped. I updated the PR body with the refreshed evidence.Pull request closed