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

Bug#920022: marked as done (gfortran: doesn't generate reproducibly the same object file for an unchanged fortran source file)



Your message dated Sat, 13 Feb 2021 13:07:12 +0000
with message-id <[🔎] E1lAudk-0000FN-1x@fasolo.debian.org>
and subject line Bug#954831: Removed package(s) from unstable
has caused the Debian Bug report #920022,
regarding gfortran: doesn't generate reproducibly the same object file for an unchanged fortran source file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
920022: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920022
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gfortran
Version: 4:8.2.0-2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I'm filing this bug against gfortran because I can't find any related
piece of information anywhere about this reproducibility problem.

I'm just one step to achieve the Reproducible builds goal for the code-saturne
package, but I'm stuck with unreproducible fortran builds [1].

[1] https://tests.reproducible-builds.org/debian/dbdtxt/unstable/armhf/code-saturne_5.3.1+repack-8.diffoscope.txt.gz

I've narrowed the problem to - at least - one source file: src/base/clptur.f90.

Steps to reproduce:
1- Run a first build code-saturne 5.3.1+repack-8 against unstable
2- In the src/base subdirectory, run this command several times:
gfortran -I../../src -I../../src/alge -I../../src/atmo -I../../src/cfbl -I../../src/cogz -I../../src/comb -I../../src/ctwr -I../../src/darc -I../../src/elec -I../../src/lagr -I../../src/pprt -I../../src/rayt -I../../src/turb -I../../src/user -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=$(readlink -f ../..)=. -fstack-protector-strong -fopenmp -c clptur.f90  -fPIC -o .libs/clptur.o 2>/dev/null && readelf -a .libs/clptur.o | grep ntlast && ls -l .libs/clptur.o

Here is an example of what I obtain after two runs in a row:

$ gfortran -I../../src -I../../src/alge -I../../src/atmo -I../../src/cfbl -I../../src/cogz -I../../src/comb -I../../src/ctwr -I../../src/darc -I../../src/elec -I../../src/lagr -I../../src/pprt -I../../src/rayt -I../../src/turb -I../../src/user -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=$(readlink -f ../..)=. -fstack-protector-strong -fopenmp -c clptur.f90  -fPIC -o .libs/clptur.o 2>/dev/null && readelf -a .libs/clptur.o | grep ntlast && ls -l .libs/clptur.o         
     9: 0000000000000000     4 OBJECT  LOCAL  DEFAULT    3 ntlast.4720
- -rw-rw-r-- 1 pini pini 182504 Jan 21 09:07 .libs/clptur.o
$ gfortran -I../../src -I../../src/alge -I../../src/atmo -I../../src/cfbl -I../../src/cogz -I../../src/comb -I../../src/ctwr -I../../src/darc -I../../src/elec -I../../src/lagr -I../../src/pprt -I../../src/rayt -I../../src/turb -I../../src/user -O -x f95-cpp-input -Wall -pedantic-errors -std=f2003 -fdiagnostics-color=auto -g -O2 -fdebug-prefix-map=$(readlink -f ../..)=. -fstack-protector-strong -fopenmp -c clptur.f90  -fPIC -o .libs/clptur.o 2>/dev/null && readelf -a .libs/clptur.o | grep ntlast && ls -l .libs/clptur.o         
     9: 0000000000000000     4 OBJECT  LOCAL  DEFAULT    3 ntlast.4722
- -rw-rw-r-- 1 pini pini 182536 Jan 21 09:07 .libs/clptur.o

First, the size of the generated object file isn't always the same.
Second, the symbol generated for the 'ntlast' variable varies from
'ntlast.4719' to 'ntlast.4722'.

Any help appreciated.
Thanks in advance,

_g.

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAlxF9rcACgkQ7+hsbH/+
z4MQWgf+JKMSRT8sqgV1l1naPxacMoDEt+Cy698QmNUzS1ez7cn+O1KIUFeqkBwe
H+Qr6RX0EnkxC3PYuIC2BU6PVD3uAJVo4NI0x4wtKlhc2r/hXODfJyUykDnxSnHr
V36FA/tYwx/ilQDEhv1Dd0u3yKwlDW2K80xTbFroxJ/CcywO/PwcG4Knq1wVAUsp
tr5WI4i5u/ewEWGvXKkov1nGfLgGxqx4oA3QF116tyCvYPxv92PXY7PL4PzRxJwZ
KlXAPad/9HklQc9eqi5gH8t2w/f1ITghmMTg0ddJVsT2odIn6FZm6zk7pShyUhdk
3uifKCKldTV32EmqKdvUEhQwNXAfsA==
=uMKT
-----END PGP SIGNATURE-----

--- End Message ---
--- Begin Message ---
Version: 1:8.4.0-7+rm

Dear submitter,

as the package gcc-8 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/954831

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)

--- End Message ---

Reply to: