Your message dated Sat, 16 Feb 2019 13:04:08 +0000
with message-id <e1guzdy-000ehu...@fasolo.debian.org>
and subject line Bug#922453: fixed in cernlib 20061220+dfsg3-4.4
has caused the Debian Bug report #922453,
regarding cernlib: fortran modules must be compiled with no stronger 
optimization than -O1 (aka -O)
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 ow...@bugs.debian.org
immediately.)


-- 
922453: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922453
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: cernlib
Version: 20061220+dfsg3-4.3
Severity: grave
Justification: renders package unusable
Tags: patch


-------- Message transféré --------
Sujet : cernlib (20061220+dfsg3-4.3build1) misbehaves on x86_64
Date : Mon, 4 Feb 2019 00:52:08 +0100
De : Jacek M. Holeczek <jacek.m.holec...@gmail.com>
Pour : Matthias Klose <d...@ubuntu.com>, Gilles Filippini <p...@debian.org>

Hi,
I tried to use the cernlib related executables on an Ubuntu 18.04 /
x86_64 / gcc 7.3.0.
I have found that the "pawX11" misbehaves.
The problem is related to the used fortran optimization flag.
By default it is now "-O3" but this is producing misbehaving libraries.
I tried to rebuild everything using "-O2" but they still misbehaved.
Finally, after I switched to "-O" (i.e. "-O1"), they started to behave
properly.
Please find attached a small patch file which tries to ensure that the
fortran source code will be compiled with "-O" (and not "-O3" nor "-O2").
Hope it helps,
Best regards,
Jacek.

diff -Naur 
cernlib-20061220+dfsg3.original/debian/patches/102-dont-optimize-some-code.dpatch
 cernlib-20061220+dfsg3/debian/patches/102-dont-optimize-some-code.dpatch
--- 
cernlib-20061220+dfsg3.original/debian/patches/102-dont-optimize-some-code.dpatch
   2017-08-06 19:23:39.000000000 +0000
+++ cernlib-20061220+dfsg3/debian/patches/102-dont-optimize-some-code.dpatch    
2019-02-03 21:49:52.638404057 +0000
@@ -20,7 +20,7 @@
 +#endif
 +
 +/* GCC 7 on 64bit targets, see https://gcc.gnu.org/PR81723 */
-+SpecialFortranLibObjectRule(cwerf64,cwerf64,-O2,NullParameter)
++SpecialFortranLibObjectRule(cwerf64,cwerf64,-O,NullParameter)
 diff -urNad cernlib-2006.dfsg.2~/src/mathlib/gen/d/Imakefile 
cernlib-2006.dfsg.2/src/mathlib/gen/d/Imakefile
 --- cernlib-2006.dfsg.2~/src/mathlib/gen/d/Imakefile   1996-06-12 
08:25:38.000000000 -0700
 +++ cernlib-2006.dfsg.2/src/mathlib/gen/d/Imakefile    2008-02-22 
12:06:26.000000000 -0800
diff -Naur 
cernlib-20061220+dfsg3.original/debian/patches/126-fix-patchy-compile-flags.dpatch
 cernlib-20061220+dfsg3/debian/patches/126-fix-patchy-compile-flags.dpatch
--- 
cernlib-20061220+dfsg3.original/debian/patches/126-fix-patchy-compile-flags.dpatch
  2013-08-24 09:16:07.000000000 +0000
+++ cernlib-20061220+dfsg3/debian/patches/126-fix-patchy-compile-flags.dpatch   
2019-02-03 21:48:36.151806615 +0000
@@ -76,7 +76,7 @@
  
 -      PARAMETER   (CHPOF = '-c -O -fno-automatic')
 -      PARAMETER   (CHPOC = '-c -O2 -m486')
-+      PARAMETER   (CHPOF = '-c -g -O2 -fno-automatic')
++      PARAMETER   (CHPOF = '-c -g -O -fno-automatic')
 +      PARAMETER   (CHPOC = '-c -g -O2')
        PARAMETER   (CHPOA = ' ')
  
diff -Naur 
cernlib-20061220+dfsg3.original/debian/patches/304-update-Imake-config-files.dpatch
 cernlib-20061220+dfsg3/debian/patches/304-update-Imake-config-files.dpatch
--- 
cernlib-20061220+dfsg3.original/debian/patches/304-update-Imake-config-files.dpatch
 2015-09-09 01:24:30.000000000 +0000
+++ cernlib-20061220+dfsg3/debian/patches/304-update-Imake-config-files.dpatch  
2019-02-03 21:47:38.208869466 +0000
@@ -1794,7 +1794,7 @@
 +
 +#ifdef AMD64Architecture
 +# ifndef OptimizationLevel
-+#  define OptimizationLevel   -O3
++#  define OptimizationLevel   -O
 +# endif
 +# ifndef OptimizedCDebugFlags
 +#  define OptimizedCDebugFlags  OptimizationLevel

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: cernlib
Source-Version: 20061220+dfsg3-4.4

We believe that the bug you reported is fixed in the latest version of
cernlib, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 922...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gilles Filippini <p...@debian.org> (supplier of updated cernlib package)

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


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

Format: 1.8
Date: Sat, 16 Feb 2019 12:17:12 +0100
Source: cernlib
Architecture: source
Version: 20061220+dfsg3-4.4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Gilles Filippini <p...@debian.org>
Closes: 922453
Changes:
 cernlib (20061220+dfsg3-4.4) unstable; urgency=medium
 .
   * Non-maintainer upload
   * 126-fix-patchy-compile-flags.dpatch 304-update-Imake-config-files.dpatch:
     fix these patches to apply optimization flag -O to fortran modules
     instead of -O2 which generates broken code (closes: #922453; thanks to
     Jacek M. Holeczek <jacek.m.holec...@gmail.com>)
Checksums-Sha1:
 5a2a7ad2b62a1acbbfa5329714d25b30c3cdd83d 3321 cernlib_20061220+dfsg3-4.4.dsc
 ae54c5aa627d83a7193328da4331873a9325950b 169052 
cernlib_20061220+dfsg3-4.4.debian.tar.xz
 115374f91be97003cd1ef2a0678934e22d07137e 6830 
cernlib_20061220+dfsg3-4.4_source.buildinfo
Checksums-Sha256:
 5fcf263e60f2917b7fa08662234d205af96b71eec4701991412a885492b82415 3321 
cernlib_20061220+dfsg3-4.4.dsc
 aa29b122064171df60b6651d00bde9ca262a9eb8432358605b845bac3151445b 169052 
cernlib_20061220+dfsg3-4.4.debian.tar.xz
 58fad1e052b8d5eac0cf97d8cb2d92d7caed8bf0e503957437332c9ff22c181e 6830 
cernlib_20061220+dfsg3-4.4_source.buildinfo
Files:
 3a458fbf487dd36218538809cba7f8fa 3321 science optional 
cernlib_20061220+dfsg3-4.4.dsc
 1931bd82ca530d110bf866ef18f14203 169052 science optional 
cernlib_20061220+dfsg3-4.4.debian.tar.xz
 e3b4e77ef483a96caf82bfccdaa7fcda 6830 science optional 
cernlib_20061220+dfsg3-4.4_source.buildinfo

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

iQFEBAEBCgAuFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAlxoB3gQHHBpbmlAZGVi
aWFuLm9yZwAKCRDv6Gxsf/7PgzkpB/40CXDuvsQlMjSVMNDUYRmaoY2RRcPbWSE8
8J9eyyZRiI/15xK84g/qaQyVBCSzKbEQ/sRy3w6oMMBdARiTUnTODqG4t5RD/b1t
wP1+jC523RSre1atsQakrtK+3iDghTvuXcyde4vYdAAaRUE1si4xepD+r8FT4gwo
zo8kzQKCFO14Y+6ICpErUldjM3zEWaFO4gp2TqGYnHTAP4Lt6x8HFpC13Ps/20Y+
XoJB2rVn1r7PYOvx+K2/Me9sf2qbadbmPNGqLyDBzPnlOqu59Q5iUiQOrcqhIs3f
aL6YE0fZjmbOnx3WJkk1w86Qvof7lbA71k+g9w6nIykHkQ6ZYyZh
=8asZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to