This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch release/2.25/master updated. glibc-2.25-60-g0fc015b

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, release/2.25/master has been updated
       via  0fc015b6db6a1591d2beecb98362f5de175a077f (commit)
      from  61bebc863e65afd994b08353f574c5df3fe8accc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------;a=commitdiff;h=0fc015b6db6a1591d2beecb98362f5de175a077f

commit 0fc015b6db6a1591d2beecb98362f5de175a077f
Author: Joseph Myers <>
Date:   Thu Oct 19 17:32:20 2017 +0000

    Install correct bits/long-double.h for MIPS64 (bug 22322).
    Similar to bug 21987 for SPARC, MIPS64 wrongly installs the ldbl-128
    version of bits/long-double.h, meaning incorrect results when using
    headers installed from a 64-bit installation for a 32-bit build.  (I
    haven't actually seen this cause build failures before its interaction
    with bits/floatn.h did so - installed headers wrongly expecting
    _Float128 to be available in a 32-bit configuration.)
    This patch fixes the bug by moving the MIPS header to
    sysdeps/mips/ieee754, which comes before sysdeps/ieee754/ldbl-128 in
    the sysdeps directory ordering.  (bits/floatn.h will need a similar
    fix - duplicating the ldbl-128 version for MIPS will suffice - for
    headers from a 32-bit installation to be correct for 64-bit builds.)
    Tested with (compilers build for
    mips64-linux-gnu, where there was previously a libstdc++ build failure
    as at
    	[BZ #22322]
    	* sysdeps/mips/bits/long-double.h: Move to ....
    	* sysdeps/mips/ieee754/bits/long-double.h: ... here.
    (cherry picked from commit 37bb78cb8c1fb6b5813407c8856b1557359e6343)

diff --git a/ChangeLog b/ChangeLog
index bdb9a9a..01fbb7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-10-19  Joseph Myers  <>
+	[BZ #22322]
+	* sysdeps/mips/bits/long-double.h: Move to ....
+	* sysdeps/mips/ieee754/bits/long-double.h: ... here.
 2017-10-22  H.J. Lu  <>
 	[BZ #21265]
diff --git a/NEWS b/NEWS
index 03adcc4..1879b73 100644
--- a/NEWS
+++ b/NEWS
@@ -28,6 +28,7 @@ The following bugs are resolved with this release:
   [21654] nss: Fix invalid cast in group merging
   [21778] Robust mutex may deadlock
   [21972] assert macro requires operator== (int) for its argument type
+  [22322] libc: [mips64] wrong bits/long-double.h installed
 Version 2.25
diff --git a/sysdeps/mips/bits/long-double.h b/sysdeps/mips/ieee754/bits/long-double.h
similarity index 100%
rename from sysdeps/mips/bits/long-double.h
rename to sysdeps/mips/ieee754/bits/long-double.h


Summary of changes:
 ChangeLog                                     |    6 ++++++
 NEWS                                          |    1 +
 sysdeps/mips/{ => ieee754}/bits/long-double.h |    0
 3 files changed, 7 insertions(+), 0 deletions(-)
 rename sysdeps/mips/{ => ieee754}/bits/long-double.h (100%)

GNU C Library master sources

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]