DeveloperWiki:ツールチェーンのメンテナンス

提供: ArchWiki
2020年6月5日 (金) 09:16時点におけるNy-a (トーク | 投稿記録)による版 (→‎Linux Api Headers: 訳出)
ナビゲーションに移動 検索に移動

このページは Arch Linux でツールチェーンをブートストラップすることに関する全ての情報を含むことを意図していて、 予期されるあらゆる問題や、重要なツールチェーンパッケージの新しいバージョンがリリースされたときのビルドの順番の ドキュメントを提供することを含みます。

ツールチェーンのビルド順は以下です:

linux-api-headers -> glibc -> binutils -> gcc -> binutils -> glibc

Linux Api Headers

linux-api-headers により提供されます。

これはツールチェーンの一番目のステップです。

GNU C Library

Provided by glibc.

Second step of the toolchain, also, it needs to be rebuilt after a new gcc rebuild.

There are some packages that require a rebuild after a new glibc, regardless of a so bump, such as valgrind.

GNU Binutils

Provided by binutils.

Third step of the toolchain, also it needs to be rebuilt twice on new glibc releases and also after a new gcc release.

GNU Compiler Collection

Provided by gcc.

Last (or first) step of the toolchain, and vital to building its entirety. Its update triggers a binutils and glibc rebuild, as well as other packages, like linux itself and libtool

The kernel has a strict check on gcc configure flags. So, if any flags are changed between package releases, even if it is the same gcc version, a kernel rebuild is required.