Skip to content

undefined symbol: os/signal.signal_enable when compiling with TinyGo WASI target #4865

Open
@Mossaka

Description

@Mossaka

Hi,

I tried compiling mcp-go using the latest version of TinyGo with the wasi / wsaip2 target, but ran into the following linker errors:

wasm-ld: error: lto.tmp: undefined symbol: os/signal.signal_enable  
wasm-ld: error: lto.tmp: undefined symbol: os/signal.signal_recv

I came across a similar issue that was previously closed as resolved, but I’m still hitting this with the current setup. Any guidance or workaround would be much appreciated!

Thanks!

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