> On Jun 17, 2022, at 9:45 AM, Andreas Gustafsson <gson%gson.org@localhost> wrote: > > It would be nice if Christos could answer the question I asked on > 16 Nov 2020; it seems to me that there is an opportunity for an > alternative fix involving fewer local modifications to gcc. But the > present fix does work, and if you want to close the PR, I won't > object. I don't know. I don't see the string $NETBSDSRCDIR using readelf --debug-dump 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 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 :-) This is not the only patch that we have for gcc though: --debug-regex-map is more complicated and still needed to handle OBJDIRs... cvs diff -r FSF in /usr/src/external/gpl3/gcc/dist is instructive :-) A lot of that should be upstreamed... christos
Attachment:
signature.asc
Description: Message signed with OpenPGP