On Tue, May 2, 2023 at 5:40 PM Stephen Gallagher <sgall...@redhat.com> wrote: > > On Tue, May 2, 2023 at 5:27 AM Sandro Mani <manisan...@gmail.com> wrote: > > > AFAICS nodejs is generally broken in rawhide (both nodejs20 and nodejs18), > > i.e. just > > > > $ node > > > <type random chars and press backspace a couple of times> > > Segmentation fault (core dumped) > > > > gdb: > > > > Thread 3 "node" received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 0x7ffff2ffe6c0 (LWP 1565850)] > > 0x00007ffff57db195 in > > v8::internal::compiler::SpecialRPONumberer::ComputeAndInsertSpecialRPO(v8::internal::compiler::BasicBlock*, > > v8::internal::compiler::BasicBlock*) () from /lib64/libnode.so.115 > > > > It looks like this is an optimization bug in the compiler. The > segfault disappears when compiled with -O1, but occurs at -O2 and > higher. I'm going to try to track down the specific optimization > that's breaking it tomorrow, but as a stopgap measure I have Node.js > 20 building in Rawhide with -O1.
Well, narrowing that down was a real pain: https://github.com/nodejs/node/issues/47865 I'll build without the offending optimizations for the time being. _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue