fix(linux): resolve loader and APR failures exposed by HFW #1616
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1616"
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 tototomate123 on 2026-10-08T14:58:11Z.
Superseded by six topic PRs: relinker #2785, loader #2786, filesystem #2787, http #2788, apr #2789, shader #2790.
What
Fix Linux loader and APR failures found while bringing up Horizon Forbidden West (PPSA01521), with each fix in a separate commit:
sceKernelDlsym.sceKernelFutimeswhile preserving POSIX futimes behavior.The integration build reaches menu/loading UI using these fixes plus local equivalents of #1269 (media), #1339 (VRR), #1586 (unwind) and experimental image-table changes. Missing imports are already merged in #1436. The open #757 => #758 => #920 image-table series overlaps those experiments and should be tested as well; its code is excluded here. Loading still stops at a bounded material-scan limit; gameplay is not reached.
Tested
Linux x86-64, GCC 16.2.1, Release: native libraries and relinker build; all six targeted checks pass (ELF exports, dynamic loader, filesystem, HTTP, APR and shader memory, including signed-min boundary cases). Conventions and whitespace checks pass. The integration ELF was rebuilt on the new main; this smaller branch alone has not been game-tested.
Checklist
29e533ac); matching open-PR implementations excludedImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T15:07:22Z.
Progress report (
4b005b2→106e057)📈 System libraries: 84.8% (+0.04%, +2 implemented functions)
✅ 2 implemented
sceHttpSetRequestStatusCallbacksceKernelFutimesImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-09T21:17:06Z.
Review: CHANGES_REQUESTED
Thanks for the bring-up work. This needs splitting before it can land. CONTRIBUTING asks for one topic per PR, and this one carries six independent changes:
DT_HASH/DT_DEBUG, executable exports (+test_linux_executable_exports.py)sceKernelDlsymon the main modulesceKernelFutimessceHttpSetRequestStatusCallbackSMin32in the SRT evaluatorPlease open one PR per topic (the commits are already separated), each with its own What/Tested, and list the HFW integration dependencies under Depends on. Also, per PR:
conventionsfails:core/libs/tests/GuestDynamicLoader.cpp:22uses__declspec; use an existing export mechanism or a plainextern "C"definition.mainincore/libs/tests/GuestHttp.cppanddocs/dev/TechnicalDebt.md; rebase. Put the TechnicalDebt line away from the end of the section and from other PRs' lines.Apr::Opcode::CompactReadFileGather = 29, 40-bit offset) are justified only by HFW behaviour. Say where each field order comes from (reference or call-site evidence), and keep the comment that the command encoding is ours.0x80431100for an invalid id has no cited source; record it under "Unknown function info" or cite one.Imported from boykopovar/AnyPS5. Originally posted by tototomate123 on 2026-10-10T15:04:31Z.
@adriadam10 Thanks for the review, Ive split this into #2785-#2790, rebased on current main, and addressed the export, APR evidence/encoding and HTTP documentation feedback. The intake bot automatically closed all six replacements; could you reopen them for review?
Pull request closed