build(libs): support Emscripten memory64 compilation #9092
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9092"
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 SteelCrab on 2026-10-21T12:06:52Z.
What
Superseded by #11341, which carries the current-main rebase, expanded native/memory64 source compilation and current validation. This PR retains the earlier review snapshot and will stay closed.
Make shared system-library sources compile with Emscripten memory64, including guest memory, file/process interfaces, ABI declarations and x87 guest long-double storage. Unsupported paths throw and libc limitations are recorded in
docs/dev/debt/libc.md.The historical Tested section below records the previous rebase and its results. Current main compatibility and validation are tracked in #11341.
Extracted prerequisite of #6879.
Depends onrecords the agreed staging order. NoGuestBesselSecondKindZerocorrection, Bessel regression or debt removal is included; #8864 remains separate.Historical tested source: earlier branch diff. GitHub rejected reopening after the branch history changed; #11341 provides the active diff.
Tested
Ubuntu 26.04.1 x86-64, GCC 15.2, Emscripten 6.0.12, Node 26.12.0. Rebased onto main
a6646f8464140180351e4c08694dccdd55b2814d; tested headf39e532e3e.core/libs/tests/emscriptenRelease build andguest_long_double: 1/1 passed.guest_long_doubleunder Node 26: 1/1 passed, covering signed zeros, normal/subnormal values, infinity and NaN round trips.video_out_output_mode_policy, compiled from main and this branch'sOutput.cpp: 1/1 passed on each. These focused tests are CPU-only. Both verbose CTest runs usedANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation; neither log reports a missing validation layer or aVUID-error.python3 tools/check_conventions.py --base origin/mainand the complete PR-template check passed locally. Merge check against the tested main is clean; range-diff confirms only the debt-entry context changed while rebasing the portability commits.CI coverage: Emscripten library portability /
library-portabilitybuilds the memory64 source target and runs the native/Node conversion tests. Maintainer-triggered Build /linuxandwindowscover full native libraries and the VideoOut regression. No remote build result is claimed for the rebased head. Full native-library suites, Windows and browser rendering were not run locally.This PR remains closed and is superseded by #11341; #10017 has merged. The earlier Emscripten run expired awaiting approval before executing any jobs. There are no remote check runs for the updated source commit; the results above are local.
Checklist
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 (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T12:07:13Z.
Thank you for your contribution! Authors with no pull requests merged into
maincan have 1 open pull request at a time, authors with at least 1 merged can have 20, and from 20 merged there is no limit. This PR has been automatically closed and labeled "open PR limit" because that limit was reached. This is not a judgment of the quality of your changes: reopen it once one of your open pull requests is merged or closed.Pull request closed