wasm-micro-runtime
wasm-micro-runtime copied to clipboard
build: fix LLVM 18 build on GCC 15
Is this due to some compilation errors raised by GCC 15(or higher only)? Do lower versions of GCC, like GCC 11, encounter the same issues under specific conditions?
It's only happening on GCC 15 (and higher, and potentially some corresponding versions of clang): https://github.com/llvm/llvm-project/pull/101761 and https://github.com/llvm/llvm-project/pull/123320
Will lower versions of GCC, like GCC 11 (default on Ubuntu 22.04), successfully compile LLVM libraries after applying those (llvm) patches?
Yes, it builds on Ubuntu 22.04 (GCC 11) with the same patches.