[PATCH 1/1] BFD: Use SOURCE_DATE_EPOCH for COFF style armaps.

Jan Beulich jbeulich@suse.com
Tue Apr 21 15:45:56 GMT 2026


On 15.04.2026 23:57, Manuel Jacob wrote:
> Previously, ar created archives where the files have timestamps corresponding to SOURCE_DATE_EPOCH (if set), but the armap has a timestamp corresponding to the current system time. This change ensures that the armap has a timestamp corresponding to SOURCE_DATE_EPOCH as well (if set).
> 
> Per SOURCE_DATE_EPOCH specification [1]: “Build processes MUST use this variable for embedded timestamps in place of the "current" date and time.”
> 
> This change is not relevant when deterministic mode is enabled, since in that case, the armap timestamp will be set to 0, regardless of SOURCE_DATE_EPOCH.
> 
> [1] https://reproducible-builds.org/specs/source-date-epoch/
> 
> Signed-off-by: Manuel Jacob <me@manueljacob.de>

Okay.

Jan


More information about the Binutils mailing list