Windows space-path CI: bundled TCC bootstrap cannot find relocated stdatomic header
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 14/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- build-system, ci-cd
Research direction
Start with makev.bat in :build_bootstrap_with_tcc, where the -B flag is passed without a project-root include, and compare it with the later link stages. Then read cmd/tools/vc_compat_uint.ps1 to see how V-owned includes are relocated, and check the transformed vc/v_win_compat.c line that names thirdparty/stdatomic/win/atomic.h. Done means the exact space-paths-windows .\makev.bat -tcc job passes on a corrected descendant, with no test exclusion or timeout change. The issue is marked fix-in-progress and blocked, so confirm its status before starting.
Written by the indexing model from the issue text.
Description
Executed failure (R386; bootstrap gate, not a queued-job inference)
On master eff5e26ef6ed00d0f5179895293a5d6fd9e529a7, Path Testing CI job 137245337706 executed and failed 2026-11-22 15:13:44 UTC, Windows Server 2022, checkout at D:\a\v\v\path with some $punctuation, and some spaces:
.\makev.bat -tcc
...\vc\v_win_compat.c:1489: error: include file 'thirdparty/stdatomic/win/atomic.h' not found
> Snapshot bootstrap failed; rebuilding ... with self-hosted compiler ./v.exe
> Self-hosted compiler not found: ./v.exe
TCC was downloaded successfully and the vc snapshot was cloned, so this is not a dependency download failure. The v.exe missing diagnostic is secondary; the initial snapshot C include-resolution failure is the root gate. makev.bat's :build_bootstrap_with_tcc passes -B"%tcc_dir%" but no explicit project-root -I, whereas its later stage links do pass include roots. The snapshot is in vc/ and names a thirdparty/ header relative to the project root. The existing cmd/tools/vc_compat_uint.ps1 relocates V-owned quoted includes; precise transformed include kind/line should be inspected on the failing host to distinguish an angle include from an unrelocated quote. Existing merged #31494 addressed snapshot include relocation but did not establish this executed TCC path case.
Candidate and required verification
Pass the actual checkout root as one quoted TCC include directory (with trailing . to avoid a Windows trailing backslash escaping its quote); preserve snapshot content, TCC -B, native helper link and the complete space/punctuation path. Compare kept transformed vc line and run the exact space-paths-windows .\makev.bat -tcc command, then V self/tests and normal-path Windows TCC controls. Add a no-suppression batch command contract test. No test exclusion, timeout increase or self-hosted fallback assumption. A Linux static check would not prove native Windows behavior. Until that original job passes on a corrected descendant, keep fix-in-progress/blocked, not resolved.
- Dominant language
- V
- Stars
- 38.1k
- Forks
- 2.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 682
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vlang/v
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
conda-forge/zarpaint-feedstock#8 · 1 comment · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
oras-project/rust-oci-client-node#132 ·
Maintainers usually reply within 2 days
-
out-of-date
Difficulty 1/5 Under an hour Newbie friendliness 62/100
CachyOS/CachyOS-PKGBUILDS#2177 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
CI: pin OS images in build/publish tests instead of `*-latest`Possibly taken @shikhabhadoria claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vacanza/holidays#4220 · 1 comment ·
Maintainers usually reply within 1 day