This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.20-262-ga6f3079
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 Nov 2014 15:13:49 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.20-262-ga6f3079
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 a6f3079bfb8355b07bdc5eb578e2e77ff306a778 (commit)
from 706688aaefdeb48e63519525f11108ce14844a26 (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=a6f3079bfb8355b07bdc5eb578e2e77ff306a778
commit a6f3079bfb8355b07bdc5eb578e2e77ff306a778
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Nov 26 15:13:27 2014 +0000
Fix sysdeps/unix/sysv/linux/arm/libc-do-syscall.S warning.
This patch fixes a warning
../include/features.h:328:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
seen when building for ARM. This warning comes from libc-do-syscall.S
being built for nscd: the nscd build uses _FORTIFY_SOURCE, while .S
files aren't built with -O, and the combination produces a warning.
As _FORTIFY_SOURCE doesn't do anything for .S files, undefining it in
libc-do-syscall.S seems the simplest solution.
Tested for ARM.
* sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
Undefine.
diff --git a/ChangeLog b/ChangeLog
index 90a948b..f43cb09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-11-26 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
+ Undefine.
+
[BZ #16619]
[BZ #16740]
* sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
diff --git a/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S b/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S
index d42a94a..78e997c 100644
--- a/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S
+++ b/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S
@@ -15,6 +15,9 @@
License along with the GNU C Library. If not, see
<http://www.gnu.org/licenses/>. */
+/* When this file is built for inclusion in nscd, _FORTIFY_SOURCE is
+ defined but -O is not used, resulting in a warning from features.h. */
+#undef _FORTIFY_SOURCE
#include <sysdep.h>
/* Out-of-line syscall stub. We expect the system call number in ip
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
sysdeps/unix/sysv/linux/arm/libc-do-syscall.S | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources