Sam Clegg
Sam Clegg
Looks like closure is complaining: ``` Closure compiler completed with warnings and -Werror=closure enabled, aborting! building:ERROR: /tmp/emtest_chk86dq6/emscripten_temp_uaqtpd90/hello_world.js:23757:56: WARNING - [JSC_TYPE_MISMATCH] No properties on this expression found : (null|undefined) required: Object...
Turns out this change isn't so simple. Marking as WIP for now.
I think think assumption looks correct. Would you be able to send a PR to fix that line?
`saveSetjmp` is the name of a function that LLVM used to call prior to https://github.com/llvm/llvm-project/pull/84137. Starting with LLVM 19 you should see `__wasm_setjmp` and `__wasm_setjmp_test` instead. Support for these symbols...
Would you have time to send a PR? BTW are you using the annotation proposal? Or, how are you generated binaries that contain this relocation type?
@SoniEx2
> I'm not sure if something with my environment is different from CircleCI's (MacOS / Apple Silicon, latest emsdk, no warnings about version mismatches for clang/binaryen/etc), but I get the...
The attached zip file seems to only contain an empty directory. Can you re-post, or shared the build commands you used to build the above code?
When I build this code naively it seems to work as expected: ``` $ emcc -sSIDE_MODULE plugin.cpp -o libplugin.so $ emcc main.cpp libside.so -sMAIN_MODULE=2 -sAUTOLOAD_DYLIBS=0 $ node ./a.out.js Loading lib:libplugin.so...
The `compat/emmintrin.h` in the emscripten sysroot looks like it uses wasm intrinsics which is likely better than the clang builtin one that is using `__builtin_ia32` intrinsics. I'm guess we simply...