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: Sat, 18 Jun 2022 09:55:01 +0300

 Christos Zoulas wrote:
 > In bsd.sys.mk:
 > ....
 > # XXX: Cannot handle MAKEOBJDIR, yet.
 > REPROFLAGS+=    -fdebug-regex-map='/usr/src/(.*)/obj$$=/usr/obj/\1'
 > REPROFLAGS+=    -fdebug-regex-map='/usr/src/(.*)/obj/(.*)=/usr/obj/\1/\2'
 > REPROFLAGS+=    -fdebug-regex-map='/usr/src/(.*)/obj\..*=/usr/obj/\1'
 > REPROFLAGS+=    -fdebug-regex-map='/usr/src/(.*)/obj\..*/(.*)=/usr/obj/\1/\2'
 > ...
 > 
 > So we only really handle objdirs that start with "obj." or are plain "obj" and this is what
 > 
 > OBJMACHINE=
 > OBJMACHINE_ARCH=
 > 
 > do.
 
 It's still not entirely clear to me how this is supposed to translate
 to a build.sh command line - I'm guessing "use -M, not -O"?
 
 In any case, this discussion has strayed from the bug the PR was
 originally about, so we should probably take it elsewhere and
 close the PR.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index