Skip to content

A failed link or helper compile prints only 'build failed' (seed_compile_binary drops diagnostics); Windows toolchain lookup superseded by #1915 #1914

Closed

Description

@ehartford

On win10 (pinned seed nightly-20260926-local-1-2e8defaa18ef, main-era sdk-pin branch), without ~/winenv.sh sourced:

  • src\main.exe build build\https_fetch.w -o out\tmp\hf.exe with only LLVM_PREFIX set prints error: build failed and nothing else. The cause was the missing WITH_WINDOWS_MSVC_LIBDIR/UCRT/UM library paths (it builds once winenv.sh is sourced), but the compiler never names the link step, the linker, or the missing libraries.
  • with build :deps compiles that helper through seed_compile_binary (build/seed.w), which reports only deps-asset-https-fetch-helper failed with exit code 1, dropping the workspace's diagnostics.
  • Without LLVM_PREFIX it says missing Windows LLVM linker metadata (src/runtime/llvm_ld), so a fresh Windows checkout cannot run :deps at all: it needs an LLVM linker to fetch the LLVM SDK.

Expected: the link failure names the linker and its error lines (no silent tool), seed_compile_binary prints the compile diagnostics, and :deps on a fresh Windows host either fetches without compiling a With helper or says which environment it needs.

Activity

  1. ehartford commented on Sep 29, 2026

    @ehartford
    ContributorAuthor

    Reframed by Eric's ruling (2026-09-29): With must not need Visual Studio or the Windows SDK at all — MSVC being installed is irrelevant. The Windows slice of #1915 replaces the WITH_WINDOWS_* / winenv.sh / hard-coded VS2019 path lookup with import libs, CRT startup and headers the SDK carries. The silent-failure half stays here: a failed link or helper compile must print its cause (seed_compile_binary drops the workspace diagnostics; the Windows link said only 'error: build failed').

  2. changed the title [-]Windows: a build without the MSVC/SDK library env fails with only 'error: build failed'; :deps' helper compile hides the diagnostic[/-] [+]A failed link or helper compile prints only 'build failed' (seed_compile_binary drops diagnostics); Windows toolchain lookup superseded by #1915[/+] on Sep 29, 2026
  3. ehartford commented on Sep 30, 2026

    @ehartford
    ContributorAuthor

    Status (2026-09-30):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions