Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Threads working at one time? #1

Open
gregbuchholz opened this issue Dec 21, 2021 · 1 comment
Open

Threads working at one time? #1

gregbuchholz opened this issue Dec 21, 2021 · 1 comment

Comments

@gregbuchholz
Copy link

gregbuchholz commented Dec 21, 2021

I've been investigating getting threads working with Rust and wasm32-unknown-emscripten, and I came across a previous message of yours which make it seem like threads were working at one time. When I try your example program, I get errors seemingly related to thread local storage like:

...relocation R_WASM_MEMORY_ADDR_TLS_SLEB cannot be used against non-TLS symbol `std::io::stdio::OUTPUT_CAPTURE::__getit::__KEY::h776cf75763f0fad1`

...can you confirm that threading was working at one time, and there must have been a regression somewhere between now and then? I've tried with emscripten v3.0.0, and one prior version with the same wasm-ld error.

Thanks!

@RReverser
Copy link
Owner

No, what I meant by that comment is that I created a reproduction repo that demonstrates the linking issues (that is, it was broken from the beginning).

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

No branches or pull requests

2 participants