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

提供: ArchWiki
2020年6月4日 (木) 11:14時点におけるNy-a (トーク | 投稿記録)による版 (en:DeveloperWiki:Toolchain maintenance の版 602072 に同期)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
ナビゲーションに移動 検索に移動

This page is intended to contain all relevant information to bootstrap the toolchain on Arch Linux, including any issues that are expected to be found, as well as providing documentation on the build order when new versions of important toolchain packages are released.

The toolchain build order is as follows:

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

Linux Api Headers

Provided by linux-api-headers.

It is the first step on the toolchain.

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.