fix(agent): a Windows game link that is refused says which way of starting lld works #162

Merged
HumanBean merged 1 commit from HumanBean/Beanstalk:fix/windows-link-probe into main 2026-11-28 11:58:46 +00:00
Owner

nightly-279 (with #161's --ld-path) still stops at the game's link on both Windows reports of a manual run (rp_7560ced054f6fbd7 windows+nvidia, rp_683ad9918bc64159 windows+amd): <data>/builder/tools/tools/llvm-mingw/bin/ld.lld: Permission denied, then clang-23: error: linker command failed with exit code 1. So lld is started, and LLVM's start in it is refused: the same Longshot #910 as before, now for the linker. The report does not say whether clang started lld from the real folder (-B and --ld-path not honored, or not applied in the builder's own run of clang) or from the drive (and lld's own start is refused for another reason), and the log it carries ends far below the probe's lines. I would rather not guess a third fix.

This makes the next report say:

  • the probe (SpawnProbe) also runs ld.lld.exe --version, prints the link command clang would run (-###, last two lines), and links with a real -no-canonical-prefixes argument, with and without --ld-path (docs/windows-clang.md: the argument that passes where the environment override fails);
  • when the main base's link is refused ("Permission denied"), the probe runs again, so its lines are the end of the log the report carries.

Nothing else changes: no change for Linux, and no change for a build that links.

Not built or run here (this PC's rules); the Python of the probe compiles (checked by compiling the unescaped string).

🤖 Generated with Claude Code

nightly-279 (with #161's `--ld-path`) still stops at the game's link on both Windows reports of a manual run (rp_7560ced054f6fbd7 windows+nvidia, rp_683ad9918bc64159 windows+amd): `<data>/builder/tools/tools/llvm-mingw/bin/ld.lld: Permission denied`, then `clang-23: error: linker command failed with exit code 1`. So lld is started, and LLVM's start in it is refused: the same Longshot #910 as before, now for the linker. The report does not say whether clang started lld from the real folder (`-B` and `--ld-path` not honored, or not applied in the builder's own run of clang) or from the drive (and lld's own start is refused for another reason), and the log it carries ends far below the probe's lines. I would rather not guess a third fix. This makes the next report say: - the probe (`SpawnProbe`) also runs `ld.lld.exe --version`, prints the link command clang would run (`-###`, last two lines), and links with a real `-no-canonical-prefixes` argument, with and without `--ld-path` (docs/windows-clang.md: the argument that passes where the environment override fails); - when the main base's link is refused ("Permission denied"), the probe runs again, so its lines are the end of the log the report carries. Nothing else changes: no change for Linux, and no change for a build that links. Not built or run here (this PC's rules); the Python of the probe compiles (checked by compiling the unescaped string). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(agent): a Windows game link that is refused says which way of starting lld works
Some checks failed
CI / Conventional Commit title (pull_request) Successful in 4s
CI / Workflow lint (actionlint) (pull_request) Successful in 4s
CI / Coordinator tests (pull_request) Failing after 1m41s
CI / Agent build and checks (pull_request) Successful in 2m26s
CI / Coordinator image (pull_request) Successful in 15s
a364596831
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Beanstalk!162
No description provided.