Disabling timestamps, was Re: [PATCH roland/Versions.def]....
Carlos O'Donell
carlos@redhat.com
Fri Mar 14 22:16:00 GMT 2014
On 03/14/2014 06:03 PM, Brooks Moses wrote:
> On 03/14/2014 01:28 PM, Carlos O'Donell wrote:
>> I've built a pristine glibc, and a glibc with this patch.
>>
>> Installed both and compared.
>>
>> No real differences in installed files.
>>
>> I had to disable build-id's and use hexdump to rule out timestamp
>> changes in executables. The static archives had only differences in
>> their archive names because of the different install paths.
>
> This suggests a related point -- we have a local patch to turn off
> the date stamp in csu/Makefile, as part of our process of doing
> repeatable builds.
>
> Is there any interest in having this upstream? The local patch is
> really trivial, but an upstream version would want a configure option
> and would need some additional pieces to ensure determinism (most
> notably, including "D" as an ar option, and presumably doing
> something with build-ids if one is using a GCC where they're normally
> enabled).
I'd be interested in having more repeatable builds.
Anything that simplifies that process of comparing two builds is good
step in the right direction.
If the only difference is debug information, then I'm going to be
happy.
Cheers,
Carlos.
More information about the Libc-alpha
mailing list