Your message dated Sat, 03 Dec 2011 13:49:27 +0000
with message-id <[email protected]>
and subject line Bug#650545: fixed in gmp-ecm 6.3-11
has caused the Debian Bug report #650545,
regarding gmp-ecm: FTBFS on i386 due to SSE2
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.)
--
650545: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650545
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gmp-ecm
Version: 6.3-10
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu precise ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
Grab patch from upstream SVN to fix FTBFS on i386 with SSE2 by correctly
detecting that -msse2 needs to be used.
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers precise-updates
APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
'precise')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-generic-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru gmp-ecm-6.3/debian/patches/0004-Fix-SSE2-support.patch gmp-ecm-6.3/debian/patches/0004-Fix-SSE2-support.patch
--- gmp-ecm-6.3/debian/patches/0004-Fix-SSE2-support.patch 1969-12-31 19:00:00.000000000 -0500
+++ gmp-ecm-6.3/debian/patches/0004-Fix-SSE2-support.patch 2011-11-30 13:58:51.000000000 -0500
@@ -0,0 +1,50 @@
+Description: Fix compilation with SSE2 by passing -msse2
+Origin: https://gforge.inria.fr/scm/viewvc.php?view=rev&root=ecm&revision=1546
+
+Index: gmp-ecm-6.3/configure.in
+===================================================================
+--- gmp-ecm-6.3.orig/configure.in 2010-07-28 03:24:22.000000000 -0400
++++ gmp-ecm-6.3/configure.in 2011-11-30 13:41:13.285859861 -0500
+@@ -275,9 +275,9 @@
+ AC_MSG_CHECKING([for SSE2 support])
+ m4_define([SSE2_TEST_PROG], [AC_LANG_PROGRAM([], dnl
+ [#if (defined(__GNUC__) || defined(__ICL)) && defined(__i386__)
+-/* When there are no constraints, registers are referred to by
+- single % sign, not double. Argh */
+-asm volatile ("pmuludq %xmm2, %xmm0");
++/* On some machines, a program without constraints may pass without -msse2 but
++ those with constraints in spv.c fail, thus we test with constraints here. */
++asm volatile ("pmuludq %%xmm2, %%xmm0" : : :"%xmm0");
+ #else
+ #error
+ #IRIXdoesnotexitaterrordirective
+Index: gmp-ecm-6.3/configure
+===================================================================
+--- gmp-ecm-6.3.orig/configure 2011-11-30 13:24:16.000000000 -0500
++++ gmp-ecm-6.3/configure 2011-11-30 13:47:47.545864034 -0500
+@@ -11844,9 +11844,9 @@
+ main ()
+ {
+ #if (defined(__GNUC__) || defined(__ICL)) && defined(__i386__)
+-/* When there are no constraints, registers are referred to by
+- single % sign, not double. Argh */
+-asm volatile ("pmuludq %xmm2, %xmm0");
++/* On some machines, a program without constraints may pass without -msse2 but
++ those with constraints in spv.c fail, thus we test with constraints here. */
++asm volatile ("pmuludq %%xmm2, %%xmm0" : : :"%xmm0");
+ #else
+ #error
+ #IRIXdoesnotexitaterrordirective
+@@ -11868,9 +11868,9 @@
+ main ()
+ {
+ #if (defined(__GNUC__) || defined(__ICL)) && defined(__i386__)
+-/* When there are no constraints, registers are referred to by
+- single % sign, not double. Argh */
+-asm volatile ("pmuludq %xmm2, %xmm0");
++/* On some machines, a program without constraints may pass without -msse2 but
++ those with constraints in spv.c fail, thus we test with constraints here. */
++asm volatile ("pmuludq %%xmm2, %%xmm0" : : :"%xmm0");
+ #else
+ #error
+ #IRIXdoesnotexitaterrordirective
diff -Nru gmp-ecm-6.3/debian/patches/series gmp-ecm-6.3/debian/patches/series
--- gmp-ecm-6.3/debian/patches/series 2011-09-26 17:53:55.000000000 -0400
+++ gmp-ecm-6.3/debian/patches/series 2011-11-30 13:40:56.000000000 -0500
@@ -1,3 +1,4 @@
0001-Link-libecm.so-against-libgmp.patch
0002-Disable-assembly-on-mips.patch
0003-Rerun-autoreconf.patch
+0004-Fix-SSE2-support.patch
--- End Message ---
--- Begin Message ---
Source: gmp-ecm
Source-Version: 6.3-11
We believe that the bug you reported is fixed in the latest version of
gmp-ecm, which is due to be installed in the Debian FTP archive:
gmp-ecm_6.3-11.debian.tar.gz
to main/g/gmp-ecm/gmp-ecm_6.3-11.debian.tar.gz
gmp-ecm_6.3-11.dsc
to main/g/gmp-ecm/gmp-ecm_6.3-11.dsc
gmp-ecm_6.3-11_amd64.deb
to main/g/gmp-ecm/gmp-ecm_6.3-11_amd64.deb
libecm-dev_6.3-11_amd64.deb
to main/g/gmp-ecm/libecm-dev_6.3-11_amd64.deb
libecm0_6.3-11_amd64.deb
to main/g/gmp-ecm/libecm0_6.3-11_amd64.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.
Laurent Fousse <[email protected]> (supplier of updated gmp-ecm 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: Sat, 03 Dec 2011 14:12:50 +0100
Source: gmp-ecm
Binary: gmp-ecm libecm0 libecm-dev
Architecture: source amd64
Version: 6.3-11
Distribution: unstable
Urgency: low
Maintainer: Laurent Fousse <[email protected]>
Changed-By: Laurent Fousse <[email protected]>
Description:
gmp-ecm - Factor integers using the Elliptic Curve Method
libecm-dev - Factor integers using the Elliptic Curve Method (library)
libecm0 - Factor integers using the Elliptic Curve Method (library)
Closes: 650545
Changes:
gmp-ecm (6.3-11) unstable; urgency=low
.
* Fix SSE2-related FTBFS, thanks Michael Terry for the patch
(closes: #650545).
Checksums-Sha1:
a675a16741cebef95b8b902ba9f60e65a8220206 1171 gmp-ecm_6.3-11.dsc
9368ec27a466d40740fdede10a975983f3569d8a 71553 gmp-ecm_6.3-11.debian.tar.gz
bcfde7c9aa95894e2fe9ffd26a8f96fbf09541a4 119926 gmp-ecm_6.3-11_amd64.deb
ca700a78a48a338cb68f11020ea9811cabd7f259 227234 libecm0_6.3-11_amd64.deb
ae1ed2106a02d63229d11d47798cc32939163e6a 257466 libecm-dev_6.3-11_amd64.deb
Checksums-Sha256:
087690599242addfb9df3d8ed2e6af0e1fe9b92e578b4a6815666ccef7e60575 1171
gmp-ecm_6.3-11.dsc
5eab83d2474da9e4fbd75d99c0b205e93553ee27faa4b0b7c6d3cf8600b0ab4c 71553
gmp-ecm_6.3-11.debian.tar.gz
f72db690a1d82e62842a0ec278ce7b6b730c6e560f6842a3aaf4b54c22b80b8c 119926
gmp-ecm_6.3-11_amd64.deb
afbef5888e587da8efdd335467439a11e4fc8567a857049856484d0922913099 227234
libecm0_6.3-11_amd64.deb
ecc8cc66ee2e3350b72913b4221debd55d33d859cc7e8978324696dbfe65dfb5 257466
libecm-dev_6.3-11_amd64.deb
Files:
2c14315ac8faf8f70e925694baeb87d7 1171 math optional gmp-ecm_6.3-11.dsc
b32ce12a406bace774b7e0651b975b37 71553 math optional
gmp-ecm_6.3-11.debian.tar.gz
beb549a20543ca7bdcb66cd7ee549300 119926 math optional gmp-ecm_6.3-11_amd64.deb
6db14a60869ed550be7c252722c6f5d8 227234 libs optional libecm0_6.3-11_amd64.deb
00c85993df211c45c31e4c07d577e57b 257466 libdevel optional
libecm-dev_6.3-11_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk7aJPcACgkQRoAVF6FpbSvIDgCeMZzVLhtribzCCvbyRZlvqX67
F/cAoIYqBo3niuYcJn6lwm5L2y+bo7G8
=plsL
-----END PGP SIGNATURE-----
--- End Message ---