Your message dated Thu, 05 Jan 2012 20:52:19 +0000
with message-id <[email protected]>
and subject line Bug#638356: fixed in icon 9.4.3-4
has caused the Debian Bug report #638356,
regarding FTBFS on s390x/sh4/sparc64: uses type-punning
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.)
--
638356: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638356
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: icon
Version: 9.4.3-3
Severity: important
Tags: patch
Justification: fails to build from source
User: [email protected]
Usertags: s390x
icon fails to build on s390x with errors in the testsuite, as the code
is wrong compiled by GCC. The problem is not in GCC itself, but by the
fact that the code uses type-punning, which is not allowed (and reported
as warnings).
Currently the problem is workaround by compiling with -O0 on a set of
architectures that is virtually all architectures, except the new ones
being developed. The patch below removes the test on the architecture,
and only disable the optimisations that breaks the code. That way the
resulting code is still optimised, but it works. The real solution would
be to remove type-punning though.
Would it be possible to add the following patch in your next upload?
Thanks in advance.
diff -u icon-9.4.3/debian/rules icon-9.4.3/debian/rules
--- icon-9.4.3/debian/rules
+++ icon-9.4.3/debian/rules
@@ -21,13 +21,8 @@
endif
endif
-CFLAGS_OPT = -O2
-
-ifneq (, $(filter $(DEB_HOST_ARCH_CPU), alpha hppa ia64 mips mipsel \
- powerpc s390 sparc amd64 i386 \
-
arm armel armeb ppc64 ))
- CFLAGS_OPT = -O0
-endif
+# The current code use type-punning and signed overflow
+CFLAGS_OPT = -O2 -fno-strict-aliasing -fno-strict-overflow
ifneq (, $(filter $(DEB_HOST_ARCH_OS), linux kfreebsd knetbsd))
system = linux
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: s390x
Kernel: Linux 3.0.0-1-s390x (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
Source: icon
Source-Version: 9.4.3-4
We believe that the bug you reported is fixed in the latest version of
icon, which is due to be installed in the Debian FTP archive:
icon-ipl_9.4.3-4_all.deb
to main/i/icon/icon-ipl_9.4.3-4_all.deb
icon_9.4.3-4.diff.gz
to main/i/icon/icon_9.4.3-4.diff.gz
icon_9.4.3-4.dsc
to main/i/icon/icon_9.4.3-4.dsc
iconc_9.4.3-4_i386.deb
to main/i/icon/iconc_9.4.3-4_i386.deb
icont_9.4.3-4_i386.deb
to main/i/icon/icont_9.4.3-4_i386.deb
iconx_9.4.3-4_i386.deb
to main/i/icon/iconx_9.4.3-4_i386.deb
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.
Christian Hudon <[email protected]> (supplier of updated icon 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: SHA1
Format: 1.8
Date: Thu, 05 Jan 2012 14:11:49 -0500
Source: icon
Binary: icont iconx iconc icon-ipl
Architecture: source all i386
Version: 9.4.3-4
Distribution: unstable
Urgency: medium
Maintainer: Christian Hudon <[email protected]>
Changed-By: Christian Hudon <[email protected]>
Description:
icon-ipl - Libraries for Icon, a high-level programming language
iconc - Compiler for Icon, a high-level programming language
icont - Interpreter for Icon, a high-level programming language
iconx - Executor for Icon, a high-level programming language
Closes: 638356
Changes:
icon (9.4.3-4) unstable; urgency=medium
.
* Apply patch from Aurelien Jarno: instead of disabling all optimizations
on a special-cased subset of architectures, use -O2 but disable the
individual optimizations that cause problem. Do this on all architectures.
Fixes FTBFS (because of test failures) on s390x. (Closes: #638356)
Checksums-Sha1:
4888c7b3b80dcb3ad00742ff9ea30f994aed049d 1082 icon_9.4.3-4.dsc
7f77188e2da1551898660aa340aa2e81ab37f2c0 13188 icon_9.4.3-4.diff.gz
8ca33469a4e2d4ffb023a6bbc5dfcdf0eafd80dd 1415678 icon-ipl_9.4.3-4_all.deb
dd6768284fe1bc9800fc7d3d5dd10db2a8d41b90 51328 icont_9.4.3-4_i386.deb
5849f23e07301fdaf40d976bb7ba7099ef1cef1a 190990 iconx_9.4.3-4_i386.deb
f99fa0d9c752271820a86ce2c56bdfa93b5f3a89 1575726 iconc_9.4.3-4_i386.deb
Checksums-Sha256:
0539a6d4cfc346eb11d6325fcf05e3fbc724a6b8a40b477134f351e7a3b03c4c 1082
icon_9.4.3-4.dsc
c27d48876d306f0e578b288b200a62220cf290027b1fd5bc8d2bc94b9f854499 13188
icon_9.4.3-4.diff.gz
e10da4938f69d6bbc74013334ac44f4c5a69d54a3877fb7872968c13ebbd87ca 1415678
icon-ipl_9.4.3-4_all.deb
b625b1a481758d1768192668ab565f735de9abbffffd4dadae80e0f34b51e6f0 51328
icont_9.4.3-4_i386.deb
8eab2c005552de74a374de4670a3e01ef785a77a8b3c4cb6594503f99346846f 190990
iconx_9.4.3-4_i386.deb
d521fa7a6b2a40f3c4e46d26d9269de4328214779d5dd6f08ae4c1e4f3b54e6f 1575726
iconc_9.4.3-4_i386.deb
Files:
4f85a22838313b4de3c3e14a272e3bf5 1082 devel optional icon_9.4.3-4.dsc
7d835c1c727bf1496a6463947a237937 13188 devel optional icon_9.4.3-4.diff.gz
a86f3178c6e78c3dec951b938f64072f 1415678 devel optional
icon-ipl_9.4.3-4_all.deb
ba457141ba620d8399623362834030d5 51328 devel optional icont_9.4.3-4_i386.deb
81457b5ead34af5f1ed9f7dd61b3cafe 190990 devel optional iconx_9.4.3-4_i386.deb
3c997f31d9d338f43c11174331c3e859 1575726 devel optional iconc_9.4.3-4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk8F/vwACgkQmo2+8mg5b9JAzQCePYVezZ+m+Cr3dU4GPoI/1pVh
BXAAoIWlNYPn+rM6DDMCHHV292y2aXMM
=fUZ7
-----END PGP SIGNATURE-----
--- End Message ---