Re: [RFC PATCH] gcc: Improve reproducability when building cc1/cc1plus

2021-11-22 Thread Richard Biener via Gcc-patches
On Sat, Nov 20, 2021 at 9:43 AM Jacob Kroon via Gcc-patches wrote: > > On 11/20/21 09:32, Jakub Jelinek wrote: > > On Sat, Nov 20, 2021 at 12:24:21AM -0800, Andrew Pinski via Gcc-patches > > wrote: > >> On Sat, Nov 20, 2021 at 12:18 AM Jacob Kroon via Gcc-patches > >> wrote: > >>> > >>>

Re: [RFC PATCH] gcc: Improve reproducability when building cc1/cc1plus

2021-11-20 Thread Jacob Kroon via Gcc-patches
On 11/20/21 09:32, Jakub Jelinek wrote: On Sat, Nov 20, 2021 at 12:24:21AM -0800, Andrew Pinski via Gcc-patches wrote: On Sat, Nov 20, 2021 at 12:18 AM Jacob Kroon via Gcc-patches wrote: cc1/cc1plus both include a checksum of the object files, archives and options used during linking. Unless

Re: [RFC PATCH] gcc: Improve reproducability when building cc1/cc1plus

2021-11-20 Thread Jakub Jelinek via Gcc-patches
On Sat, Nov 20, 2021 at 12:24:21AM -0800, Andrew Pinski via Gcc-patches wrote: > On Sat, Nov 20, 2021 at 12:18 AM Jacob Kroon via Gcc-patches > wrote: > > > > cc1/cc1plus both include a checksum of the object files, archives and > > options used during linking. Unless the host binutils has been

Re: [RFC PATCH] gcc: Improve reproducability when building cc1/cc1plus

2021-11-20 Thread Andrew Pinski via Gcc-patches
On Sat, Nov 20, 2021 at 12:18 AM Jacob Kroon via Gcc-patches wrote: > > cc1/cc1plus both include a checksum of the object files, archives and > options used during linking. Unless the host binutils has been built > with --enable-deterministic-archives, the archives will have different > checksums

[RFC PATCH] gcc: Improve reproducability when building cc1/cc1plus

2021-11-20 Thread Jacob Kroon via Gcc-patches
cc1/cc1plus both include a checksum of the object files, archives and options used during linking. Unless the host binutils has been built with --enable-deterministic-archives, the archives will have different checksums each build due to changes in timestamps of the containing object files, and