Skip to content

Question: Clarification on hermetic LLVM toolchain origin #42566

@tsaarni

Description

@tsaarni

Envoy recently switched to using a hermetic LLVM toolchain:

I may have missed some background discussion, but I’d appreciate more details about where the toolchain originates from.

My current understanding:

Envoy’s currently selected toolchain is specified in here which point to LLVM 18.1.8. According to the llvm 18.1.8 release notes, these binaries are not from the LLVM project itself:

Volunteers make binaries for the LLVM project, which will be uploaded when they have had time to test and build these binaries. They might not be available directly or not at all for each release. We suggest
you use the binaries from your distribution or build your own if you rely on a specific platform or configuration.

I found some background on who built this specific binary in this LLVM Discourse post https://discourse.llvm.org/t/18-1-8-has-been-tagged/79726/10.

There was discussion in LLVM Discourse about improving binary-build transparency and security ("[RFC] Improve binary security"), and starting with LLVM 19, it seems CI-produced binaries are available.

Is my understanding correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/buildarea/llvmquestionQuestions that are neither investigations, bugs, nor enhancements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions