Skip to content

Warning: _Unwind_RaiseException is not correctly implemented #24165

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

Open
Midar opened this issue Apr 22, 2025 · 0 comments
Open

Warning: _Unwind_RaiseException is not correctly implemented #24165

Midar opened this issue Apr 22, 2025 · 0 comments
Assignees

Comments

@Midar
Copy link

Midar commented Apr 22, 2025

Version of emscripten/emsdk:
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.69 ()
Debian clang version 19.1.7 (3)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /usr/lib/llvm-19/bin

I'm currently trying to use exceptions in Objective-C using emscripten. I've already worked around the missing _Unwind_GetIP (why is this missing to begin with?) in my EH personality, however, ultimately, it fails as soon as an exception is actually thrown with:

Warning: _Unwind_RaiseException is not correctly implemented

With the core part of the unwinder missing for exceptions, how do C++ exceptions even work? How am I supposed to work around this? I've found __throw_exception_with_stack_trace, however, trying to use that, I get a linker error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants