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
It is the first step on the toolchain.
GNU C Library
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.
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
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, likeitself and
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.