HeadlinesBriefing favicon HeadlinesBriefing.com

RISC-V Linux Build Times Expose Hardware Limitations

Hacker News •
×

Marcin Juszkiewicz details the painful reality of building Fedora Linux on RISC-V hardware. After three months of triaging 17 remaining bugs and submitting 86 pull requests for package builds, he found that RISC-V builders take 143 minutes to compile binutils compared to just 25-46 minutes on other architectures. The current build process even disables LTO to reduce memory usage and build times.

The hardware bottleneck is stark. Current RISC-V boards feature 4-8 cores with 8-32 GB RAM, comparable to Arm Cortex-A55 processors - the slowest in modern Arm chips. While upcoming hardware like the Milk-V Titan with UltraRISC UR-DP1000 SoC (supporting 64 GB RAM) and SpacemiT K3 systems (32 GB RAM) will help, they won't solve the fundamental problem. Juszkiewicz calculates that building binutils in under one hour with LTO enabled requires hardware that doesn't yet exist.

Ironically, QEMU emulation with 80 cores proves faster than physical RISC-V hardware, building LLVM in 4 hours versus 10.5 hours on a Banana Pi BPI-F3. The Fedora team plans to start building Fedora 44 with unified kernel images across builders, but without rackable, manageable servers capable of competitive build times, RISC-V cannot become an official primary architecture in Fedora Linux.