mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:35:53 +01:00
[PR #2215] runtime: link no-relocation fixtures without incremental linking #2219
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2219
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2215
Author: @whoalin1
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:runtime-incremental-no-reloc-fixtures📝 Commits (1)
e895ccaruntime: link no-relocation fixtures without incremental linking📊 Changes
2 files changed (+55 additions, -4 deletions)
View changed files
📝
runtime/CMakeLists.txt(+9 -4)➕
tests/test_runtime_incremental_link.py(+46 -0)📄 Description
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.