Building Rustc on m68k
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
まず、一覧にある m68k のブロッカー(linux-raw-sys、rustix、compiler/rustc_data_structures/src/tagged_ptr.rs、bootstrap スクリプト)を確認します。tagged_ptr のアラインメント修正の現在の状態と、m68k サポートの不足箇所を確認してから、bootstrap の失敗を再現します。rustc とそのツールを、一覧にある回避策なしで m68k 向けにビルドできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I am currently working on building rustc for m68k(since that seems like a more achievable short-term goal). Many of the roadblocks I'll hit on m68k will also likely be shared with other targets - this issue could server as a reference for that.
Here is a list of currently-known issues:
-
-
linux-raw-sysdoes not support m68k. This crate is needed byrustc, and a lot of other crates. Proper support will require a moderate amount of work, but it something that can be done now. -
- The
rustixcrate does not supportm68k. (more specifically, the iocl::const module needs the right values for syscall arguments). -
- The const assert in https://github.com/rust-lang/rust/blob/ce5fdd7d42aba9a2925692e11af2bd39cf37798a/compiler/rustc_data_structures/src/tagged_ptr.rs#L163 fails. EDIT: the problem is the alignment of usize. Rust uses those bits to store type tags. If the aligement is less than 4, this fails. I have a fix ready to be sent & merged.
-
- The bootstrap script fails to compile native
GCCfor m68k. This prevents it from building any codegen backends or tools later down the line. This is skipable with some fiddling. -
- When building other tools(eg.
cargo) the bootstrap script "forgets" where thestdfor m68k is.
So, as of toady, with some workarounds, I can get pretty far into the cross-compilation process - a bit more work, and we may be able to get rustc running on m68k.
@glaubitz I think this issue might be of interest to you.
- 主要言語
- Rust
- スター
- 1.2k
- フォーク
- 106
- 平均マージ
- 5時間 50分
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rust-lang/rustc_codegen_gcc のほかの issue
-
tests
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
rust-lang/rustc_codegen_gcc#993 ·
メンテナーはふだん 1 日以内に返信
-
Cannot compile sysroot if having a build.build-dir cargo config対応中かも @GuillaumeGomez が 1 日前に担当しました。 オープン
rust-lang/rustc_codegen_gcc#1011 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
tests
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
rust-lang/rustc_codegen_gcc#992 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
rust-lang/rustc_codegen_gcc#970 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
rust-lang/rustc_codegen_gcc#943 ·
メンテナーはふだん 1 日以内に返信
rust-lang/rustc_codegen_gcc の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
peteonrails/voxtype#909 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
alchemyplatform/rundler#1358 ·
メンテナーはふだん 3 日以内に返信
-
[BUG] VA-API HEVC: out-of-range cu_qp_delta (measured -130..+56) produces a corrupted bitstreamオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
selkies-project/pixelflux#52 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BerriAI/litellm#47884 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:testing bug good first issue platform:windows priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信