-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
PRINTF_LONG_DOUBLE is not compatible with MAIN_MODULE #22102
Comments
Yes, this is an issue with While we should fix this issue, I would also strongly recommend against using |
Indeed, however in this case I am compiling CPython and I think it is hard (impossible?) to know what functions will be needed by the imported modules. |
Are you working on pyodide? Or is this a separate CPython effort? |
A separate project that integrates CPython into a larger system |
If possible I would strongly advise against using Fixing this particular issue is kind of pain due to the way that |
So I don't need this issue fixed for my project, I am reporting it more because perhaps someone else can save themselves 5-10 minutes by just googling "emscripten __vfprintf_internal duplicate symbol" or something like that. |
Version of emscripten/emsdk:
Failing command line in full:
emcc test.c -sPRINTF_LONG_DOUBLE=1 -sMAIN_MODULE
Contents of test.c:
Full link command and output with
-v
appended:The text was updated successfully, but these errors were encountered: