fix(agent): a refused Windows link puts the builder's own words about it in the report #163
No reviewers
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!163
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:fix/windows-link-buildlog"
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?
nightly-280's probe (rp_36c1dbf3c7ca16c5 windows+nvidia, rp_b8b95e16ee1c1496 windows+amd) answers part of it, and two things are now known:
CCC_OVERRIDE_OPTIONS(andCOMPILER_PATH,LIBRARY_PATH,CPATH,SDKROOT…) from every compiler and linker run it makes (build-compile/src/toolchain.rs,UNKEYED_ENV/clang(): "an object is made from its flags alone"). So #161's--ld-pathand the older-Bnever reached the game's link: the agent's override only works for what is not the builder's. (The compile never needed it: clang's compile is in-process by default.)clang.exefrom the probe, from the work drive, works (spawn compile-plain exit 0,link-no-canonical exit 0,lld --version exit 0; clang plansld.lld.exeon the drive:Z:\builder\...\ld.lld.exe). So the sandbox can start lld from the drive. The builder's link fails differently, and the report's tail (the objects) has only "<data>/builder/tools/tools/llvm-mingw/bin/ld.lld: Permission denied,clang-23: error: linker command failed".Not guessing a fourth time: when the main base's link is refused, the agent now reads the builder's own
build.log(its link command and linker output, the lines that mention lld, clang, link, Permission, denied; the last 40, 400 characters each; never a line of the game's code, whichRememberalready drops) and puts them at the end of the log the report carries (@@buildlog …). Nothing else changes.Not built or run here (this PC's rules).
🤖 Generated with Claude Code