Closed james-pre closed 1 year ago
could be not enough ram/swap available ( oom killer )
It looks like the compiler process was externally killed with SIGKILL. I agree with @pmp-p that it might be the OOM killer.
@jprendes @pmp-p
The VM has 8 GiB of RAM (no swap) and 3 cores with a 2.9 GHz base and 4.8 GHz boost.
How much memory does it use?
8 GiB is rather low for building LLVM. I would try with at least 32 GiB.
I have 32, so I'll try that.
Gave it 30 GB of memory, but now it's failing at pyodide (though not from memory).
tbh, you should try stock cpython, 3.11+ allows for wasm builds and build system is way simpler.
It looks like the zlib version required by cpython in the pinned version of pyodide is not available in zlib.net anymore.
With the latest commit I've updated the version of pyodide to use a version zlib available online.
It does build for me now. I'm closing the issue, please do let me know if you encounter any other issue.
The LLVM part of the build fails when building CXX object tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o, see the screenshot for more details.
Ran on Ubuntu 22.04.1 (LTS). Ran using
sudo ./build-with-docker.sh