fix(net): provide IPv6 link-local all-nodes address #1808

Closed
eliasbruno124-dev wants to merge 1 commit from upstream-pr/1808 into main
eliasbruno124-dev commented 2026-10-08 19:55:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by eliasbruno124-dev on 2026-10-08T19:55:41Z.


What

Onimusha 2 (PPSA27836, 01.000.001) imports 84MgU4MMTLQ from libSceNet: the IPv6 link-local all-nodes address object, sce_net_in6addr_linklocal_allnodes. Its absence prevents that import from binding.

Provide the 16-byte ff02::1 constant with four-byte alignment, following the existing unspecified-address object. The address is defined by RFC 4291 section 2.7.1. The original caller reads all 16 bytes. The regression compares the object with sceNetInetPton output, formats it with sceNetInetNtop, checks the output bound and parses the result back.

Tested

Windows 11, MinGW-w64 GCC 15.2.0, Release, commit 78dbe3783fe52ad72b8f606bbadb7988b480e5ad on main b858fdc48e29c3ab7476782199d8a41999d46d59: complete runtime/relinker build (115 runtime libraries), all 4 selected runtime groups (guest_sce_net, guest_kernel_errors, guest_filesystem, guest_memory) and all 34 registered relinker groups pass without skips. Conventions and git diff --check pass. No Linux execution locally. The unchanged tls_function_coverage test passed in 43.68 seconds locally; this does not establish the project's 30-second CI timing requirement.

Upstream CI at this exact head passes the Linux and Windows full builds/tests. The separate relinker-only job is skipped by the workflow's path filter.

Earlier full-runtime comparison on main 4b005b22, candidate ac364cca: the identical test object fails to link before the change and passes after it. An isolated original-title routine passes 160 native cases. Inspecting all 896 unique original import queries shows exactly one new binding, reducing unresolved queries from 35 to 34. This is historical evidence for the same two-file patch, not a whole-title run on the final revision. Unrelated missing imports remain; no menu, gameplay or performance claim.

Reviewed open Net PRs #1119, #1287, #1502, #1588 and #1786; none implements this object. Local merge checks are clean except #1287's existing TechnicalDebt.md conflict with main, which has identical conflict blobs with this candidate. No unmerged PR is required.

Overlap rechecked on October 9 against main f1451396: this branch merges cleanly with main. #2001 removes neighboring address objects and networking tests; combining it with this branch produces conflicts in the export and test files. It does not provide this all-nodes object and is not included or required. Whichever branch lands later needs conflict resolution.

Checklist

  • Based on pinned current main; no inspected open PR implements the same object
  • One topic per PR
  • No code comments added
  • No silent stubs or removed failures
  • No investigation files, proprietary inputs or images in the repository
  • No new third-party code
  • Generic behavior
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4792077598 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1808). Originally posted by [eliasbruno124-dev](https://github.com/eliasbruno124-dev) on 2026-10-08T19:55:41Z. --- ### What Onimusha 2 (PPSA27836, 01.000.001) imports `84MgU4MMTLQ` from `libSceNet`: the IPv6 link-local all-nodes address object, `sce_net_in6addr_linklocal_allnodes`. Its absence prevents that import from binding. Provide the 16-byte `ff02::1` constant with four-byte alignment, following the existing unspecified-address object. The address is defined by [RFC 4291 section 2.7.1](https://www.rfc-editor.org/rfc/rfc4291#section-2.7.1). The original caller reads all 16 bytes. The regression compares the object with `sceNetInetPton` output, formats it with `sceNetInetNtop`, checks the output bound and parses the result back. ### Tested Windows 11, MinGW-w64 GCC 15.2.0, Release, commit `78dbe3783fe52ad72b8f606bbadb7988b480e5ad` on main `b858fdc48e29c3ab7476782199d8a41999d46d59`: complete runtime/relinker build (115 runtime libraries), all 4 selected runtime groups (`guest_sce_net`, `guest_kernel_errors`, `guest_filesystem`, `guest_memory`) and all 34 registered relinker groups pass without skips. Conventions and `git diff --check` pass. No Linux execution locally. The unchanged `tls_function_coverage` test passed in 43.68 seconds locally; this does not establish the project's 30-second CI timing requirement. [Upstream CI at this exact head](https://github.com/boykopovar/AnyPS5/actions/runs/37835618531) passes the Linux and Windows full builds/tests. The separate relinker-only job is skipped by the workflow's path filter. Earlier full-runtime comparison on main `4b005b22`, candidate `ac364cca`: the identical test object fails to link before the change and passes after it. An isolated original-title routine passes 160 native cases. Inspecting all 896 unique original import queries shows exactly one new binding, reducing unresolved queries from 35 to 34. This is historical evidence for the same two-file patch, not a whole-title run on the final revision. Unrelated missing imports remain; no menu, gameplay or performance claim. Reviewed open Net PRs #1119, #1287, #1502, #1588 and #1786; none implements this object. Local merge checks are clean except #1287's existing TechnicalDebt.md conflict with main, which has identical conflict blobs with this candidate. No unmerged PR is required. Overlap rechecked on October 9 against main `f1451396`: this branch merges cleanly with main. #2001 removes neighboring address objects and networking tests; combining it with this branch produces conflicts in the export and test files. It does not provide this all-nodes object and is not included or required. Whichever branch lands later needs conflict resolution. ### Checklist - [x] Based on pinned current main; no inspected open PR implements the same object - [x] One topic per PR - [x] No code comments added - [x] No silent stubs or removed failures - [x] No investigation files, proprietary inputs or images in the repository - [x] No new third-party code - [x] Generic behavior - [x] Depends on: none - [x] AI-assisted: yes
oneandonlydean commented 2026-10-09 08:56:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:56:35Z.


Closing: Onimusha 2 still has 34 other unresolved imports, so it doesn't get further with this one. Please reopen when it's the title's next stop on main.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6077731730 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1808#issuecomment-6077731730). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-09T08:56:35Z. --- Closing: Onimusha 2 still has 34 other unresolved imports, so it doesn't get further with this one. Please reopen when it's the title's next stop on main.

Pull request closed

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!1808
No description provided.