mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:00:52 +01:00
[PR #1147] runtime: link the fixtures with no base relocations with /INCREMENTAL:NO (OLD-10053 / BUILD-1550) #1180
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#1180
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/1147
Author: @ambroseautomation
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:carry/old-10053-incremental-no📝 Commits (1)
55aaab4runtime: link the fixtures with no base relocations with /INCREMENTAL:NO (BUILD-1550)📊 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
Claimed in the coordination issue as: OLD-10053 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7141743369)
What and why
Carries forward
old-pr/10053(draft #319, original commit authorQemmHDpreserved; indexed in #17; BUILD-1550), rebased cleanly onto currentmain.Fixes clean Debug / RelWithDebInfo CMake+Ninja builds on Visual Studio 2026 18.6 (MSVC linker
14.51), which crashes withmanifest.res : fatal error LNK1000: Internal error during IncrCalcPtrson incremental relinks of images that have no base relocations:/INCREMENTAL:NOto the four relocation-less runtime test fixtures inruntime/CMakeLists.txt(tiny_game_fixed,tiny_tls_cb_only,dll_thread_calls,gameinput_host).tests/test_runtime_incremental_link.pyto verify that every/FIXEDor/NODEFAULTLIBtarget inruntime/CMakeLists.txtspecifies/INCREMENTAL:NO.Tested
python -I tests/test_runtime_incremental_link.py -v: 2 tests, OK.python -I scripts/check_no_game_data.py runtime/CMakeLists.txt tests/test_runtime_incremental_link.py: exit 0 (no game data).GPUs tested: n/a (CMake linker configuration + Python stdlib regression test on Windows 11 Pro 64-bit, Python 3.12.10)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a — CMake runtime build fix)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.