build(libs): support Emscripten memory64 compilation #11341

Merged
SteelCrab merged 7 commits from upstream-pr/11341 into main 2026-10-30 11:49:21 +00:00
SteelCrab commented 2026-10-26 04:50:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by SteelCrab on 2026-10-26T04:50:38Z.


What

Compile shared system-library sources with Emscripten memory64: adapt guest memory, module/file/process interfaces and ABI declarations, and load/store guest x87 long doubles on a binary128 host. Unsupported context switching, module unwind queries, vnode watches, mapping operations and the new host-region release path throw; the remaining limitations are recorded in library debt files.

Replaces closed #9092 and follows merged #10017. The module-unwind review is addressed by an explicit unsupported Emscripten path and a linked Node regression. #8864 and #9506 are already in main; their native Bessel and DNS changes are retained.

Tested

Ubuntu 26.04.1 x86-64, GCC 15.2, Emscripten 6.0.12, Node 26.12.0. Refreshed on 2026-10-30 onto main 91a69952c10099966378a6a9006b8ef616ae22da; tested head 98248606d4ef786f04329ec815334b6539e88035.

  • Native Release portability build: 18 library translation units compiled; guest_long_double 1/1 passed.
  • Emscripten memory64 Release portability build: the same 18 units compiled; Node tests 2/2 passed (guest_long_double, emscripten_module_unwind). The latter links both production module sources, checks unsupported queries preserve output across addresses and flags, and preserves the kernel null-output EFAULT result.
  • Native video_out_output_mode_policy on the same machine: main 1/1; change 1/1 passed. Both verbose runs used ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation. Neither log contained the missing-layer message or a VUID- error. This CPU-only test does not exercise Vulkan or GPU rendering.
  • Public-header audit: 373 libraries / 14243 exports verified. Code and PR-template Conventions against the refreshed base and git diff --check passed.
  • The new upstream guest arena host-region release path does not compile on WebAssembly because its native reservation helper is unavailable. On WebAssembly it now throws explicitly, with the limitation recorded in the existing libc debt entry; native behavior is unchanged.
  • Full native-library suites, Windows/macOS host execution, browser/title runs and GPU rendering were not run locally.

CI coverage:

Claim Workflow / job
Native/memory64 compilation of 18 sources; native long-double and both Node regressions Emscripten library portability / library-portability
Native relinker, register-context and write-watch checks Build / corresponding jobs
Full native libraries and runtime tests Maintainer-dispatched Build / linux and windows
Repository and PR rules Conventions / conventions

Remote validation for the new head is pending. The prior head's hosted portability and Conventions jobs passed; its automatic Build skipped Linux and its Windows configure/link job did not establish full-library CTest coverage. A maintainer dispatch of the full native Build remains needed for the refreshed head.

Overlap coordination:

  • #11332: its author and this PR agreed that #11341 lands first, with #11332 preserving GuestLongDoubleLoad and avoiding host long-double layout assumptions when rebased.
  • #12514: its author confirmed #11341 first, followed by #12514, which lists #11341 as a dependency. The branches conflict in ScanningWide.cpp at the %Lf store: GuestLongDoubleStore writes 16 bytes, while #12514 requires a 10-byte write preserving padding and canonicalizing NaNs. A scratch merge of #12514 head ccdd878bd9184e5031ddf1108c9d7044821ebeb9 with the preceding rebased head e212645586b8db1cd67beaf8cd66fc990040b5c9 encoded into a temporary 16-byte buffer and copied 10 bytes. A focused scanner harness passed 4 cases (finite value, negative zero, infinity and canonical NaN, with padding and canaries checked) on native and memory64/Node. This is a candidate integration test, not a test of the future rebased #12514 or full suite.
  • Overlap scan: against main 91a69952, the scanner reports conflicts with #7938 (guest arena), #10025 (direct memory), and #7532 / #10345 (debt entries). Some branches could not be compared because they already conflict with main, including #11332 and #12514, so no blanket overlap-free claim is made. The scanner also lists getcontext, setcontext and swapcontext as already in main: this PR adds their mutually exclusive Emscripten unsupported branches, while retaining the existing native definitions. Its #11341 entry compares this PR against its previous remote head.
  • #11872: the PR is closed without merging; the previously discussed order is historical.

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 (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: No GPU rendering tested; native VideoOut policy regression is CPU-only
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5012236566 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11341). Originally posted by [SteelCrab](https://github.com/SteelCrab) on 2026-10-26T04:50:38Z. --- ### What Compile shared system-library sources with Emscripten memory64: adapt guest memory, module/file/process interfaces and ABI declarations, and load/store guest x87 long doubles on a binary128 host. Unsupported context switching, module unwind queries, vnode watches, mapping operations and the new host-region release path throw; the remaining limitations are recorded in library debt files. Replaces closed #9092 and follows merged #10017. The module-unwind review is addressed by an explicit unsupported Emscripten path and a linked Node regression. #8864 and #9506 are already in main; their native Bessel and DNS changes are retained. ### Tested Ubuntu 26.04.1 x86-64, GCC 15.2, Emscripten 6.0.12, Node 26.12.0. Refreshed on 2026-10-30 onto main `91a69952c10099966378a6a9006b8ef616ae22da`; tested head `98248606d4ef786f04329ec815334b6539e88035`. - Native Release portability build: **18 library translation units compiled; guest_long_double 1/1 passed**. - Emscripten memory64 Release portability build: **the same 18 units compiled; Node tests 2/2 passed** (`guest_long_double`, `emscripten_module_unwind`). The latter links both production module sources, checks unsupported queries preserve output across addresses and flags, and preserves the kernel null-output `EFAULT` result. - Native `video_out_output_mode_policy` on the same machine: **main 1/1; change 1/1 passed**. Both verbose runs used `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, and `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`. Neither log contained the missing-layer message or a `VUID-` error. This CPU-only test does not exercise Vulkan or GPU rendering. - Public-header audit: **373 libraries / 14243 exports verified**. Code and PR-template Conventions against the refreshed base and `git diff --check` passed. - The new upstream guest arena host-region release path does not compile on WebAssembly because its native reservation helper is unavailable. On WebAssembly it now throws explicitly, with the limitation recorded in the existing libc debt entry; native behavior is unchanged. - Full native-library suites, Windows/macOS host execution, browser/title runs and GPU rendering were not run locally. CI coverage: | Claim | Workflow / job | | --- | --- | | Native/memory64 compilation of 18 sources; native long-double and both Node regressions | Emscripten library portability / `library-portability` | | Native relinker, register-context and write-watch checks | Build / corresponding jobs | | Full native libraries and runtime tests | Maintainer-dispatched Build / `linux` and `windows` | | Repository and PR rules | Conventions / `conventions` | Remote validation for the new head is pending. The prior head's hosted portability and Conventions jobs passed; its automatic Build skipped Linux and its Windows configure/link job did not establish full-library CTest coverage. A maintainer dispatch of the full native Build remains needed for the refreshed head. Overlap coordination: - **#11332:** its author and this PR agreed that #11341 lands first, with #11332 preserving `GuestLongDoubleLoad` and avoiding host long-double layout assumptions when rebased. - **#12514:** its author confirmed #11341 first, followed by #12514, which lists #11341 as a dependency. The branches conflict in `ScanningWide.cpp` at the `%Lf` store: `GuestLongDoubleStore` writes 16 bytes, while #12514 requires a 10-byte write preserving padding and canonicalizing NaNs. A scratch merge of #12514 head `ccdd878bd9184e5031ddf1108c9d7044821ebeb9` with the preceding rebased head `e212645586b8db1cd67beaf8cd66fc990040b5c9` encoded into a temporary 16-byte buffer and copied 10 bytes. A focused scanner harness passed 4 cases (finite value, negative zero, infinity and canonical NaN, with padding and canaries checked) on native and memory64/Node. This is a candidate integration test, not a test of the future rebased #12514 or full suite. - **Overlap scan:** against main `91a69952`, the scanner reports conflicts with #7938 (guest arena), #10025 (direct memory), and #7532 / #10345 (debt entries). Some branches could not be compared because they already conflict with main, including #11332 and #12514, so no blanket overlap-free claim is made. The scanner also lists `getcontext`, `setcontext` and `swapcontext` as already in main: this PR adds their mutually exclusive Emscripten unsupported branches, while retaining the existing native definitions. Its #11341 entry compares this PR against its previous remote head. - **#11872:** the PR is closed without merging; the previously discussed order is historical. <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> ### 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) - [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 <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: No GPU rendering tested; native VideoOut policy regression is CPU-only <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no -->
MarcZX10 commented 2026-10-26 04:55:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-26T04:55:15Z.

Review: CHANGES_REQUESTED


Blocking Emscripten runtime path: this new __EMSCRIPTEN__ branch delegates to sceKernelGetModuleInfoForUnwind. In core/libs/prx/libkernel/Module/src/Module.cpp, Emscripten falls through to the generic non-Apple implementation, which calls HostMapping::Find; HostMapping.hpp reads /proc/self/maps and throws if it cannot open it. The Emscripten portability workflow compiles libSceSysmodule/Export.cpp but omits libkernel/Module/src/Module.cpp, and its test only exercises long-double conversion, so this route is neither compiled nor runtime-tested by the new check. Please add an explicit Emscripten implementation (or make this operation fail as an explicitly unsupported path) and include its translation unit and a focused test in the portability workflow. Please also change the checklist dependency from #10017 to none: #10017 is already merged, so it is no longer a PR that must land first.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5647563577 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11341#pullrequestreview-5647563577). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-26T04:55:15Z. **Review:** CHANGES_REQUESTED --- Blocking Emscripten runtime path: this new `__EMSCRIPTEN__` branch delegates to `sceKernelGetModuleInfoForUnwind`. In `core/libs/prx/libkernel/Module/src/Module.cpp`, Emscripten falls through to the generic non-Apple implementation, which calls `HostMapping::Find`; `HostMapping.hpp` reads `/proc/self/maps` and throws if it cannot open it. The Emscripten portability workflow compiles `libSceSysmodule/Export.cpp` but omits `libkernel/Module/src/Module.cpp`, and its test only exercises long-double conversion, so this route is neither compiled nor runtime-tested by the new check. Please add an explicit Emscripten implementation (or make this operation fail as an explicitly unsupported path) and include its translation unit and a focused test in the portability workflow. Please also change the checklist dependency from #10017 to `none`: #10017 is already merged, so it is no longer a PR that must land first.
MarcZX10 commented 2026-10-26 05:19:22 +00:00 (Migrated from github.com)

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

Review: APPROVED


The prior blocking issue is resolved at this head. Under Emscripten, the generic HostMapping implementation is excluded, the kernel unwind query reports the unsupported path explicitly, and the sysmodule entry point forwards to that same path. The new Node regression links both production translation units, checks unsupported queries leave output unchanged across representative addresses and flags, and preserves the kernel null-output EFAULT result. The focused library-portability check and conventions check pass at fcb72551ab. The checklist now correctly lists no dependency on already-merged #10017. I did not independently run the full native library build; the automatic workflow reports the full native library jobs as skipped.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5647699032 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11341#pullrequestreview-5647699032). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-26T05:19:22Z. **Review:** APPROVED --- The prior blocking issue is resolved at this head. Under Emscripten, the generic HostMapping implementation is excluded, the kernel unwind query reports the unsupported path explicitly, and the sysmodule entry point forwards to that same path. The new Node regression links both production translation units, checks unsupported queries leave output unchanged across representative addresses and flags, and preserves the kernel null-output EFAULT result. The focused library-portability check and conventions check pass at fcb72551ab. The checklist now correctly lists no dependency on already-merged #10017. I did not independently run the full native library build; the automatic workflow reports the full native library jobs as skipped.
MarcZX10 commented 2026-10-26 05:59:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-26T05:59:46Z.

Review: DISMISSED


The previous module-unwind blocker is resolved, and the current hosted Emscripten portability, relinker, register-context and write-watch checks pass. The native full-library Linux and Windows jobs are still skipped by the automatic gate, as the report correctly says.

The reviewed head fcb72551ab9ad72d21290ab8d4f1b818abb3fbad is now 4 commits ahead and 52 behind current main (14c99b52ac), with a clean merge preview. The reported native/memory64 builds and Node regressions were run against 9b197b6ce4583e64bf2427e6beb7270bcfa1528e. CONTRIBUTING.md asks branches to stay current; please rebase onto current main, resolve the debt-file overlaps, and rerun the library-portability job at the refreshed head. I found no changed production file overlap on the intervening commits, but this broad portability change needs exact-head validation after the refresh.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5647954934 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11341#pullrequestreview-5647954934). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-26T05:59:46Z. **Review:** DISMISSED --- The previous module-unwind blocker is resolved, and the current hosted Emscripten portability, relinker, register-context and write-watch checks pass. The native full-library Linux and Windows jobs are still skipped by the automatic gate, as the report correctly says. The reviewed head `fcb72551ab9ad72d21290ab8d4f1b818abb3fbad` is now 4 commits ahead and 52 behind current `main` (`14c99b52ac`), with a clean merge preview. The reported native/memory64 builds and Node regressions were run against `9b197b6ce4583e64bf2427e6beb7270bcfa1528e`. `CONTRIBUTING.md` asks branches to stay current; please rebase onto current `main`, resolve the debt-file overlaps, and rerun the library-portability job at the refreshed head. I found no changed production file overlap on the intervening commits, but this broad portability change needs exact-head validation after the refresh.
MarcZX10 commented 2026-10-29 06:18:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T06:18:28Z.

Review: CHANGES_REQUESTED


Re-checked — changes requested

The author has now published current-main validation on head bb065fccc0b2a5ee3fc3b8deeceb94b2245de901: the report includes native and memory64 compilation of 18 sources, long-double and Node regressions, and the VideoOut policy test. The hosted portability, relinker, register-context, write-watch, Windows, conventions, and policy checks pass; Linux product CI is skipped.

The tested base is d7fd41699238337a84cc61de848b5523a938031d. Current main is 2960e9a6e7e1fc99c4ed180c71495b5eb83464c7, and this branch is 831 commits behind. Nine touched paths changed on both sides since the tested base, including libc/libkernel source files compiled by the memory64 validation. The merge preview is clean, but those source changes are part of the feature’s compile surface. Please refresh the branch and rerun the native/memory64 source compilation and focused regressions against that integrated head before I can approve.

I did not run Emscripten or Node tests locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5693634414 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11341#pullrequestreview-5693634414). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T06:18:28Z. **Review:** CHANGES_REQUESTED --- ## Re-checked — changes requested The author has now published current-main validation on head `bb065fccc0b2a5ee3fc3b8deeceb94b2245de901`: the report includes native and memory64 compilation of 18 sources, long-double and Node regressions, and the VideoOut policy test. The hosted portability, relinker, register-context, write-watch, Windows, conventions, and policy checks pass; Linux product CI is skipped. The tested base is `d7fd41699238337a84cc61de848b5523a938031d`. Current `main` is `2960e9a6e7e1fc99c4ed180c71495b5eb83464c7`, and this branch is 831 commits behind. Nine touched paths changed on both sides since the tested base, including `libc`/`libkernel` source files compiled by the memory64 validation. The merge preview is clean, but those source changes are part of the feature’s compile surface. Please refresh the branch and rerun the native/memory64 source compilation and focused regressions against that integrated head before I can approve. I did not run Emscripten or Node tests locally.
MarcZX10 commented 2026-10-29 09:05:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T09:05:43Z.

Review: CHANGES_REQUESTED


Re-check — changes requested\n\nThe refreshed validation on exact head d5ba05c0f4035d306b5a839c9c506393e03bd53a is substantial: the author reports 18 native and memory64 translation units compiled, native long-double 1/1, Node regressions 2/2, and the CPU-only VideoOut policy comparison passing on both main and the change. The branch is based on current main aaccd0ba39, and the report clearly distinguishes the maintainer-dispatched full native suites and GPU rendering that were not run.\n\nOne repository coordination blocker remains, and the PR body confirms it is unresolved: #12514 changes the same %Lf store in ScanningWide.cpp and reports a 10-byte store with preserved padding/NaN normalization, while this PR's GuestLongDoubleStore writes 16 bytes. The proposed order is #11341 first, but #12514's author has not confirmed it and the checklist still says Depends on: none. Please confirm the order with that author, record Depends on #12514 only if this PR must follow it (otherwise record the agreed order on both PRs), and resolve the 10-byte interaction before landing. No combined behavior has been tested. I did not independently run the author-reported builds or Node tests.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5695207015 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11341#pullrequestreview-5695207015). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T09:05:43Z. **Review:** CHANGES_REQUESTED --- ## Re-check — changes requested\n\nThe refreshed validation on exact head d5ba05c0f4035d306b5a839c9c506393e03bd53a is substantial: the author reports 18 native and memory64 translation units compiled, native long-double 1/1, Node regressions 2/2, and the CPU-only VideoOut policy comparison passing on both main and the change. The branch is based on current main aaccd0ba39, and the report clearly distinguishes the maintainer-dispatched full native suites and GPU rendering that were not run.\n\nOne repository coordination blocker remains, and the PR body confirms it is unresolved: #12514 changes the same %Lf store in ScanningWide.cpp and reports a 10-byte store with preserved padding/NaN normalization, while this PR's GuestLongDoubleStore writes 16 bytes. The proposed order is #11341 first, but #12514's author has not confirmed it and the checklist still says Depends on: none. Please confirm the order with that author, record Depends on #12514 only if this PR must follow it (otherwise record the agreed order on both PRs), and resolve the 10-byte interaction before landing. No combined behavior has been tested. I did not independently run the author-reported builds or Node tests.
MarcZX10 commented 2026-10-29 13:40:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T13:40:04Z.

Review: CHANGES_REQUESTED


Re-checked — new head, changes requested

The branch has advanced, but its test report still names the older head and the required landing order with the overlapping #12514 remains unconfirmed.

What I ran

  • Reviewed head 5f2d45501d2acb9b7407df37f7842ac39d8f427b against current main dfcc0e17cb254d08fec9ec120e362620795d59a0; the merge preview is clean.
  • Checked the branch distance: it is 37 commits behind and 6 ahead of current main.
  • Compared current-main changes since the PR's integrated main 7aabd03d0a32bb928311ef1323b95dffb4618f7e; Process.cpp and docs/dev/debt/libkernel.md overlap this PR.
  • Ran git diff --check upstream/main...refs/remotes/review/pr-11341; it passed with no output.
  • Read the current Tested section and exact-head hosted checks. I did not run a native or Emscripten build locally.
git merge-tree --write-tree upstream/main refs/remotes/review/pr-11341
git rev-list --left-right --count upstream/main...refs/remotes/review/pr-11341
git diff --name-only 7aabd03d0a32bb928311ef1323b95dffb4618f7e upstream/main
git diff --check upstream/main...refs/remotes/review/pr-11341
gh pr checks 11341 -R boykopovar/AnyPS5

Results

Check Result
Merge preview against current main Pass; clean tree d4014a7a4ed1d5220dca5debd46ef0089663d896
Branch distance 37 behind / 6 ahead
Diff check Pass; no output
Current-main changes overlapping this PR core/libs/prx/libkernel/System/src/Process.cpp; docs/dev/debt/libkernel.md
Tested-section head Still says d5ba05c0f4035d306b5a839c9c506393e03bd53a, not the reviewed 5f2d45501d2acb9b7407df37f7842ac39d8f427b
Hosted conventions, eligibility, labels, portability, and report Pending
Unedited command output
d4014a7a4ed1d5220dca5debd46ef0089663d896
37	6
core/libs/prx/libkernel/System/src/Process.cpp
docs/dev/debt/libkernel.md
conventions	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/40882774691/job/123478414631
eligibility	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/40882780480/job/123478432352
labels	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/40882774743/job/123478414774
library-portability	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/40882780502/job/123478432302
report	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/40882780516/job/123478431998

Negative control

Assertion Change made to code under test New test failed?
The native and Emscripten portability regressions distinguish this head from main None Could not exercise; the reported runs target d5ba05c0f4035d306b5a839c9c506393e03bd53a

Findings

Blocking

  • Current-main integration and test evidence: the PR is 37 commits behind current main; two touched paths changed since the integrated base, while the Tested section names an older head and the portability CI for this head is pending. Please integrate current main and rerun the native and memory64 portability tests on the exact updated head.
  • Unconfirmed overlap order: the PR changes the same %Lf store in ScanningWide.cpp as #12514, and its own Tested section says the proposed order is not confirmed. The current contribution rules require the authors to agree an order and declare it with Depends on. Please confirm the order with #12514's author and update the checklist.

Non-blocking

The merge preview is clean. The body accurately distinguishes the earlier test results from validation still pending on this head.

Sources

Not verified

I did not build native or Emscripten targets, run Node tests, or run host, browser, title, or console execution on this head.

To get this to a good state

Rebase onto current main, rerun native and memory64 portability tests on the resulting head, and record the author-agreed #12514 order in Depends on; I will repeat the same checks on that head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5698630237 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11341#pullrequestreview-5698630237). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T13:40:04Z. **Review:** CHANGES_REQUESTED --- # Re-checked — new head, changes requested The branch has advanced, but its test report still names the older head and the required landing order with the overlapping #12514 remains unconfirmed. ## What I ran - Reviewed head `5f2d45501d2acb9b7407df37f7842ac39d8f427b` against current `main` `dfcc0e17cb254d08fec9ec120e362620795d59a0`; the merge preview is clean. - Checked the branch distance: it is 37 commits behind and 6 ahead of current `main`. - Compared current-main changes since the PR's integrated main `7aabd03d0a32bb928311ef1323b95dffb4618f7e`; `Process.cpp` and `docs/dev/debt/libkernel.md` overlap this PR. - Ran `git diff --check upstream/main...refs/remotes/review/pr-11341`; it passed with no output. - Read the current Tested section and exact-head hosted checks. I did not run a native or Emscripten build locally. ```sh git merge-tree --write-tree upstream/main refs/remotes/review/pr-11341 git rev-list --left-right --count upstream/main...refs/remotes/review/pr-11341 git diff --name-only 7aabd03d0a32bb928311ef1323b95dffb4618f7e upstream/main git diff --check upstream/main...refs/remotes/review/pr-11341 gh pr checks 11341 -R boykopovar/AnyPS5 ``` ## Results | Check | Result | |---|---| | Merge preview against current `main` | Pass; clean tree `d4014a7a4ed1d5220dca5debd46ef0089663d896` | | Branch distance | 37 behind / 6 ahead | | Diff check | Pass; no output | | Current-main changes overlapping this PR | `core/libs/prx/libkernel/System/src/Process.cpp`; `docs/dev/debt/libkernel.md` | | Tested-section head | Still says `d5ba05c0f4035d306b5a839c9c506393e03bd53a`, not the reviewed `5f2d45501d2acb9b7407df37f7842ac39d8f427b` | | Hosted conventions, eligibility, labels, portability, and report | Pending | <details><summary>Unedited command output</summary> ```text d4014a7a4ed1d5220dca5debd46ef0089663d896 37 6 core/libs/prx/libkernel/System/src/Process.cpp docs/dev/debt/libkernel.md conventions pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/40882774691/job/123478414631 eligibility pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/40882780480/job/123478432352 labels pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/40882774743/job/123478414774 library-portability pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/40882780502/job/123478432302 report pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/40882780516/job/123478431998 ``` </details> ## Negative control | Assertion | Change made to code under test | New test failed? | |---|---|---| | The native and Emscripten portability regressions distinguish this head from main | None | Could not exercise; the reported runs target `d5ba05c0f4035d306b5a839c9c506393e03bd53a` | ## Findings ### Blocking - **Current-main integration and test evidence:** the PR is 37 commits behind current `main`; two touched paths changed since the integrated base, while the Tested section names an older head and the portability CI for this head is pending. Please integrate current `main` and rerun the native and memory64 portability tests on the exact updated head. - **Unconfirmed overlap order:** the PR changes the same `%Lf` store in `ScanningWide.cpp` as #12514, and its own Tested section says the proposed order is not confirmed. The current contribution rules require the authors to agree an order and declare it with `Depends on`. Please confirm the order with #12514's author and update the checklist. ### Non-blocking The merge preview is clean. The body accurately distinguishes the earlier test results from validation still pending on this head. ## Sources - [Current contribution rules at main `dfcc0e17`](https://github.com/boykopovar/AnyPS5/blob/dfcc0e17cb254d08fec9ec120e362620795d59a0/CONTRIBUTING.md) - [The overlapping `%Lf` implementation at reviewed head](https://github.com/boykopovar/AnyPS5/blob/5f2d45501d2acb9b7407df37f7842ac39d8f427b/core/libs/prx/libc/src/ScanningWide.cpp) - [PR's current tested section and stated #12514 order](https://github.com/boykopovar/AnyPS5/pull/11341) ## Not verified I did not build native or Emscripten targets, run Node tests, or run host, browser, title, or console execution on this head. ## To get this to a good state Rebase onto current `main`, rerun native and memory64 portability tests on the resulting head, and record the author-agreed #12514 order in `Depends on`; I will repeat the same checks on that head.
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!11341
No description provided.