You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(build): link draw trace test to Windows unwind runtime - #6267
I reproduced a linker failure on clean main db81992c554f1b395b4c04987cfbdc316a03d69b with the supported MinGW-w64 GCC 15.2.0. The agc_driver_draw_program_trace_tests target introduced by #5238 has unresolved __gxx_personality_v0 references, which also stops the full Windows build.
The library build selects DWARF exceptions globally through -fno-asynchronous-unwind-tables. On MinGW, I link this standalone test to the existing libc unwind runtime and add its directory to the CTest loader path, following the nearby AGC test targets. The executable now imports __gxx_personality_v0, __cxa_throw and __cxa_begin_catch from libc.prx and retains its configured .ehfram section. The existing formatter test runs successfully with a reduced PATH containing only MinGW and Windows system directories.
I checked the current open PR inventory, full file lists for the large branches and exact CMake diffs of 87 shared branches. None has the new formatter target or changes its global DWARF setup. I manually compared the target with the unwind helper and nearby tests, #5431's independent capture-trace tests, #6044's registration changes, and #5238's current discussion. No open PR owns this build fix.
Tested
Windows 11 Pro 10.0.26300, supported WinLibs MinGW-w64 GCC 15.2.0, Release. Clean-main target build reproduced the unresolved personality symbol; the fixed target builds and its existing CTest passes.
Full Windows build passed, including system libraries and NID patching.
Six CTest entries passed, no skips: formatter, Windows exceptions, unwind-record bounds, patched libraries, AGC driver submissions and AGC graphics. The batch took 9.48 seconds; longest test 4.58 seconds.
GPU tests used ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 on NVIDIA GeForce RTX 4070 Ti SUPER, driver 617.14 (Windows 32.0.16.1714), Windows 11 Pro 10.0.26300.
Test registration audit and whitespace check passed. Existing test timeout remains 20 seconds.
Limits: no Linux runtime, other GPU vendor or retail title run. Full hosted Windows/Linux builds require collaborator dispatch under CONTRIBUTING.md; skipped jobs are not passes.
Checklist
Based on current main; no other open PR implements the same functions
Independent post-merge Windows validation at main c0be1f69bc04c2ec4ba2b79919d89cdc41509084: full application and libs builds pass. agc_driver_draw_program_trace, agc_tessellation_factor_ring, agc_pass_hazards and agc_dcc_key_sharing pass five times each, no failures/skips; maximum 0.02s, timeout20s. Tests run with PATH reduced to the supported MinGW toolchain and Windows directories; the CTest environment finds unpatched libc as intended. Conventions pass.
Windows11 Enterprise26200, WinLibs GCC15.2.0 r7, Release/BUILD_TESTING=ON, bundled dependencies. The original unresolved __gxx_personality_v0 failure was independently reproduced on unchanged db81992 before this merged fix. Our concurrent local candidate is superseded by this PR; these passing results use your actual merged main. CPU-only: no GPU/title/full-suite or Linux claim. AI-assisted: Codex.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
I reproduced a linker failure on clean main
db81992c554f1b395b4c04987cfbdc316a03d69bwith the supported MinGW-w64 GCC 15.2.0. Theagc_driver_draw_program_trace_teststarget introduced by #5238 has unresolved__gxx_personality_v0references, which also stops the full Windows build.The library build selects DWARF exceptions globally through
-fno-asynchronous-unwind-tables. On MinGW, I link this standalone test to the existinglibcunwind runtime and add its directory to the CTest loader path, following the nearby AGC test targets. The executable now imports__gxx_personality_v0,__cxa_throwand__cxa_begin_catchfromlibc.prxand retains its configured.ehframsection. The existing formatter test runs successfully with a reduced PATH containing only MinGW and Windows system directories.I checked the current open PR inventory, full file lists for the large branches and exact CMake diffs of 87 shared branches. None has the new formatter target or changes its global DWARF setup. I manually compared the target with the unwind helper and nearby tests, #5431's independent capture-trace tests, #6044's registration changes, and #5238's current discussion. No open PR owns this build fix.
Tested
ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1on NVIDIA GeForce RTX 4070 Ti SUPER, driver 617.14 (Windows 32.0.16.1714), Windows 11 Pro 10.0.26300.Limits: no Linux runtime, other GPU vendor or retail title run. Full hosted Windows/Linux builds require collaborator dispatch under
CONTRIBUTING.md; skipped jobs are not passes.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)