-
Notifications
You must be signed in to change notification settings - Fork 90
Remove 'getDylinkMetadata' from exported methods #433
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
Conversation
Error with Emscripten 4x with this method
|
For emscripten-4x experiments I used my personal branch where I also removed it Not 100% sure if we can remove it for 3.1.73. I assume xeus-ocaml does not try to load any dlopen at runtime, and historically we need that |
|
Arf I was too eager to merge and did it before you edit your comment. Anyway, since it was preventing a kernel to build, let's keep it as is, and we can still fix downstream kernels by adding this method in the post.js file. |
|
@davy39 btw for emscripten-4x we switch to -f-wasm-exceptions, so even with that PR here landed, you still cannot use the main branch for emscripten-4x. |
I did build without it, but I'll keep that in mind, and maybe make a new new branch for 4x |
I assume it works if you also not use -f-wasm-exeptions in your kernel, but one of the goals of the 4x migration is to use -f-wasm-exeptions everywhere |
|
OK, I think I'll just wait for xeus and xeus-lite from emscripten-forge-4x to include |
|
@davy39 there is already that channel for emscripten-forge-4x https://prefix.dev/channels/emscripten-forge-4x |
|
I've seen this channel coming from emscripten-4x branch. |
|
@davy39 damn you are right...thats a bug...I think when I compiled my xeus-python prototype with -f-wasm-exceptions I just not included these options in the xeus-python kernel. |
|
@davy39 I just deleted the broken pkgs and uploaded xeus-5.2.3-h0b0027f_5.tar.bz2 I checked the targets and wasm-options, they are now using -fwasm-exceptions! |
|
Just sharing experience : That's beyond my understanding... |
I removed that while making xeus-python work, since there and handled that in the kernel itself
That means your kernel drags in -fexceptions instead -fwasm-exceptions |
|
Could that's be because of my javascript --pre-js xocaml.bc.js ? |
|
I think you need to pass -f-wasm-exception as compile and linker arg in the kernel |
I tried to build xeus-ocaml with Emscripten 4x, but it throws error with undefined method.
It may be redundant with MAIN_MODULE=1
Anyway, without it it builds and works fine, and and so does it with emscripten 3.73.