fix(cmake): link MinGW spirv validator exit test runtime #7733
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7733"
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 MarcZX10 on 2026-10-19T04:32:39Z.
What
Link the MinGW DWARF unwind runtime into
spirv_validator_exit_testsand add its directory to the test PATH. This fixes the Windows linker error for__gxx_personality_v0and makes the runtime available when CTest launches the test.Tested
Linux x86_64: configured with
BUILD_TESTING=ONandANYPS5_ENABLE_SPIRV_TOOLS=ON; target build is still running. The available Linux environment cannot validate the MinGW-specific link or Windows execution.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 Amoenus on 2026-10-19T04:48:18Z.
Windows validation for this fix:
676d423968a1a8fcc79c6247020ce22090a8e0d4reproduces the__gxx_personality_v0link failure inspirv_validator_exit_tests.f7cef866290e86b0974eaebaea58664732402903and my independently tested local commitbb5a5333eeb60e91e838477d091ebc7f88dad855have the same complete Git tree,c9b70428ea37086595b800a0d102ad909a0642d4(git diffis empty). The evidence below was collected atbb5a5333, not by rebuilding your differently identified commit.BUILD_TESTING=ON,ANYPS5_ENABLE_SPIRV_TOOLS=ON, bundled dependencies, supported WinLibs GCC 15.2.0 r7, Windows 11 Enterprise 26200.spirv_validator_exit,windows_exceptions,unwind_record_boundsandpatched_libraries, each repeated three times: 12 passes. The validator reportsfunction=1 phi=1 invalidRejected=1both normally and at process exit on every run.agc_driver_f16_to_f32_unpack, three runs on each physical GPU: 6 passes, with device selection and Khronos validation confirmed in the logs. NVIDIA RTX 5080 / 610.62 and AMD Radeon(TM) Graphics / 32.0.21036.18, same Windows installation. No Vulkan validation messages or skips.21 targeted passes total, each under 2 seconds. Commands use
ctest --test-dir build -V -j1 --repeat until-fail:3 --timeout 30 -R '^TEST_NAME$'. This is targeted validation, not a complete CTest suite, Linux validation or a new game result.Thanks for taking #7732. Your commit is also preserved, with its authorship, on our validation fork branch. This supplies the Windows coverage missing from the description. AI-assisted investigation and validation: Codex.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T05:00:19Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CMakeLists.txtcore/shader/recompiler/CMakeLists.txt