Repository navigation
Conversation
lixonik
left a comment
There was a problem hiding this comment.
Independent native RelWithDebInfo / Ninja check on MSVC 19.44: both Python tests passed. All four PE fixtures built, then relinked successfully after their object timestamps changed. Each generated link command ends its incremental-link flags with /INCREMENTAL:NO, and none produced an .ilk file. This exercises the actual fixture link rules on 19.44. AI-assisted.
|
Independent verification of head Machine: profile M (RTX 4070 SUPER 12 GB desktop, NVIDIA 621.01, Windows 11 Pro 26300, Ryzen 7 9800X3D), MSVC 14.52 (VS 2026, MSBuild generator), RelWithDebInfo, Tests:
Limits: my linker is MSVC 14.52 with the MSBuild generator, not 14.51 with Ninja, so I could not reproduce the Small point: the PR body says the linker was fixed in VS 2026 18.6, but the new CMake comment says 18.6 crashes and it was "Fixed in VS 2026 18.7". One of them should change. Full suite: this PR was tested together with #2173, #2152, #2170 and #2215 (they touch separate code) merged into AI-assisted (Claude Code). |
Summary
/INCREMENTAL:NOwhen linking fixture images that have no base relocations (/FIXEDor/NODEFAULTLIB)tiny_game_fixed,tiny_tls_cb_only,dll_thread_calls, andgameinput_hostItem: BUILD-INCREMENTAL-NO-RELOC-FIXTURES
This carries forward the still-uncarried fix in old-pr/10053, originally written by wavehs, reapplied and verified on current main. The original report measured MSVC 14.51.35927 crashing with
LNK1000inIncrCalcPtrson the default incremental relink of images with no base-relocation table; Microsoft fixed the linker itself in Visual Studio 2026 18.6, but non-incremental links are also correct for these fixtures.Tests
Under the local machine coordination lock:
runtime/CMakeLists.txt, finding all four vulnerable targetspython -I tests/test_runtime_incremental_link.py— 2 tests, OKpython -m compileall -q tests/test_runtime_incremental_link.py— passgit diff --cached --check— passNo game files or GPU.
AI-assisted with Devin.