This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: supporting deterministic 'ar'
On Wed, Feb 11, 2009 at 10:03, H.J. Lu <hjl.tools@gmail.com> wrote:
>> I'd also thought about repeatable, reproducible, ... but i like
>> deterministic best, yeah. 8-) if anybody has any better suggestions,
>> feel free to send them to me off-list.
>
> I have suggested "no-stamp".
Right, so, I didn't mean to make it seem like people had to repeat
existing suggestions... but I don't particularly like any of them.
This controls use of uid/gid as well as timestamps -- and other BFD
types might use the flag for similar purposes with different data.
When I think "stamp" I don't think UID/GID.
Also, the concept I'm trying to get across here is, "build
bit-identical outputs from bit-identical inputs." That's more general
than "no-stamp."
The reason why i like "deterministic" for this is because it states
clearly (at least to me): same input -> same output. (One might claim
that uid/gid and current time *are* inputs... I suspect most users
don't view them as such.)
thanks,
chris