Re: Found the source of non-reproducible builds from gfortran
[email protected] (Christos Zoulas) Thu, 5 Feb 2026 16:40:11 -0000 (UTC)
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
In article <[email protected]>, <[email protected]> wrote: >Hi, > >mrg mentioned that gfortran seems to be breaking reproducible builds, we >get references to the command line, and we use absolute paths(?), so a >failure may look as follows: > >$ gfortran /tmp/hello.f90; strings --all a.out |grep tmp >/tmp/hello.f90 > >I came across the following unmerged patch submitted to GCC: >https://gcc.gnu.org/pipermail/gcc-patches/2020-July/549413.html > >I can confirm that commenting out code in set_error_locus in >gcc/fortran/trans-io.cc seems to make this reference go away. Does the patch fix the problem? Because I fixed it differently. Best, christos