Closed niklasad1 closed 1 year ago
Thanks for the report.
I see that this build is using wasm-opt 0.111.0, and the current version of wasm-opt is 0.112.0. Upstream Binaryen landed a pr to fix gcc 13 compilation in January (https://github.com/WebAssembly/binaryen/pull/5458), and I suspect that is included in version 112.
So upgrading wasm-opt to 112 might fix it, though I have not tested.
It looks like you might be doing a substrate build. There is an existing PR to upgrade substrate to wasm-opt 0.112.0 (https://github.com/paritytech/substrate/pull/13574) but it was not merged and eventually closed stale.
I'll see if I can get a local build of gcc 13 to test, re-open that substrate pr, and think about cherry-picking the binaryen fix into a point release of 0.111.0.
Thanks, bumping wasm-opt 0.112
does indeed work.