Your message dated Sat, 16 Apr 2011 18:18:25 +0000
with message-id <[email protected]>
and subject line Bug#623015: fixed in sprng 2.0a-7
has caused the Debian Bug report #623015,
regarding sprng: FTBFS on mips/mipsel, use old assembly constraints
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.)
--
623015: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623015
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sprng
Version: 2.0a-6
Severity: serious
Tags: patch
Since GCC 4.4 it's not possible anymore to use the 'h' constraints for
MIPS inline assembly code when doing a multiplication. That's why sprng
fails to build from source on mips and mipsel.
That said GCC supports 32x32 => 64 multiplication on 32-bit architecture
for a lot of time, so there is no need to use assembly code for that.
The patch below fixes the problem by using standard multiplication
instead of assembly code.
diff -u sprng-2.0a/SRC/pmlcg/longlong.h sprng-2.0a/SRC/pmlcg/longlong.h
--- sprng-2.0a/SRC/pmlcg/longlong.h
+++ sprng-2.0a/SRC/pmlcg/longlong.h
@@ -701,23 +701,12 @@
#endif /* __m88000__ */
#if defined (__mips__) && W_TYPE_SIZE == 32
-#if __GNUC__ > 2 || __GNUC_MINOR__ >= 7
-#define umul_ppmm(w1, w0, u, v) \
- __asm__ ("multu %2,%3" \
- : "=l" ((USItype)(w0)), \
- "=h" ((USItype)(w1)) \
- : "d" ((USItype)(u)), \
- "d" ((USItype)(v)))
-#else
-#define umul_ppmm(w1, w0, u, v) \
- __asm__ ("multu %2,%3"
- "\n mflo %0"
- "\n mfhi %1" \
- : "=d" ((USItype)(w0)), \
- "=d" ((USItype)(w1)) \
- : "d" ((USItype)(u)), \
- "d" ((USItype)(v)))
-#endif
+#define umul_ppmm(w1, w0, u, v) \
+ do { \
+ UDItype __x = (UDItype) (USItype) (u) * (USItype) (v); \
+ (w1) = (USItype) (__x >> 32); \
+ (w0) = (USItype) (__x); \
+ } while (0)
#define UMUL_TIME 10
#define UDIV_TIME 100
#endif /* __mips__ */
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: mips (mips64)
Kernel: Linux 2.6.32-5-5kc-malta
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
Source: sprng
Source-Version: 2.0a-7
We believe that the bug you reported is fixed in the latest version of
sprng, which is due to be installed in the Debian FTP archive:
libsprng2-dev_2.0a-7_i386.deb
to main/s/sprng/libsprng2-dev_2.0a-7_i386.deb
libsprng2-doc_2.0a-7_all.deb
to main/s/sprng/libsprng2-doc_2.0a-7_all.deb
libsprng2_2.0a-7_i386.deb
to main/s/sprng/libsprng2_2.0a-7_i386.deb
sprng_2.0a-7.diff.gz
to main/s/sprng/sprng_2.0a-7.diff.gz
sprng_2.0a-7.dsc
to main/s/sprng/sprng_2.0a-7.dsc
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.
Dirk Eddelbuettel <[email protected]> (supplier of updated sprng 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, 16 Apr 2011 12:25:34 -0500
Source: sprng
Binary: libsprng2 libsprng2-dev libsprng2-doc
Architecture: source i386 all
Version: 2.0a-7
Distribution: unstable
Urgency: low
Maintainer: Dirk Eddelbuettel <[email protected]>
Changed-By: Dirk Eddelbuettel <[email protected]>
Description:
libsprng2 - The SPRNG Scalable Parallel RNG library -- library package
libsprng2-dev - The SPRNG Scalable Parallel RNG library -- development package
libsprng2-doc - The SPRNG Scalable Parallel RNG library -- documentation
package
Closes: 623015
Changes:
sprng (2.0a-7) unstable; urgency=low
.
* SRC/pmlcg/longlong.h: Applied patch kindly supplied by Aurelien Jarno
to address builds on mips/mipsel with recent gcc versions (>= 4.4)
(Closes: #623015)
Checksums-Sha1:
4a8f9810fa5741e9a3abedf1669d77d097da69a4 965 sprng_2.0a-7.dsc
43cfc362b7e233d28f78e1334a05d413c8fcc46d 8192 sprng_2.0a-7.diff.gz
c25eec07035f26ad773b4913a9ca21f3f147c0c6 92688 libsprng2_2.0a-7_i386.deb
d3736f0bcb05b70ea76d3d0efc600ad9eea8c104 98740 libsprng2-dev_2.0a-7_i386.deb
a8853386a282c772094ead44943efc215d546bbb 1197252 libsprng2-doc_2.0a-7_all.deb
Checksums-Sha256:
0042c906a96487687a326354cc4c0105233ba33b7d39438cee216a4c7235f9be 965
sprng_2.0a-7.dsc
32854f99a40080e489e4bf50a278ea1b1ce976c75dcae53270be983f64a5a6cb 8192
sprng_2.0a-7.diff.gz
2d19006e843be5b8b072e4666cd717528182863c5a581e2c46cdca2f370c593a 92688
libsprng2_2.0a-7_i386.deb
ecc2b240d2898477aec71d9745c555ebacb1dcfa13e4dc36b32ca3335619f0f9 98740
libsprng2-dev_2.0a-7_i386.deb
95fad3c98ad6eae4c76dc7056f0c53cdeb05a57822c92cc668640c21fef1000c 1197252
libsprng2-doc_2.0a-7_all.deb
Files:
1046f3fdb5028d1ea8b95dfd167cb17d 965 math optional sprng_2.0a-7.dsc
5d13dca166b7bcb7822ba3c3fb0b1cfa 8192 math optional sprng_2.0a-7.diff.gz
aa5fdeb5ff8b01eeda25ba3742b50e88 92688 math optional libsprng2_2.0a-7_i386.deb
3affab6a794dbcf3053e437f30b01d81 98740 libdevel optional
libsprng2-dev_2.0a-7_i386.deb
c591e8c0c605b4fc52112bc24d0132c2 1197252 doc optional
libsprng2-doc_2.0a-7_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFNqdFMCZSR95Gw07cRArqsAKCYvSvME2e4hImusmLa5S32y9bySACgjnSr
sbN1G4ybpmF2+eME+pW/wmk=
=0CnP
-----END PGP SIGNATURE-----
--- End Message ---