Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#45935 - [binutils] build with --enable-deterministic-archives for reproducibility
Attached to Project:
Arch Linux
Opened by Remi Gacogne (rgacogne) - Sunday, 09 August 2015, 12:34 GMT
Last edited by Allan McRae (Allan) - Wednesday, 12 August 2015, 08:21 GMT
Opened by Remi Gacogne (rgacogne) - Sunday, 09 August 2015, 12:34 GMT
Last edited by Allan McRae (Allan) - Wednesday, 12 August 2015, 08:21 GMT
|
DetailsLooking at reproducible builds for core packages (based on work done by Allan), I noticed that static libraries contain a timestamp based on the build time. This could be avoided by building binutils with --enable-deterministic-archives, thus instructing ar, ranlib, strip and objcopy to remove (or replace with 0 ) useless timestamp whenever possible.
It seems that binutils is now built with this option in both Debian [0] and Red Hat [1], so with a bit of luck we should not have too much trouble should we decide to enable it. [0]: https://wiki.debian.org/ReproducibleBuilds/TimestampsInStaticLibraries [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1124342 |
This task depends upon
Closed by Allan McRae (Allan)
Wednesday, 12 August 2015, 08:21 GMT
Reason for closing: Implemented
Additional comments about closing: binutils-2.25.1-3
Wednesday, 12 August 2015, 08:21 GMT
Reason for closing: Implemented
Additional comments about closing: binutils-2.25.1-3
Comment by Allan McRae (Allan) -
Sunday, 09 August 2015, 12:54 GMT
I'll do this once the toolchain leaves [testing]