Repository navigation
feat(relinker): strict sce module search - #2708
Conversation
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
|
Follow-up from issue #2663 and current relinker checksI traced the new I also checked the failures on this PR head. The same five relinker tests fail on Linux, Windows, and macOS:
The latest relinker matrix reports these failures on all three OSes (run 38049698989). Conventions also still fails on the PR head: run 38049712502 reports the unchecked “Based on current The scoped module-root approach looks relevant to #2663, but the current head needs the existing test suite reconciled with the new discovery contract before its results establish that the change is ready. |
|
Checked this head (f756225) against a synthetic reproducer of #2663: an executable that needs a library the title does not bundle, plus Details and the reproducer cases are in #2663. If nested discovery is kept after all, AI-assisted: yes |
Update after the author clarified the intended discovery contractI saw the updated PR description: recursive discovery is intentionally removed, with The narrower #2663 change still provides a useful comparison for reviewers: excluding
The broader module-root change now has the intended behavior documented and its eligible CI checks pass. The full Linux/Windows Build still needs the collaborator-triggered run described in |
|
The decision to abandon recursive search is intentional. I want the behavior to be consistent every time. I'm currently fixing the tests; their failure is expected. |
What
Add
--sce-module-pathfor the parent directory of bundled modules. Default to the input ELF directory. Resolve explicit relative paths from the working directory. Reject combination with--skip-sce-module. Document path resolution.The removal of recursive search is intentional. We want the behavior to be consistent every time, instead of trying to find missing files elsewhere. I'm currently fixing the tests; their failure is expected.
Tested
Windows: relinker build, DS
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in [TechnicalDebt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/TechnicalDebt.md#silent-stubs).mdfiles or images added to the repository