This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Disabling timestamps, was Re: [PATCH roland/Versions.def]....
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Brooks Moses <bmoses at google dot com>, libc-alpha <libc-alpha at sourceware dot org>
- Date: Fri, 14 Mar 2014 18:16:35 -0400
- Subject: Re: Disabling timestamps, was Re: [PATCH roland/Versions.def]....
- Authentication-results: sourceware.org; auth=none
- References: <20140228214559 dot BD8BF744B6 at topped-with-meat dot com> <53236661 dot 7070509 at redhat dot com> <53237C9C dot 2030504 at google dot com>
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.