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

提供: ArchWiki
2020年6月6日 (土) 13:25時点におけるNy-a (トーク | 投稿記録)による版 (→‎GNU C Library: 訳出)
ナビゲーションに移動 検索に移動

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

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

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

Linux Api Headers

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

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

GNU C Library

glibc により提供されます。

ツールチェーンの二番目のステップで、新しい gcc がリビルドされた後にリビルドする必要もあります。

so のバージョンの変更に関わらず、新しい glibc の後にリビルドを必要とする、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.