-
Notifications
You must be signed in to change notification settings - Fork 67
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
Build fails when testing cross-compile #233
Comments
This was a problem by using Node.js v18 in emscripten (see emscripten-core/emscripten#16915) It's probably related to the version Ubuntu ships. |
It looks like a newer version of Emscripten might also help -- I'm not sure which version Ubuntu ships in their repos. In my setup, I use nvm and emsdk to easily switch between versions of Node and Emscripten. Currently, I'm building with Node v20.1.0 and Emscripten v3.1.37, and I think our GHA scripts do the same. Probably we should spend some time to investigate the exact minimum required version for both and update our |
Yup! Node Node v20 solves all issues I was still facing! 🎉 Thank you @georgestagg 🥇 for detailing the versions you're using and pointing to the GHA Additional help for others that may encounter problems building: The error below (found in config.log) was solved by using node TypeError: WebAssembly.Tag is not a constructor
at Object.<anonymous> (/home/averissimo/work/opensource/r-wasm/webr/R/build/R-4.3.0/build/conftest:2:28937)
at Module._compile (node:internal/modules/cjs/loader:1196:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1250:10)
at Module.load (node:internal/modules/cjs/loader:1074:32)
at Function.Module._load (node:internal/modules/cjs/loader:909:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47
configure:27852: WARNING: cannot run mixed C/Fortran code
configure:27854: error: Maybe check LDFLAGS for paths to Fortran libraries? |
Hi, Facing issues with Are there other versions prerequisites for all the necessary deps (below is what I have):
|
Solved thanks to @georgestagg:
|
I'm having problems building with the custom LLVM,
System: Ubuntu (Linux 6.2.0-23-generic)
sudo apt install emscripten cmake gperf liblzma-dev libpcre2-dev quilt wget git clone https://github.com/r-wasm/webr cd webr ./configure make
Error
config.log
The text was updated successfully, but these errors were encountered: