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.24-327-g0cb9dcc


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  0cb9dcc8f226ab5116df42e0e1fff06e10a85b45 (commit)
      from  9032070deaa03431921315f973c548c2c403fecc (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=0cb9dcc8f226ab5116df42e0e1fff06e10a85b45

commit 0cb9dcc8f226ab5116df42e0e1fff06e10a85b45
Author: Carlos O'Donell <carlos@redhat.com>
Date:   Wed Nov 2 13:01:36 2016 -0400

    Bug 20729: Fix build failures on ppc64 and other arches.
    
    The changes to fix bug 20729 introduced an error which removed an
    ignore diagnostic from -O2 by using the new -Os related macro.
    This broke ppc64 builds. This commit fixes the mistake.
    
    Tested on x86, x86_64, ppc64, ppc64le, arm, aarch64, and s390x.

diff --git a/ChangeLog b/ChangeLog
index e16451a..920396a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2016-11-02  Florian Weimer  <fweimer@redhat.com>
+	    Carlos O'Donell  <carlos@redhat.com>
+
+	[Bug #20729]
+	* resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
+	change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
+	for -Os related change.
+
 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
 
 	* stdio-common/tst-printf.c: Ignore -Wformat-length warning.
diff --git a/resolv/res_send.c b/resolv/res_send.c
index 4ec8c1a..e96d5d4 100644
--- a/resolv/res_send.c
+++ b/resolv/res_send.c
@@ -664,7 +664,7 @@ send_vc(res_state statp,
 	   a false-positive.
 	 */
 	DIAG_PUSH_NEEDS_COMMENT;
-	DIAG_IGNORE_Os_NEEDS_COMMENT (5, "-Wmaybe-uninitialized");
+	DIAG_IGNORE_NEEDS_COMMENT (5, "-Wmaybe-uninitialized");
 	int resplen;
 	DIAG_POP_NEEDS_COMMENT;
 	struct iovec iov[4];
@@ -937,7 +937,7 @@ reopen (res_state statp, int *terrno, int ns)
 		   the function return -1 before control flow reaches
 		   the call to connect with slen.  */
 		DIAG_PUSH_NEEDS_COMMENT;
-		DIAG_IGNORE_NEEDS_COMMENT (5, "-Wmaybe-uninitialized");
+		DIAG_IGNORE_Os_NEEDS_COMMENT (5, "-Wmaybe-uninitialized");
 		if (connect(EXT(statp).nssocks[ns], nsap, slen) < 0) {
 		DIAG_POP_NEEDS_COMMENT;
 			Aerror(statp, stderr, "connect(dg)", errno, nsap);

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

Summary of changes:
 ChangeLog         |    8 ++++++++
 resolv/res_send.c |    4 ++--
 2 files changed, 10 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]