Your message dated Thu, 18 Apr 2019 17:32:08 +0000
with message-id <[email protected]>
and subject line Bug#922453: fixed in cernlib 20061220+dfsg3-4.3+deb9u1
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 [email protected]
immediately.)
--
922453: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922453
Debian Bug Tracking System
Contact [email protected] 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 <[email protected]>
Pour : Matthias Klose <[email protected]>, Gilles Filippini <[email protected]>
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
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: cernlib
Source-Version: 20061220+dfsg3-4.3+deb9u1
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gilles Filippini <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 16 Feb 2019 12:17:12 +0100
Source: cernlib
Binary: cernlib-base-dev cernlib-base cernlib-core-dev cernlib-core
cernlib-extras cernlib dzedit kuipc kxterm libgraflib1-dev libgraflib1-gfortran
libgrafx11-1-dev libgrafx11-1-gfortran libkernlib1-dev libkernlib1-gfortran
libmathlib2-dev libmathlib2-gfortran libpacklib-lesstif1-dev
libpacklib-lesstif1-gfortran libpacklib1-dev libpacklib1-gfortran nypatchy
pawserv zftp
Architecture: source
Version: 20061220+dfsg3-4.3+deb9u1
Distribution: stretch
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Gilles Filippini <[email protected]>
Description:
cernlib - CERNLIB data analysis suite - general use metapackage
cernlib-base - CERNLIB data analysis suite - common files
cernlib-base-dev - CERNLIB data analysis suite - dependencies checking script
cernlib-core - CERNLIB data analysis suite - main libraries and programs
cernlib-core-dev - CERNLIB data analysis suite - core development files
cernlib-extras - CERNLIB data analysis suite - extra programs
dzedit - CERNLIB data analysis suite - ZEBRA documentation editor
kuipc - CERNLIB data analysis suite - KUIP compiler
kxterm - CERNLIB data analysis suite - KUIP terminal emulator
libgraflib1-dev - CERNLIB data analysis suite - graphical library (development
file
libgraflib1-gfortran - CERNLIB data analysis suite - graphical library
libgrafx11-1-dev - CERNLIB data analysis suite - interface to X11 and
PostScript (de
libgrafx11-1-gfortran - CERNLIB data analysis suite - interface to X11 and
PostScript
libkernlib1-dev - CERNLIB data analysis suite - core library of basic
functions (de
libkernlib1-gfortran - CERNLIB data analysis suite - core library of basic
functions
libmathlib2-dev - CERNLIB data analysis suite - core mathematical library
(developm
libmathlib2-gfortran - CERNLIB data analysis suite - core mathematical library
libpacklib-lesstif1-dev - CERNLIB data analysis suite - core GUI library
(development files
libpacklib-lesstif1-gfortran - CERNLIB data analysis suite - core GUI library
libpacklib1-dev - CERNLIB data analysis suite - core library (development
files)
libpacklib1-gfortran - CERNLIB data analysis suite - core library
nypatchy - CERNLIB data analysis suite - patch pre-processor for source code
pawserv - CERNLIB data analysis suite - distributed PAW and file transfer s
zftp - CERNLIB data analysis suite - file transfer program
Closes: 922453
Changes:
cernlib (20061220+dfsg3-4.3+deb9u1) stretch; urgency=medium
.
* Backport for stretch of the fix for #922453 bringed by 20061220+dfsg3-4.4
* 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 <[email protected]>)
Checksums-Sha1:
eb33e1bfda4b5d14690ddcdda9220003f6e0c3d6 3349
cernlib_20061220+dfsg3-4.3+deb9u1.dsc
8ff7e674849adcd61f93343c1094f0f5f02f63db 169100
cernlib_20061220+dfsg3-4.3+deb9u1.debian.tar.xz
38c69d9bdc3ef94ed7dd40b2700e8733b30c5d02 7343
cernlib_20061220+dfsg3-4.3+deb9u1_source.buildinfo
Checksums-Sha256:
c199218e204b306b404e178ec9ce91c50ae5a7fa35c3aee7f593d5b3169b70b2 3349
cernlib_20061220+dfsg3-4.3+deb9u1.dsc
1f9e230c7d142e875141c76f6a4d81ebc7c8a68aee22d33b99880e499a134ed0 169100
cernlib_20061220+dfsg3-4.3+deb9u1.debian.tar.xz
3722ea34c70baa58a4521965bdf0a4dc8d8c041bd76f428a87960fd13c95807b 7343
cernlib_20061220+dfsg3-4.3+deb9u1_source.buildinfo
Files:
8a1afe8eb3554208f1618c4b3c99998e 3349 science optional
cernlib_20061220+dfsg3-4.3+deb9u1.dsc
1c18b06a99555603f70ec9815ed045e4 169100 science optional
cernlib_20061220+dfsg3-4.3+deb9u1.debian.tar.xz
35444861dcbfef81a284c7e33d0f29c9 7343 science optional
cernlib_20061220+dfsg3-4.3+deb9u1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFEBAEBCgAuFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAly2CfYQHHBpbmlAZGVi
aWFuLm9yZwAKCRDv6Gxsf/7Pg8QPB/0fRjiKd8ohiyIqVX8ebpGiuJW41KEznEdd
/D/G4YElcE/L3sUhAzvyVIHAm5jKUI0xcsxRsQHr2NoWDB0cvCjN5cudYjYr0awq
9oMl84ryKh1iIoPAVTULpail41fq/QFfwm9tCOfFfecRCRZpXEm6aevkBhDztJRD
7AFprww2kybHIcPl0UaLHfEKLxQ7XkVW7PSZqDt5DnoOj7YYR0mkXEdg88pghbun
0A2ShFejIRR/YvOZ9aaNUJ0PaCQYs3hnvbnbhB7WxPBffoppEC7GcRY29aif5LJN
TWILbgeiRVwHeNzShFDVz40LSO0V1plNV6++DXuMaKhI5WZHio0F
=orpl
-----END PGP SIGNATURE-----
--- End Message ---