Bug#1000945: binutils-riscv64-unknown-elf: reproducible builds: Enable deterministic archives

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Dec 1 02:53:08 GMT 2021


Package: binutils-riscv64-unknown-elf
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps toolchain
Control: affects -1 gcc-riscv64-unknown-elf
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org, keithp at keithp.com

binutils-riscv64-unknown-elf is not built with deterministic archives enabled,
which causes reproducibility issues in packages using it:

  https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_static_libraries_issue.html

The attached patch adds --enable-deterministic-archives to the configure
arguments in debian/rules.

FWIW, the --enable-deterministic-archives feature was enabled Debian's "binutils"
package in 2015.

With this feature enabled in binutils-riscv64-unknown-elf, it makes
gcc-riscv64-unknown-elf much closer to building reproducibly when using
a stable build path.

Thanks for maintaining binutils-riscv64-unknown-elf!

live well,
  vagrant

p.s. this feels a bit like deja-vu, only the architecture has changed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Pass-enable-deterministic-archives-to-c.patch
Type: text/x-diff
Size: 735 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211130/74e64bc0/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211130/74e64bc0/attachment-0001.sig>


More information about the Reproducible-bugs mailing list