Hey, I propose disabling lto altogether from nodejs. While it may compile it's crashing builds elsewhere, notably with big packages like chromium, firefox and thunderbird. We've recently had few reports in the forums: https://forums.gentoo.org/viewtopic-t-1164017-highlight-nodejs+lto.html https://forums.gentoo.org/viewtopic-t-1163776-highlight-nodejs+lto.html (and search "nodejs lto" to find more older ones) Then there's at least bug 906517, bug 909305, and bug 851582. Currently lto enabled in nodejs seems risky. Or in my opinion it should be package.use.mask'd at least. I can imagine chromium, firefox and thunderbird to depend on nodejs[-lto] too, but that seems weird, and doesn't protect other chromium/firefox -based packages. And other possible unidentified packages affected by this.
I have disabled LTO for now.
Sorry about the typo, I have package.use.masked it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=907577ae1da47c21556eeeb4386cdf2faa7b6754 commit 907577ae1da47c21556eeeb4386cdf2faa7b6754 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2023-06-30 19:31:25 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2023-06-30 19:44:24 +0000 profiles/base/package.use.mask: mask lto for nodejs Closes: https://bugs.gentoo.org/909394 Signed-off-by: William Hubbs <williamh@gentoo.org> profiles/base/package.use.mask | 4 ++++ 1 file changed, 4 insertions(+)
Thanks!