Your message dated Sat, 17 May 2014 18:18:53 +0000
with message-id <[email protected]>
and subject line Bug#748361: fixed in m4 1.4.17-4
has caused the Debian Bug report #748361,
regarding m4: build tests are failing on ppc64el
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.)


-- 
748361: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748361
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: m4
Version: 1.4.17-2
Severity: normal
Tags: upstream patch

Dear Maintainer,

I've noticed build tests are failing on ppc64el.

In Ubuntu, the attached patch was applied to fix the issue (Fix detection of floating point endianness).

Thanks for considering the patch.

Erwan Prioul.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information

Description: Fix detection of floating point endianness
 See https://lists.gnu.org/archive/html/bug-gnulib/2013-12/msg00104.html
Author: Alan Modra <[email protected]>
Author: Colin Watson <[email protected]>
Forwarded: no
Last-Update: 2013-12-18

Index: b/tests/test-isnanl.h
===================================================================
--- a/tests/test-isnanl.h
+++ b/tests/test-isnanl.h
@@ -24,6 +24,12 @@
 #include "nan.h"
 #include "macros.h"
 
+#ifdef __FLOAT_WORD_ORDER__
+# define FLOAT_BIG_ENDIAN (__FLOAT_WORD_ORDER__ != __ORDER_LITTLE_ENDIAN__)
+#else
+# define FLOAT_BIG_ENDIAN (LDBL_EXPBIT0_WORD < NWORDS / 2)
+#endif
+
 int
 main ()
 {
@@ -56,10 +62,10 @@
 # if LDBL_EXPBIT0_BIT > 0
     m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1);
 # else
-    m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)]
+    m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)]
       ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
 # endif
-    m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)]
+    m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)]
       |= (unsigned int) 1 << LDBL_EXPBIT0_BIT;
     ASSERT (isnanl (m.value));
   }
Index: b/tests/test-signbit.c
===================================================================
--- a/tests/test-signbit.c
+++ b/tests/test-signbit.c
@@ -36,6 +36,12 @@
 double zerod = 0.0;
 long double zerol = 0.0L;
 
+#ifdef __FLOAT_WORD_ORDER__
+# define FLOAT_BIG_ENDIAN (__FLOAT_WORD_ORDER__ != __ORDER_LITTLE_ENDIAN__)
+#else
+# define FLOAT_BIG_ENDIAN (LDBL_EXPBIT0_WORD < NWORDS / 2)
+#endif
+
 static void
 test_signbitf ()
 {
@@ -156,10 +162,10 @@
 # if LDBL_EXPBIT0_BIT > 0
     m.word[LDBL_EXPBIT0_WORD] ^= (unsigned int) 1 << (LDBL_EXPBIT0_BIT - 1);
 # else
-    m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)]
+    m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)]
       ^= (unsigned int) 1 << (sizeof (unsigned int) * CHAR_BIT - 1);
 # endif
-    m.word[LDBL_EXPBIT0_WORD + (LDBL_EXPBIT0_WORD < NWORDS / 2 ? 1 : - 1)]
+    m.word[LDBL_EXPBIT0_WORD + (FLOAT_BIG_ENDIAN ? 1 : - 1)]
       |= (unsigned int) 1 << LDBL_EXPBIT0_BIT;
     (void) signbit (m.value);
     #undef NWORDS


--- End Message ---
--- Begin Message ---
Source: m4
Source-Version: 1.4.17-4

We believe that the bug you reported is fixed in the latest version of
m4, 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.
Santiago Vila <[email protected]> (supplier of updated m4 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: Sat, 17 May 2014 20:00:16 +0200
Source: m4
Binary: m4 m4-doc
Architecture: source amd64 all
Version: 1.4.17-4
Distribution: unstable
Urgency: medium
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Description: 
 m4         - macro processing language
 m4-doc     - Documentation for GNU m4
Closes: 748361
Changes: 
 m4 (1.4.17-4) unstable; urgency=medium
 .
   * Fixed lintian warning "description-synopsis-starts-with-article".
   * Fix detection of floating point endianness. Closes: #748361.
     This should make build tests to work again on ppc64el.
     Patch from Alan Modra taken from Ubuntu. Thanks a lot.
     Note: This is really a gnulib problem.
   * Updated config.guess and config.sub.
Checksums-Sha1: 
 4def7879dba0f320d35e1ffeebdf068d7d210184 1412 m4_1.4.17-4.dsc
 55c4d42e8d132ff2349d35f24bb72d698e717ad4 9572 m4_1.4.17-4.debian.tar.xz
 3f6c171c527024fa05d0b8087bd1c7cf21766184 254238 m4_1.4.17-4_amd64.deb
 e2b6e381220bb7fa341fd6adb9958d24a9072e20 175654 m4-doc_1.4.17-4_all.deb
Checksums-Sha256: 
 5b668aa9c59b053a1ff7a7bccda986f2d4cf1702e42d80cace78eeced9518ef8 1412 
m4_1.4.17-4.dsc
 6ceab2d3c2d1d7a7ab083b134df1aaf083f93b0ac1346a4eeb5dafbdc9418a06 9572 
m4_1.4.17-4.debian.tar.xz
 68123bced6e4323fcd077e189a8154607426517d3a5f9cb8e1fc092b4b27f905 254238 
m4_1.4.17-4_amd64.deb
 8fe3a691e78c378c8cb9b9131749cd09869785f5ca21452bb8ae8cfdb929ed7f 175654 
m4-doc_1.4.17-4_all.deb
Files: 
 57dbe69646459c8060410effba4536a4 254238 interpreters standard 
m4_1.4.17-4_amd64.deb
 aa9a268d00339ffb161b68b714b04e2e 175654 doc optional m4-doc_1.4.17-4_all.deb
 ccbcd3a315aef05ed00dccfd3316f1ec 1412 interpreters standard m4_1.4.17-4.dsc
 2dc8c65df20f575306b7aed2c667828e 9572 interpreters standard 
m4_1.4.17-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJTd6VrAAoJEEHOfwufG4sy7zcH/irx2yikjFUSy33iwnxcYavp
hmL4HrhXnIof3/DsDz4dV0xA3rpEbYIjN/yRpsT9DGmX2NuZRkcxiMASjpbea1oS
oeP0gx7zBdKrP8WP8hdwFmfbJDmxKbxBI/Zd5sNChxB5NFOENMWXmDzxdh/arPyO
jjAn9qkT7u3HanVu9htuD4q+SZwRuMubtev3gFE1W2BuwiWzx8Np7USJ6Mg8bNNJ
tjN0jCLIjRafcdzAC4fVy6d1BQiDBqf4/D6+MDZLoFM/K6/Oq5cCv5dC4eWeDmLc
xpDnRSeS326czms5Om6PLTjhv+ZVns43RAokjQta+rFzwCLCcPXo4XqLnUgeddY=
=KNun
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to