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
Emscripten arm64 > 3.1.26 cannot build certain libboost libraries #21793
Comments
It looks like the I does looks you probably want to be defining So I guess that platform.hpp should not be including |
@sbc100 our confusion is that emscripten 3.1.10 through 3.1.26 build them fine. That was a defect in emscripten? So essentially boost cannot be used within a browser unless cors is restricted to origin? |
the symbol didnt work
|
Regarding that compile issue it looks like Regarding how you were able to compile with 3.1.10 through 3.1.26 that would require some more investigation. Emscripten has never supported threads without the COOP/COEP stuff enabled. My only guess is that perhaps with 3.1.10 through 3.1.26 boost was detecting that threads were not supported at build time and therefore not including |
You are asking to build Boost.Thread but you are disabling threads support with |
Version of emscripten/emsdk:
Failing: 3.1.27 through 3.1.57
Passing: 3.1.10 through 3.1.26
Failing command line in full:
My goal is to build boost single threaded, so as not to require content isolation (COOP and COEP) when running within a browser.
Tested with libboost src from 1.79 through 1.85.
Within boost rootdir:
Output
The text was updated successfully, but these errors were encountered: