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
F176053488: D6871.id17645.diff
Thu, Oct 15, 4:20 PM
Unknown Object (File)
Sun, Oct 11, 8:20 PM
Unknown Object (File)
Sun, Oct 11, 2:53 PM
Unknown Object (File)
Wed, Sep 30, 2:52 PM
Unknown Object (File)
Sep 10 2026, 5:25 AM
Unknown Object (File)
Sep 6 2026, 10:56 AM
Unknown Object (File)
Sep 6 2026, 4:53 AM
Unknown Object (File)
Sep 5 2026, 4:07 AM
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.