NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/55802 (Reproducible builds aren't)



The following reply was made to PR misc/55802; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: misc/55802 (Reproducible builds aren't)
Date: Fri, 17 Jun 2022 18:16:03 +0300

 Christos,
 
 You wrote:
 > in the files in /usr/libdata/debug on gcc-10.3 and gcc-9.3 systems
 > and I don't have anything older than that.
 
 I think these options are omitted from the dwarf output by
 this code in gen_producer_string() dwarf2out.c:
 
       case OPT_fdebug_prefix_map_:
       case OPT_fmacro_prefix_map_:
       [...]
         /* Ignore these.  */
 
 > I guess one way to test is to break it on purpose
 > (i.e. change the .mk file to expand the variable instead of having gcc do it,
 > then check the reproducible builds website after a week :-)
 
 Yes, that should work.
 
 > This is not the only patch that we have for gcc though: --debug-regex-map is more
 > complicated and still needed to handle OBJDIRs...
 
 Well, some styles of OBJDIR.  If you use "build.sh -O", for example,
 the object directory paths still get embedded.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index