nodejs / nodejs/node

Single Executable Application tests often fail on RISC-V

オープン
#61,110 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

riscv64 single-executable
主要言語
JavaScript
スター
122k
フォーク
37.4k
平均マージ
4日 3時間
マージ済み PR(30日)
272

説明

The SEA tests are failing in many cases. The symptoms are different depending on the hardware. Using a build of Node v25.2.2 I'm currently getting:

  • SIGILL on a TH1520 system with Xuantie C910 cores (RVV0.7 specification) (Built with gcc 14.2.0-ubuntu) (Potentiaily a highway issue)
  • SIGSEGV on a SpacemiT-K1 (RVV1.0 but with a 6.1 kernel. Built with gcc 14.2.0-debian)

I have had a build pass SEA tests under qemu on an x64 host, but nowhere near consistently enough to justify not excluding it.

Noting that the The SIGILL/SIGSEGV also occurs in v22.x which doesn't use highway.

I'll add to those results as I get more details.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Single Executable Application (SEA) のテストから始め、報告された RISC-V ハードウェア上または qemu 上でそれらを再現し、Node v25.2.2 と v22.x における SIGILL および SIGSEGV の結果を比較します。影響を受ける構成を特定し、SEA テストに RISC-V の除外または別の文書化された対応が必要かどうかを判断できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, linux, nodejs
領域
build-system, operating-systems, testing-qa
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。