Skip to content
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 failed with GCC-13 #147

Closed
AurevoirXavier opened this issue Jun 24, 2023 · 1 comment · Fixed by Polimec/polimec-node#82
Closed

Build failed with GCC-13 #147

AurevoirXavier opened this issue Jun 24, 2023 · 1 comment · Fixed by Polimec/polimec-node#82

Comments

@AurevoirXavier
Copy link

Check more detail here: https://substrate.stackexchange.com/questions/8540/compilation-errors-on-template-node

@AurevoirXavier AurevoirXavier changed the title Failed to build with GCC-13 Build failed with GCC-13. Jun 24, 2023
@AurevoirXavier AurevoirXavier changed the title Build failed with GCC-13. Build failed with GCC-13 Jun 24, 2023
@brson
Copy link
Owner

brson commented Jul 1, 2023

Version 0.111.0, tracking Binaryen 111, is known to not build with GCC 13. Upgrading to wasm-opt 0.112.0, which tracks binaryen 112, should fix the issue.

This was also reported in #143.

Substrate was upgraded to wasm-opt 112 in paritytech/substrate#13574, so if you can upgrade substrate that should fix it.

If upgrading substrate is not possible, it may be possible to backport the binaryen fixes for gcc 13 to wasm-opt-rs 112, but I have not attempted to do so yet.

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 a pull request may close this issue.

2 participants