Skip to content

wasm-ld: error: couldn't allocate output register for constraint '{r0}' #4959

@anshuman-mor

Description

@anshuman-mor

Getting this error intermittently when compiling to wasip2

tinygo build -o test-tinygo-wasi2.wasm --target wasip2 --no-debug

wasm-ld: error: couldn't allocate output register for constraint '{r0}'

I am running this on Windows.

tinygo version
tinygo version 0.38.0 windows/amd64 (using go version go1.23.2 and LLVM version 19.1.2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    wasmWebAssembly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions