-
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
undefined symbols: _emscripten_memset_bulkmem, _emscripten_memcpy_bulkmem from libc-debug.a #23005
Comments
Does this still happen on later versions than |
@kripken |
@kripken It looks as though I'll be waiting until someone else builds a more recent version of Emscripten in the FreeBSD ports repository - building the whole 32-bit system is not practical on the machine I have available. |
I think the problem here is that you are trying to use emscripten 3.1.69 with a version of llvm more recent that the one its was configured for. A recent change to llvm enabled bulk memory by default but emscripten didn't have code to support that change until #22751 which didn't land until 3.1.71. So you can fix by either downgrading to a slightly older version of llvm or upgrading emscripten to 3.1.71 or above. |
The prepackaged FreeBSD llvm-devel (the only llvm/clang package with clang-devel rather than plain clang) is only available at 20.0 (llvm-devel-20.0.d20241114), and I can't build an older llvm from source with the resources available to me. I've asked the FreeBSD emscripten package maintainer if they can update to emscripten 3.1.73 (current?) which should solve the problem, I hope. |
Please include the following in your bug report:
Version of emscripten/emsdk:
Failing command line in full:
Stop.
Full link command and output with
-v
appended:The text was updated successfully, but these errors were encountered: