Skip to content

Conversation

@synalice
Copy link

@synalice synalice commented Apr 9, 2025

Task ./gradlew :publishToMavenLocal runs another task called :linkWasmWithES6. When using current latest emsdk v4.0.6, :linkWasmWithES6 fails with the following error messages:

error: undefined symbol: saveSetjmp(referenced by root reference (e.g. compiled C/C++ code)) undefined symbol: saveSetjmp(referenced by root reference (e.g. compiled C/C++ code))
...
error: undefined symbol: testSetjmp (referenced by root reference (e.g. compiled C/C++ code)) undefined symbol: testSetjmp (referenced by root reference (e.g. compiled C/C++ code))

I assume that the issue lies in different compiler versions used for the project and its dependencies. This seems to be true, because changing from v4.0.6 to v3.1.56 fixes the errors.

@MatkovIvan MatkovIvan requested a review from Schahen April 10, 2025 12:34
@synalice synalice force-pushed the document-emsdk-ver branch from 8ecf63f to 26f7c9c Compare April 10, 2025 16:18
Task `./gradlew :publishToMavenLocal` runs another task called
`:linkWasmWithES6`. When using current latest emsdk v4.0.6,
`:linkWasmWithES6` fails with the following error messages:

```
error: undefined symbol: saveSetjmp(referenced by root reference
(e.g. compiled C/C++ code)) undefined symbol: saveSetjmp(referenced by
root reference (e.g. compiled C/C++ code))
...
error: undefined symbol: testSetjmp (referenced by root reference
(e.g. compiled C/C++ code)) undefined symbol: testSetjmp (referenced by
root reference (e.g. compiled C/C++ code))
```

I assume that the issue lies in different compiler versions used for the
project and its dependencies. This seems to be true, because changing
from v4.0.6 to v3.1.56 fixes the errors.
@synalice synalice force-pushed the document-emsdk-ver branch from 26f7c9c to e41a6bf Compare April 11, 2025 11:14
@synalice synalice force-pushed the document-emsdk-ver branch from 432d07b to e41a6bf Compare May 12, 2025 08:11
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

Successfully merging this pull request may close these issues.

1 participant