Files
darkforge/toolchain/VERSION_MANIFEST.md
2026-03-20 11:18:42 +01:00

4.6 KiB

DarkForge Linux — Phase 0 Toolchain Version Manifest

Generated: 2026-03-20 (updated to sync with build scripts)

Rule: Always use latest stable release (CLAUDE.md §3)

Base reference: LFS 13.0 (r13.0-4, 2026-03-14)

Cross-Toolchain (Chapter 5 equivalents)

Package Version Tarball Note
binutils 2.46 binutils-2.46.tar.xz LFS 13.0 version
gcc 15.2.0 gcc-15.2.0.tar.xz Supports -march=znver5
glibc 2.43 glibc-2.43.tar.xz LFS 13.0 version
linux 6.19.8 linux-6.19.8.tar.xz Headers only for Phase 0
mpfr 4.2.2 mpfr-4.2.2.tar.xz GCC dependency
gmp 6.3.0 gmp-6.3.0.tar.xz GCC dependency
mpc 1.3.1 mpc-1.3.1.tar.gz GCC dependency

Temporary Tools (Chapter 6 equivalents)

Package Version Tarball Note
m4 1.4.21 m4-1.4.21.tar.xz Latest stable (Feb 2026)
ncurses 6.5 ncurses-6.5.tar.gz
bash 5.3 bash-5.3.tar.gz
coreutils 9.6 coreutils-9.6.tar.xz LFS 13.0 version
diffutils 3.10 diffutils-3.10.tar.xz
file 5.47 file-5.47.tar.gz LFS 13.0 version
findutils 4.10.0 findutils-4.10.0.tar.xz
gawk 5.4.0 gawk-5.4.0.tar.xz
grep 3.14 grep-3.14.tar.xz
gzip 1.14 gzip-1.14.tar.xz
make 4.4.1 make-4.4.1.tar.gz
patch 2.8 patch-2.8.tar.xz
sed 4.9 sed-4.9.tar.xz LFS 13.0 version
tar 1.35 tar-1.35.tar.xz
xz 5.8.1 xz-5.8.1.tar.gz
zstd 1.5.7 zstd-1.5.7.tar.gz Not in LFS; needed for kernel

Chroot Packages (Chapter 7 equivalents)

Package Version Tarball Note
gettext 0.23.1 gettext-0.23.1.tar.xz
bison 3.8.2 bison-3.8.2.tar.xz
perl 5.40.2 perl-5.40.2.tar.xz Latest stable 5.40.x
python 3.13.3 Python-3.13.3.tar.xz
texinfo 7.3 texinfo-7.3.tar.xz
zlib 1.3.1 zlib-1.3.1.tar.xz
util-linux 2.40.4 util-linux-2.40.4.tar.xz LFS 13.0 version

Compiler Flags (Global Defaults)

CFLAGS="-march=znver5 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEFLAGS="-j32"
LDFLAGS="-Wl,-O1,--as-needed"

Note: znver5 is supported since GCC 14.1. GCC 15.2.0 has full support. During cross-compilation (Pass 1), hardware-specific flags are NOT applied — they only take effect once we have a native compiler targeting our hardware.

Patches Required

Patch Source Used For
glibc-2.43-fhs-1.patch https://www.linuxfromscratch.org/patches/lfs/13.0/ Glibc FHS dirs