[Reproducible-builds] GCC patch reviewed. Proposed mail for gcc-patches mailing list

Jérémy Bobbio lunar at debian.org
Tue Nov 10 12:44:59 UTC 2015

Santiago Vila:
> I have very mixed feelings about this kind of patches.
> I fear that by modifying gcc to hide the improper usage of __DATE__
> and __TIME__, we could be removing an incentive for maintainers and
> authors to write software which is truly reproducible, i.e. we run
> the risk of people thinking in the line of "Oh, I will not care about
> my program using __TIME__ or __DATE__ because gcc will take care of
> that".

Well, I still would like to push to add `-Wdate-time` to our default set
of CFLAGS. Even with Dhole's patch, developpers would see the warning
and ask themselves if it's the right thing to do.

I think for this precise case, that's a good compromise.

Also, I'm pretty sure that if the GCC team merges support for
SOURCE_DATE_EPOCH, we could get a similar patch merged to LLVM.

Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151110/b1114d51/attachment.sig>

More information about the Reproducible-builds mailing list