Open wenhanchong opened 5 days ago
What do you mean by "pthreads unable to initialize"? Does pthread_create
error, or just nothing happens at all? Does the Firefox debugger show Workers being created?
Overall this sounds like a Firefox bug, but it is odd that it is caused by a change that is ok in other browsers.
Please include the following in your bug report:
Version of emscripten/emsdk:
Full link command and output with
-v
appended:PThreads does not initialize on Firefox after this particular change: https://github.com/emscripten-core/emscripten/pull/20404 There are no errors logged in the console. Attached a sample app that can reproduce the issue. Tested on Firefox 133 windows desktop. Works fine on Chrome 131.
emscriptentest.zip