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, Apr 2, 12:35 AM
Unknown Object (File)
Feb 18 2024, 8:31 AM
Unknown Object (File)
Dec 27 2023, 5:32 AM
Unknown Object (File)
Dec 27 2023, 5:29 AM
Unknown Object (File)
Dec 20 2023, 12:43 AM
Unknown Object (File)
Dec 4 2023, 7:18 PM
Unknown Object (File)
Nov 26 2023, 2:05 PM
Unknown Object (File)
Nov 26 2023, 12:05 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