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). |
|
Independent verification on Windows 11 (
AI-assisted. |
|
Tested Blocker: its own test fails once merged with current
AI-assisted (Claude Code). |
timbot103
left a comment
There was a problem hiding this comment.
Static audit of e895cca95 against main b6bf3aa0b. No builds, tests, or GPU runs were performed.
Merge blocker. Main added fixed_base_probe at runtime/CMakeLists.txt:1484 with /FIXED /DYNAMICBASE:NO and /NODEFAULTLIB. The four edits leave that call without /INCREMENTAL:NO, so the new source check at tests/test_runtime_incremental_link.py:36 will fail with ['fixed_base_probe'] when the standard-library CI sweep runs on the merged tree. Please add /INCREMENTAL:NO to the existing fixed_base_probe link options.
The four edited calls in runtime/CMakeLists.txt add the switch unconditionally, overriding the MSVC Debug and RelWithDebInfo incremental defaults and matching the Release default. The existing Windows runtime guard covers the clang-cl/lld-link Windows cross-build and excludes native Linux, native macOS, and the documented MinGW tools-only build.
AI-assisted.
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.