-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Dynamic linking: emscripten_get_now.sig is undefined #17106
Comments
It looks like that side module is trying to import this symbol with an
Do you know where the |
(perhaps somewhere in the source code that symbols is incorrectly being forward declared with a leading underscore?) |
The problem is here: |
Even if I fix that, there is still an error because there is a GOT entry for TypeError: Cannot read properties of undefined (reading 'slice')
at convertJsFunctionToWasm (pyodide.asm.js:9356:24)
at addFunctionWasm (pyodide.asm.js:9480:23)
at Object.reportUndefinedSymbols (pyodide.asm.js:14952:34) |
That sounds like a real bug. Feel free to send a PR adding a |
Can you re-title this bug (or open a new one)? |
resolveGlobalSymbol("emscripten_get_now")
is undefined
I am running into the following issue when building the cryptography PyO3 module:
wasm-objdump
shows that we are trying to importemscripten_get_now
:but
resolveGlobalSymbol("emscripten_get_now")
returns undefined and so we get an error fromreportUndefinedSymbols
.Adding the lines
fixes the problem.
cf pyodide/pyodide#2378
The text was updated successfully, but these errors were encountered: