Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
When compiling for Wasm with--disable-wasm-dynamic-linking, we end up withHAVE_DYNAMIC_LOADING=0, which is currently broken with the following linking errors:
wasm-ld: error: Python/import.o: undefined symbol: _Py_ext_module_loader_info_init_for_builtinwasm-ld: error: Python/import.o: undefined symbol: _PyImport_RunModInitFuncwasm-ld: error: Python/import.o: undefined symbol: _Py_ext_module_loader_result_apply_errorwasm-ld: error: Python/import.o: undefined symbol: _Py_ext_module_loader_result_clearwasm-ld: error: Python/import.o: undefined symbol: _Py_ext_module_loader_result_clearwasm-ld: error: Python/import.o: undefined symbol: _Py_ext_module_loader_info_clearwasm-ld: error: Python/import.o: undefined symbol: _PyImport_RunModInitFuncwasm-ld: error: Python/import.o: undefined symbol: _Py_ext_module_loader_result_apply_errorwasm-ld: error: Python/import.o: undefined symbol: _Py_ext_module_loader_result_clearI believe its a regression introduced in529a160.
@ericsnowcurrently, would you be able to take a look into fixing this?
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux