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.27.9000-187-gd3da750


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  d3da750d019d458355af602936d01901ba14f11c (commit)
      from  a5df0318ef30a4dcff3fa2cb82265f641813d9ea (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=d3da750d019d458355af602936d01901ba14f11c

commit d3da750d019d458355af602936d01901ba14f11c
Author: Zack Weinberg <zackw@panix.com>
Date:   Sun Mar 11 14:09:30 2018 -0400

    nldbl-compat.c: Include math.h before nldbl-compat.h.
    
    Jeff Law noticed that native PowerPC builds were broken by my having
    made math_ldbl_opt.h not include math.h.  nldbl-compat.c formerly got
    math.h via libioP.h and math_ldbl_opt.h, *without* __NO_LONG_DOUBLE_MATH;
    after my change it got it via nldbl-compat.h *with* __NO_LONG_DOUBLE_MATH,
    but __NO_LONG_DOUBLE_MATH mode is forbidden on hosts that define
    __HAVE_DISTINCT_FLOAT128, so the build breaks.  This is the quick fix.
    
    	* sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
    	before nldbl-compat.h.

diff --git a/ChangeLog b/ChangeLog
index 395f4e5..eda37a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-03-11  Zack Weinberg  <zackw@panix.com>
+
+	* sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
+	before nldbl-compat.h.
+
 2018-03-10  Zack Weinberg  <zackw@panix.com>
 
 	* sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
diff --git a/sysdeps/ieee754/ldbl-opt/nldbl-compat.c b/sysdeps/ieee754/ldbl-opt/nldbl-compat.c
index bf54090..ffb5fab 100644
--- a/sysdeps/ieee754/ldbl-opt/nldbl-compat.c
+++ b/sysdeps/ieee754/ldbl-opt/nldbl-compat.c
@@ -20,6 +20,7 @@
 #include <stdarg.h>
 #include <stdio.h>
 #include <libioP.h>
+#include <math.h>
 #include <wchar.h>
 #include <printf.h>
 #include <monetary.h>

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

Summary of changes:
 ChangeLog                               |    5 +++++
 sysdeps/ieee754/ldbl-opt/nldbl-compat.c |    1 +
 2 files changed, 6 insertions(+), 0 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]