Open
Description
- Version: 16.0.0, 14.16.1, possibly others
- Platform: Linux
What steps will reproduce the bug?
- Switch active compiler to gcc-11
- Build node with --enable-lto
3a. To reproduce test segfault, run cctest
3b. To reproduce runtime errors, use this build of node to e.g. compile a recent version of Firefox
How often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior?
Node passes tests and runs correctly.
What do you see instead?
See e.g. https://bugs.gentoo.org/787158
Additional information
Enabling LTO for the same node versions works fine with gcc-10.