Get the latest tech news

Bazel and Glibc Versions


Analyzing how glibc and action non-determinism can lead to surprising failures

This article dives deep into how glibc versions can break build reproducibility and presents several ways to fix it—from an interesting hack (which spawned this whole series) to the ultimate, most robust solution. The fact that the developer WS could write to the AC is very problematic on its own, but we could encounter this same scenario if we first ran the production build on CI-2 for testing purposes and then reran it on CI-1 to generate the final artifact. Personally, I believe that relying on LTS distributions is a mistake that ends up costing more money/time than tracking a rolling release, but I’ll leave that controversial topic for a future opinion post.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Glibc Versions

Glibc Versions

Photo of Bazel

Bazel

Related news:

News photo

The next generation of Bazel builds

News photo

Bazel 8.0

News photo

Aspect Build gets $3.85M to help developers create software with Bazel