Bug#889133: gfortran-7: gfortran mod files include full paths, making software bit unreproducible
On 02.02.2018 10:23, Alastair McKinstry wrote:
> Package: gfortran-7
> Version: 0.7.2-1
> Severity: normal
> Tags: upstream patch
>
> gfortran creates binary .mod and .smod files. These are compressed files, which look like:
> (viewed with e.g. zmore /usr/include/cgns.mod ):
>
> GFORTRAN module version '14' created from /build/libcgns-XmhIxt/libcgns-3.3.0/src/cgns_f.F90
> (() () () () () () () () () () () () () () () () () () () () () () () ()
> () () ())
>
> The full path of the compiled fortran file is included, which can break reproducible builds.
>
> A trivial patch is included, to strip the path.
Please could you take this upstream to the fortran and gcc mailing lists? I'd
rather like to see something like
-fdebug-prefix-map=
which should go upstream.
Reply to: