「DeveloperWiki:ツールチェーンのメンテナンス」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
17行目: 17行目:
 
==GNU C Library==
 
==GNU C Library==
   
Provided by {{Pkg|glibc}}.
+
{{Pkg|glibc}} により提供されます。
   
  +
ツールチェーンの二番目のステップで、新しい gcc がリビルドされた後にリビルドする必要もあります。
Second step of the toolchain, also, it needs to be rebuilt after a new gcc rebuild.
 
   
  +
so のバージョンの変更に関わらず、新しい glibc の後にリビルドを必要とする、{{Pkg|valgrind}} のようなパッケージもあります。
There are some packages that require a rebuild after a new glibc, regardless of a so bump, such as {{Pkg|valgrind}}.
 
   
 
==GNU Binutils==
 
==GNU Binutils==

2020年6月6日 (土) 13:25時点における版

このページは 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.