Saphira Linux: a musl distribution built from source
AKADATA has built Saphira Linux, a musl-libc Linux distribution compiled from source through a stage0 SDK cross-compile, then stages 0 to 4 and a final image. It ships in two flavours: Saphira with OpenRC, and SaphiraD with systemd. The project site is https://saphira.vm2.uk, with packages at https://packages.saphira.vm2.uk.
Built, not assembled
When we say built from source, the chain starts at a stage0 SDK cross-compile and proceeds through stages 0, 1, 2, 3 and 4 to the final image. The recipe catalogue holds 473 packages, including 30 saphira-* custom packages under Business Source License 1.1 and MIT terms, covering the base system, kernel, packaging tools, networking, mail, virtualisation and storage.
Two details that show the intent
First, Saphira builds its toolchain with the GCC generic-tune branch misprediction cost patch (Intel, June 2026), which raises the cost model for modern deep pipelines and encourages if-conversion; upstream reports SPECrate nab_r gains around 12 percent on current x86 parts. The distro enables it from scratch rather than inheriting whatever the host compiler defaulted to.
Second, Rust gets a first-class target triple, x86_64-akadata-linux-musl, instead of the generic unknown vendor triple. The LLVM machine ABI is identical; the difference is that Cargo sees vendor "akadata", which matters for conditional compilation and artifact identity. Small, deliberate, and the kind of detail nobody notices until it saves them an afternoon.
Why build another distribution
Because the details nobody looks at decide the experience: toolchain tuning, target triples, init choice, package signing, network tooling. The problem with stock distributions is not what they include but what they never deliberately decided. Saphira exists so those decisions are made from source, in one place.
Saphira grew out of a simple idea: build the Linux system we actually wanted to run. Small, understandable, compiled from source, and equally comfortable underneath web services, databases, networking and the other infrastructure we use every day. Rather than assembling another general-purpose distribution, we have concentrated on the components and behaviours we need ourselves, then made the result reproducible.
Networking included
Saphira ships its own network story: the saphira-network package with declarative per-interface files and an Open vSwitch command family for bridges, bonds, tunnels and VM switches, designed around pre-flight refusal and automatic rollback. See our companion Tech Scroll on bonding and WAN uplinks on Saphira Linux.
Where to look
- Project site: https://saphira.vm2.uk - Packages: https://packages.saphira.vm2.uk (hatched is the main repository; hatchling is the archive, we always leave a rollback place in case of recovery) - Public recipes: https://github.com/SaphiraLinux/recipes
It is already running real AKADATA workloads, and there is plenty more still to come. For the packages, documentation and current project status, visit the Saphira Linux site.