Page MenuHomeFreeBSD

elfcopy: use elftc_timestamp, to support SOURCE_DATE_EPOCH
ClosedPublic

Authored by emaste on Aug 24 2016, 2:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 30, 1:35 PM
Unknown Object (File)
Sat, May 27, 10:02 AM
Unknown Object (File)
Mar 24 2023, 8:59 PM
Unknown Object (File)
Mar 5 2023, 12:26 AM
Unknown Object (File)
Feb 22 2023, 1:46 AM
Unknown Object (File)
Feb 18 2023, 7:46 PM
Unknown Object (File)
Jan 9 2023, 11:25 PM
Unknown Object (File)
Dec 19 2022, 12:33 AM
Subscribers
None

Details

Summary

Previously PE/COFF files could not be built reproducibly, because they embedded the current time. Now the reproducible builds standard environment variable SOURCE_DATE_EPOCH can be used to override the embedded timestamp.

(Note, this diff is against the upstream elftoolchain repo, and would make it into FreeBSD in a future vendor import.)

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to elfcopy: use elftc_timestamp, to support SOURCE_DATE_EPOCH.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
kaiw edited edge metadata.

Patch looks good to me!

This revision is now accepted and ready to land.Aug 30 2016, 9:55 PM