Reproducible builds bug reported to Rust compiler as https://github.com/rust-lang/rust/issues/97955
Richard Purdie
richard.purdie at linuxfoundation.org
Fri Jun 10 17:55:44 UTC 2022
On Fri, 2022-06-10 at 13:52 -0400, David A. Wheeler wrote:
> All, FYI:
>
> The current LLVM-based Rust compiler generates builds that
> aren't (easily) reproducible, at least in part because full paths
> to the source code is in the panic and debug strings recorded in
> the generated executable. I was made aware of this via bunny's
> "Rust: A Critical Retrospective" <https://www.bunniestudios.com/blog/?p=6375>.
>
> I've filed this as a bug report to the Rust compiler developers:
> https://github.com/rust-lang/rust/issues/97955
>
> Filing a bug report is obviously not the same as getting it fixed.
> But filing a bug report to the right place *is* a good first step.
> If you know of other build tools where this is a problem, I encourage
> filing bug reports with them too.
Interestingly we haven't see that in Yocto Project and we do have some
rust libraries in our system. That suggests it can be done through
configuration somehow...
Cheers,
Richard
More information about the rb-general
mailing list