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.21-82-gbe80295


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  be802953a103bfd502d696f1418e2bef1b450be2 (commit)
      from  e5e72fe9cd17857c198020e847b253045d957e72 (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=be802953a103bfd502d696f1418e2bef1b450be2

commit be802953a103bfd502d696f1418e2bef1b450be2
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Feb 16 22:25:02 2015 +0000

    Fix MIPS _ABIO64 -Werror=undef build.
    
    I see an error
    
    ../sysdeps/mips/memcpy.S:209:68: error: "_ABIO64" is not defined [-Werror=undef]
     #if defined(_MIPS_SIM) && ((_MIPS_SIM == _ABIO32) || (_MIPS_SIM == _ABIO64))
                                                                        ^
    cc1: some warnings being treated as errors
    
    in MIPS builds.  This patch arranges for _ABIO64 to be defined with
    the same value as GCC uses when building for O64 (the ABI itself isn't
    supported by glibc, but defining the macro seems the simplest way of
    avoiding the error in code that may be shared with other C libraries).
    
    	* sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.

diff --git a/ChangeLog b/ChangeLog
index b7926c4..c09d9f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
+
 	* sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
 	[defined _COMPILING_NEWLIB].
 	* sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
diff --git a/sysdeps/mips/sgidefs.h b/sysdeps/mips/sgidefs.h
index 1a9f7b0..9fb3b37 100644
--- a/sysdeps/mips/sgidefs.h
+++ b/sysdeps/mips/sgidefs.h
@@ -69,4 +69,8 @@
 #endif
 #define _MIPS_SIM_ABI64		_ABI64
 
+#ifndef _ABIO64
+# define _ABIO64		4
+#endif
+
 #endif /* sgidefs.h */

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

Summary of changes:
 ChangeLog              |    2 ++
 sysdeps/mips/sgidefs.h |    4 ++++
 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]