nodejs LTO issue with gcc 11
StefanSalewski opened this issue · comments
I am struggling with this one for about a year now. Is there a trick to solve it?
For current stable as well as for unstable nodejs, pulled in by firefox, I get:
ERROR: net-libs/nodejs-18.1.0::gentoo failed (pretend phase):
* LTO builds of nodejs using gcc-11+ currently fail tests and produce runtime errors. Either switch to gcc-10 or unset USE=lto for this ebuild
Same for gcc 11.2 and 11.3
https://bugs.gentoo.org/787158
Check sphakka's comment.
Currently running nodejs v18.3.0 and gcc version 11.2.1 20220115 (Gentoo Hardened 11.2.1_p20220115 p4). Compiled with LTO, no errors. Try using ~amd64 on accept_keywords for node.
Yes, nodejs v18.3.0 compiles now fine with LTO and gcc 11.3.0.