This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/22432] Non-deterministic build


https://sourceware.org/bugzilla/show_bug.cgi?id=22432

--- Comment #2 from Juro Bystricky <juro.bystricky at intel dot com> ---
(In reply to Dmitry V. Levin from comment #1)
> (In reply to Juro Bystricky from comment #0)
> > GIT does not preserve modification times of files on checkout, so I don't
> > see how the above rule can work reliably (deterministically).
> 
> Consider running the git-set-file-times script
> (https://git.samba.org/?p=rsync.git;a=blob_plain;f=support/git-set-file-
> times)
> to set each file's last-modified time based on its last commit.


Wouldn't it make more sense to remove the rule entirely? Once you are aware of
the problem, it is easy to avoid it even without the script. However, I think
most people are not aware of the issue and will not use the script (by default)
when building glibc. So IMHO this should be either fixed (i.e. remove the rule
entirely) or at least mentioned somewhere in README.

I can send in a patch if needed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]