NetBSD-Bugs archive

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

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




> On Jun 17, 2022, at 11:20 AM, Andreas Gustafsson <gson%gson.org@localhost> wrote:
> 
> 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.  */
> 

Then it should be fine. OTOH it is ~10 lines of code to do the expansion so it is not a big
issue anyway; also others had come up with the same patch in the past to solve the same
issue. The approach above is "hand hurts, cut hand instead".

> Well, some styles of OBJDIR.  If you use "build.sh -O", for example,
> the object directory paths still get embedded.

Yes, because only the "standard" objdir patterns are supported; any custom ones
will need to be added manually to the list. Perhaps there is a programmatic way
to do this, but it is complicated and probably not worth it :-)

christos

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index