Re: Build reproducibility of gcc @ NixOS

2021-04-02 Thread Tadeus Prastowo via Gcc
Hi Arthur, On Fri, Apr 2, 2021 at 6:45 PM Arthur Gautier wrote: > > On Fri, Apr 2, 2021 at 4:32 PM Tadeus Prastowo > wrote: > > > > Hi Arthur, > > > > On Fri, Apr 2, 2021 at 5:04 PM Arthur Gautier > > wrote: > > > > > > Hi Tadeus, > > > > > > On Fri, Apr 2, 2021 at 9:07 AM Tadeus Prastowo >

Re: Build reproducibility of gcc @ NixOS

2021-04-02 Thread Arthur Gautier
On Fri, Apr 2, 2021 at 4:32 PM Tadeus Prastowo wrote: > > Hi Arthur, > > On Fri, Apr 2, 2021 at 5:04 PM Arthur Gautier > wrote: > > > > Hi Tadeus, > > > > On Fri, Apr 2, 2021 at 9:07 AM Tadeus Prastowo > > wrote: [...] > > By "the manual", do you refer to > https://gcc.gnu.org/install/build.htm

Re: Build reproducibility of gcc @ NixOS

2021-04-02 Thread Tadeus Prastowo via Gcc
Hi Arthur, On Fri, Apr 2, 2021 at 5:04 PM Arthur Gautier wrote: > > Hi Tadeus, > > On Fri, Apr 2, 2021 at 9:07 AM Tadeus Prastowo > wrote: [...] > > Since an optimized build is likely to be machine-dependent regardless > > of any intended injection (e.g., different instructions used in GCC >

Re: Build reproducibility of gcc @ NixOS

2021-04-02 Thread Arthur Gautier
Hi Tadeus, On Fri, Apr 2, 2021 at 9:07 AM Tadeus Prastowo wrote: > > Hi Arthur, > > On Fri, Apr 2, 2021 at 5:56 AM Arthur Gautier > wrote: > > > > Dear GCC development team, > > > > We've been trying to build reproducibly the minimal NixOS image, and > > gcc was one of the last issues we had. >

Re: Build reproducibility of gcc @ NixOS

2021-04-02 Thread Tadeus Prastowo via Gcc
Hi Arthur, On Fri, Apr 2, 2021 at 5:56 AM Arthur Gautier wrote: > > Dear GCC development team, > > We've been trying to build reproducibly the minimal NixOS image, and > gcc was one of the last issues we had. > We found that disabling profiled bootstrap compilation of GCC allowed > us to get a re

Build reproducibility of gcc @ NixOS

2021-04-01 Thread Arthur Gautier
Dear GCC development team, We've been trying to build reproducibly the minimal NixOS image, and gcc was one of the last issues we had. We found that disabling profiled bootstrap compilation of GCC allowed us to get a reproducible build of gcc. Our efforts can be followed here: https://github.com/N