Page MenuHomeFreeBSD

elfcopy: use elftc_timestamp, to support SOURCE_DATE_EPOCH

Authored by emaste on Aug 24 2016, 2:33 PM.
Referenced Files
Unknown Object (File)
Sun, Nov 26, 2:05 PM
Unknown Object (File)
Sun, Nov 26, 12:05 AM
Unknown Object (File)
Fri, Nov 24, 8:06 AM
Unknown Object (File)
Oct 4 2023, 7:11 AM
Unknown Object (File)
Sep 26 2023, 1:58 PM
Unknown Object (File)
Jun 24 2023, 8:39 PM
Unknown Object (File)
Jun 11 2023, 10:05 AM
Unknown Object (File)
May 30 2023, 1:35 PM



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 Skipped
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