8000 `undefined symbol: os/signal.signal_enable` when compiling with TinyGo WASI target · Issue #4865 · tinygo-org/tinygo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Mossaka opened this issue Apr 22, 2025 · 4 comments
Labels
wasm WebAssembly

Comments

@Mossaka
Copy link
Mossaka commented Apr 22, 2025

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!

@deadprogram
Copy link
Member

@Mossaka that link to mcp-go did not work.

Can you please link to the specific code you were trying to compile and what command you used to compile it with so I can reproduce?

@deadprogram deadprogram added the wasm WebAssembly label Apr 23, 2025
@Mossaka
Copy link
Author
Mossaka commented Apr 23, 2025

Yes, I was trying to compile this repo: https://github.com/mark3labs/mcp-go

@deadprogram
Copy link
Member

Which code in that repo did you try, and what command did you use to try to compile it?

@Mossaka
Copy link
Author
Mossaka commented Apr 23, 2025

Synced up with @deadprogram online. The code I was trying is examples/everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wasm WebAssembly
Projects
None yet
Development

No branches or pull requests

2 participants
0