Skip to content

Help to avoid wasm-ld: error: --shared-memory is disallowed by sfnt.c.o because ... #16666

Answered by cecilios
cecilios asked this question in Q&A
Discussion options

You must be logged in to vote

Solved. I don't know if this is the right approach but I solved this by not using threads and removing flags -sUSE_PTHREADS=1 -pthread -Wl,--shared-memory

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cecilios
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants