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.20-322-gc153ac9


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  c153ac9f1b6302a6e778f1480ca5ff593be245c5 (commit)
      from  2b89bce91e3c7c6113c3d8d3a52f87cafeafdfbf (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=c153ac9f1b6302a6e778f1480ca5ff593be245c5

commit c153ac9f1b6302a6e778f1480ca5ff593be245c5
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Dec 10 18:50:07 2014 +0000

    Fix MIPS waitid build.
    
    As previously discussed in
    <https://sourceware.org/ml/libc-alpha/2012-11/msg00798.html>, MIPS (o32)
    waitid has build warnings (now errors) because a function is declared
    inline but functions with five-argument syscalls cannot be inlined for
    MIPS o32.
    
    This patch disables the -Winline warnings for waitid.c using a
    MIPS-specific wrapper file.  As it's whole-file disabling, there's no
    point in using push and pop, so just DIAG_IGNORE_NEEDS_COMMENT is
    used.
    
    	* sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.

diff --git a/ChangeLog b/ChangeLog
index a99abbc..0e060b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
+
 	* sysdeps/unix/sysv/linux/mips/mips64/Makefile
 	[$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
 	[$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/waitid.c b/sysdeps/unix/sysv/linux/mips/mips32/waitid.c
new file mode 100644
index 0000000..c18a57c
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/mips/mips32/waitid.c
@@ -0,0 +1,7 @@
+#include <libc-internal.h>
+
+/* MIPS forces a frame pointer for five-argument syscalls using
+   alloca, so resulting in "inlining failed in call to 'do_waitid':
+   function not inlinable".  */
+DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Winline");
+#include <sysdeps/unix/sysv/linux/waitid.c>

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

Summary of changes:
 ChangeLog                                    |    2 ++
 sysdeps/unix/sysv/linux/mips/mips32/waitid.c |    7 +++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
 create mode 100644 sysdeps/unix/sysv/linux/mips/mips32/waitid.c


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]