Page MenuHomeFreeBSD

ar: enable reproducible output by default when invoked as `ar -s`
ClosedPublic

Authored by emaste on Jun 16 2016, 5:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 3, 10:01 PM
Unknown Object (File)
Jun 1 2026, 10:45 AM
Unknown Object (File)
May 31 2026, 8:49 AM
Unknown Object (File)
May 29 2026, 1:24 PM
Unknown Object (File)
May 10 2026, 7:35 PM
Unknown Object (File)
May 10 2026, 6:20 PM
Unknown Object (File)
May 9 2026, 5:15 PM
Unknown Object (File)
May 8 2026, 7:27 PM
Subscribers
None

Details

Summary

ar output is currently deterministic by default for ar -q and ar -r, and when invoked as ranlib. Make ar -s equivalent to ranlib and enable deterministic output by default in that case too.

PR 210330 https://bugs.freebsd.org/210330

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to ar: enable reproducible output by default when invoked as `ar -s`.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: bdrewery, bapt.
bdrewery edited edge metadata.

"Invoking ar with the -s option alone is equivalent to invoking ranlib." convinced me

This revision is now accepted and ready to land.Jun 16 2016, 5:58 PM
This revision was automatically updated to reflect the committed changes.