This is the mail archive of the glibc-cvs@sourceware.org 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 master updated. glibc-2.22-630-gd51442a


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, master has been updated
       via  d51442aacdbdb63e2f10815d843b551a9291d7a5 (commit)
      from  d46256f440fef7e3ee49d2e2660c2eeb707437e9 (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 -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d51442aacdbdb63e2f10815d843b551a9291d7a5

commit d51442aacdbdb63e2f10815d843b551a9291d7a5
Author: John David Anglin <dave.anglin@bell.net>
Date:   Sun Nov 22 17:15:04 2015 -0500

    hppa: Define __NO_LONG_DOUBLE_MATH so headers are consistent with libm build [BZ #19270]
    
    The attached patch fixes BZ #19270 and the Debian gmt package now builds
    successfully.  Aside from the comment, the define of __NO_LONG_DOUBLE_MATH
    is similar to that in the generic version of glibc.
    
    Build tested on hppa-unknown-linux-gnu with no observed regressions.

diff --git a/ChangeLog b/ChangeLog
index 00a869c..c2c5af6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
+
+	[BZ #19270]
+	* sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
+
 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
 
 	[BZ #15421]
diff --git a/sysdeps/hppa/fpu/bits/mathdef.h b/sysdeps/hppa/fpu/bits/mathdef.h
index d189f4a..31f13e4 100644
--- a/sysdeps/hppa/fpu/bits/mathdef.h
+++ b/sysdeps/hppa/fpu/bits/mathdef.h
@@ -34,5 +34,10 @@ typedef double double_t;	/* `double' expressions are evaluated as
 
 #endif	/* ISO C99 */
 
-/* On hppa `long double' is 64-bits. */
-#undef __NO_LONG_DOUBLE_MATH
+#ifndef __NO_LONG_DOUBLE_MATH
+/* On hppa `long double' and `double' are 64-bits.  So, libm is built
+   with NO_LONG_DOUBLE defined.  The following define ensures the library
+   and headers are consistent.  This disables the declaration of all the
+   `long double' function variants.  */
+# define __NO_LONG_DOUBLE_MATH	1
+#endif

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                       |    5 +++++
 sysdeps/hppa/fpu/bits/mathdef.h |    9 +++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
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]