Build Everything From Source: A Case Study in Fear
summary
An upgrade from gcc 4.8.5 → gcc 9 exposes intermittent file corruption in a 500,000-line legacy system because a prebuilt custom hdf5 RPM was compiled with incompatible settings. Rebuilding that RPM with gcc 9 and the correct flags stops the corruption. HDF5 offers thread-safe vs single-threaded builds that break C bindings if chosen wrongly, and a hybrid mode crashes. Claim: rebuild all C/C++ dependencies from source with identical compiler and flags to avoid ODR/ABI-variant bugs.
AI-written summary · about
related talks
31mToolchains for People in a Hurry: Latest Features of GCC/GLIBC
01h 14mBuilding and Organising a Multi-Platform Development Code Base
01h 37mC++ And Beyond: Discussion
01h 04mCompiler Bugs And Bug Compilers
47mPrepping your Open Source Project for Multi-Platform
41mZig Build System & How to Build Software From Source
01h 02m“What to Expect from a Next-Generation C++ Build System”
40mSurviving 19 Jan 2038 on 32 Bit Platforms: Lessons Learned and Common Problems
