Page MenuHomeFreeBSD

iasl: Remove date and time from -vd option, for reproducible build
AbandonedPublic

Authored by emaste on Dec 19 2016, 5:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 27 2023, 4:26 AM
Unknown Object (File)
Dec 23 2023, 9:53 AM
Unknown Object (File)
Nov 15 2023, 9:10 AM
Unknown Object (File)
Sep 30 2023, 7:27 PM
Unknown Object (File)
Sep 21 2023, 10:35 PM
Unknown Object (File)
Jun 15 2023, 8:14 PM
Unknown Object (File)
Jan 14 2023, 12:24 PM
Unknown Object (File)
Jan 14 2023, 12:24 PM
Subscribers

Details

Reviewers
jkim
Summary

iasl's use of __DATE__ and __TIME__ is one of two issues remaining preventing a reproducible build of FreeBSD world + kernel.

The build date and time is not particularly relevant, so just remove it (instead of pinning it to an arbitrary value, via e.g. SOURCE_DATE_EPOCH).

PR: 215421

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to iasl: Remove nonreproducible -vd (build date & time) option.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: jkim.
emaste added subscribers: bapt, jhb, gjb.
sys/contrib/dev/acpica/compiler/asloptions.c
728–729

I argue that this is not useful information and we're better off just omitting the option, but if prefered we could either change it to "%s Build date/time: unknown\n", ASL_COMPILER_NAME, or hard-code an arbitrary date/time.

emaste retitled this revision from iasl: Remove nonreproducible -vd (build date & time) option to iasl: Remove date and time from -vd option, for reproducible build.

Leave -vd in place, just remove the nonreproducible date and time