build(zlib): update to 1.4 and use it for libSceZlib #24048
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/24048"
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 akaydesu on 2026-11-20T02:13:42Z.
What
Update the bundled zlib from 1.3.2 to 1.4. Link
libSceZlibdirectly tozlibstaticso it uses the updated library for decompression. The module previously used the private zlib copy inside libjpeg-turbo.Keep zlib symbols out of the module's exports on MinGW and Linux.
Tested
Windows 11 x64, MinGW GCC 15.2.0, Release. All 11 focused AnyPS5 tests passed across libSceZlib, WebKit zlib and gzip, PNG encoding and decoding, and Cairo PNG. All 18 tests in zlib 1.4's own suite passed. Built the NID-patched libSceZlib module. No game run.
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 MarcZX10 on 2026-11-20T10:13:08Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this change; the points below are optional.
What I ran
Reviewed head
7523a6dfb19a10e98a221bdb03cee22df97ad2f3. I read the prepared description, commit summary, manifest and diff, then inspected the changed CMake file and the shared zlib setup and comparable PNG/WebKit link configuration throughrepo_read.py. I ran no build or tests; the test results in the description are author-reported.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The full text of the changed
3rdparty/zlibsubmodule was excluded from the review bundle and was not read. The CMake change links the existingzlibstatictarget, and its target configuration was inspected, but the updated upstream submodule contents and its own 18-test result were not independently verified. No build, AnyPS5 test suite, module build, or PS5 game run was performed. The only full changed file read wascore/libs/prx/libSceZlib/CMakeLists.txt; the manifest lists both changed paths as reviewed.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T12:18:38Z.
Review: COMMENTED
Built zlib from the exact pinned 1.4 commit and linked the PR’s
libSceZlibsources to it on Linux.GuestZlibandGuestZlibWindowpassed, including 24 distance, overlap, and output-capacity cases. This run used standalone fixtures with the existing libc and libkernel libraries.AI-assisted: yes.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.