Your message dated Mon, 19 Mar 2018 21:34:21 +0000
with message-id <[email protected]>
and subject line Bug#893168: fixed in cln 1.3.4-3
has caused the Debian Bug report #893168,
regarding cln: fix ftbfs on mips r6
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.)
--
893168: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893168
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:cln
Version: 1.3.4-2
Control: forward -1
https://www.ginac.de/pipermail/cln-list/2018-March/000710.html
We are working on MIPS release 6 port of Debian, and fix a problem of cln.
MIPS release 6 is not full compatible with the previous releases, it removes
some instructions and changes encoding of some instruction.
the `multu' is included.
MIPS r6 drops `lo' and `hi' registers, and then removes `multu'/`mfhi'/`mflo'.
Instead it uses `mulu' to compute the low part and `muhu' to compute
the high part.
Index: cln-1.3.4/src/base/cl_low.h
===================================================================
--- cln-1.3.4.orig/src/base/cl_low.h
+++ cln-1.3.4/src/base/cl_low.h
@@ -273,10 +273,15 @@ inline uint32 mulu32_unchecked (uint32 a
unused (hi_zuweisung _hi); lo_zuweisung _lo; \
})
#elif defined(__GNUC__) && defined(__mips__) && !defined(NO_ASM)
+ #if __mips_isa_rev >= 6
+ #define MULTU_HI_LO "mulu %1,%3,%2 ; muhu %0,%3,%2"
+ #else
+ #define MULTU_HI_LO "multu %3,%2 ; mfhi %0 ; mflo %1"
+ #endif
#define mulu32(x,y,hi_zuweisung,lo_zuweisung) \
({ var register uint32 _hi; \
var register uint32 _lo; \
- __asm__("multu %3,%2 ; mfhi %0 ; mflo %1" \
+ __asm__(MULTU_HI_LO \
: "=r" (_hi), "=r" (_lo) \
: "r" ((uint32)(x)), "r" ((uint32)(y)) \
); \
Index: cln-1.3.4/src/base/digitseq/cl_asm_mips_.cc
===================================================================
--- cln-1.3.4.orig/src/base/digitseq/cl_asm_mips_.cc
+++ cln-1.3.4/src/base/digitseq/cl_asm_mips_.cc
@@ -88,9 +88,14 @@
DECLARE_FUNCTION(mulu32_)
.ent mulu32_ // Input in $4,$5, Output in $2,mulu32_high
mulu32_:
+#if __mips_isa_rev >= 6
+ mulu $2,$5,$4 // arg1 * arg2, lo
+ muhu $6,$5,$4 // arg1 * arg2, hi
+#else
multu $5,$4 // arg1 * arg2
mfhi $6 // hi
mflo $2 // lo
+#endif
sw $6,mulu32_high // hi abspeichern // Adressierung??
Deklaration??
j $31 // return
.end mulu32_
--
YunQiang Su
--- End Message ---
--- Begin Message ---
Source: cln
Source-Version: 1.3.4-3
We believe that the bug you reported is fixed in the latest version of
cln, 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.
Richard B. Kreckel <[email protected]> (supplier of updated cln 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: SHA256
Format: 1.8
Date: Mon, 19 Mar 2018 17:57:06 +0100
Source: cln
Binary: libcln6 libcln-dev pi
Architecture: source amd64
Version: 1.3.4-3
Distribution: unstable
Urgency: low
Maintainer: Richard Kreckel <[email protected]>
Changed-By: Richard B. Kreckel <[email protected]>
Description:
libcln-dev - Development library for Class Library for Numbers (c++)
libcln6 - Class Library for Numbers (C++)
pi - Compute Archimedes' constant Pi to arbitrary precision
Closes: 893168
Changes:
cln (1.3.4-3) unstable; urgency=low
.
* Apply upstream patch for MIPS release 6 port. (Closes: #893168)
Thanks to YunQiang Su for the patch.
Checksums-Sha1:
0d79b0b45f16059df19879ee7d0d5d082d35b80c 1817 cln_1.3.4-3.dsc
2fd264992570806a28172789503d7eb80281686d 7364 cln_1.3.4-3.debian.tar.xz
95f202aecc61850686febd114acf43ebc361c0c8 7404 cln_1.3.4-3_amd64.buildinfo
405733824b4ca17b6e51e8b05d1320f0b33b64b0 684496 libcln-dev_1.3.4-3_amd64.deb
1c1279571465689b519a6e524e83e3c20e09800c 10735952
libcln6-dbgsym_1.3.4-3_amd64.deb
a703555844260d840d3c6a984a36ec0fbd65c8cc 465580 libcln6_1.3.4-3_amd64.deb
4dfdd506bfaea6ee0e790e29f380139975a3dd06 33508 pi-dbgsym_1.3.4-3_amd64.deb
f6901b68732e1ef0be6b7c53813de694022a536e 10312 pi_1.3.4-3_amd64.deb
Checksums-Sha256:
b3f81ebcb6404d475d952e23c3ac6274f2cfc37eaab27b0dc17026ebe7c4e2bc 1817
cln_1.3.4-3.dsc
b88d2ee54e98fd5db9944796f5e910ee1e05a4be1f9874176c2a28918f685808 7364
cln_1.3.4-3.debian.tar.xz
ba23b32e62218a287f1b16cb301775b90a0eace263049397871c2ddc823b41bc 7404
cln_1.3.4-3_amd64.buildinfo
87ef6b751dc9162a2889717ca70dda6615e860c7d9c2bf8a49c212269670a7e6 684496
libcln-dev_1.3.4-3_amd64.deb
980f5f070f2fe4866c376c70bbd29fc1d25c8c06f0417c1b88b28be88ea073a2 10735952
libcln6-dbgsym_1.3.4-3_amd64.deb
bea570e3136e4075fdb26ae7cb27ff7cb44c2a7ddec15482a968faaf23614875 465580
libcln6_1.3.4-3_amd64.deb
e5db57be792c975b403c08bf52a71b79162cc8fe06976b616a722cd2d8cb3f1a 33508
pi-dbgsym_1.3.4-3_amd64.deb
d6c9f70fb5b3cd26ddf5b2b93ae24d8c4e46535152a10a74322daabbb9225bfb 10312
pi_1.3.4-3_amd64.deb
Files:
dd2155710917945186dad90f6c17b4db 1817 math optional cln_1.3.4-3.dsc
3169e1b849325e83b86b7900688f3aa4 7364 math optional cln_1.3.4-3.debian.tar.xz
4dec129b09300357bf2ec54c63fb81ff 7404 math optional cln_1.3.4-3_amd64.buildinfo
d9e491d92bd4874449fea8d9233529ce 684496 libdevel optional
libcln-dev_1.3.4-3_amd64.deb
7a4bc3c199f8c2aec0b5252841ca6c9c 10735952 debug optional
libcln6-dbgsym_1.3.4-3_amd64.deb
83cfbd630c937d337984af4768bbe586 465580 libs optional libcln6_1.3.4-3_amd64.deb
4eeaa1ddd55cdcead342fbe7696f1004 33508 debug optional
pi-dbgsym_1.3.4-3_amd64.deb
d363efc7766674cf04e5e44514607ebf 10312 math optional pi_1.3.4-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEELxwEo2l/3m4i/s6V8EC9TJPIWtIFAlqwKW8RHGtyZWNrZWxA
Z2luYWMuZGUACgkQ8EC9TJPIWtLU9BAAou+Z0j+Th0Uvas7DjWmNSzv2DBBFa11d
nfz2JEYqeDdKU4Pj6nQVa+UeLN3ad7qFMRH6WQ+0oVjv4UJJXRMbh8ATE1KdYSYi
P5HOquZN1s2v8+tGxSr5FLWlCen2pdZg6Ywh2uz2bDMeHMeaWsq4XnedOgeCOheo
vWUevnRYg7Q3yu0PktuLWNiSBgeoyce41ESDd1EMRUDKsRK/33CiEZv2LIzdVraG
krKuA1Xk0qs1Xewfdz2Axt76FcSz+67C9ICbLDrLQIq/HqgS0c2GPX/P0WtkbJgm
AWvzjptPLBXmypqGD9fGu8mjz9ffS4ULmGoSKF+0plk0RHdQS8MIc6c7U1YEoLSG
bbIpEKLRqpTdaq6CuGDB0seOAtHVkDRJ6pjq/dBjzXu0EBX1tb6Fx8tSE713rNGD
pXFLTAECPgBIfFrOFH/13rxfzDcMJvwLXtDZcP6B6nwHYLU7qd6MW8dt4KHWBVia
bkS5lZPBt9OM4m+YVNu+mXvIQe/iiOvMHReJcmphBZz+droGtOCaV5Wae6+tbjHS
ANV1fYEYCweAahOBXYrxqy4c4li8zn5ga9mAtotAPm+ZTQwhK37hhFHVk0woFwT/
XI8pcY04ZXz8PqE1MMLPKOhNeFwbdDhWKm0r14utEAYXhAyaYbOmMcVOTTmkscu3
SUmDLPRFq9M=
=9MGH
-----END PGP SIGNATURE-----
--- End Message ---