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.26.9000-969-g243b633
- From: carlos at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 13 Dec 2017 02:37:33 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.26.9000-969-g243b633
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 243b63337c2c02f30ec3a988ecc44bc0f6ffa0ad (commit)
from 6f7c009282a5f7129e359c9ba8556e7e3ac229ec (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=243b63337c2c02f30ec3a988ecc44bc0f6ffa0ad
commit 243b63337c2c02f30ec3a988ecc44bc0f6ffa0ad
Author: Carlos O'Donell <carlos@redhat.com>
Date: Tue Dec 12 18:32:42 2017 -0800
Fix testing with nss-crypt.
A glibc master build with --enable-nss-crypt using the NSS
crypto libraries fails during make check with the following error:
<command-line>:0:0: error: "USE_CRYPT" redefined [-Werror]
<command-line>:0:0: note: this is the location of the previous
definition
This is caused by commit 36975e8e7ea227f7006abdc722ecfefe2079429b
by H.J. Lu which replaces all = with +=. The fix is to undefine
USE_CRYPT before defining it to zero.
Committed as an obvious fix. Fixes the build issue on x86_64 with
no regressions.
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
diff --git a/ChangeLog b/ChangeLog
index f560b2a..22df17b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-12 Carlos O'Donell <carlos@redhat.com>
+
+ * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
+ (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
+
2017-12-12 Joseph Myers <joseph@codesourcery.com>
* soft-fp/fmadf4.c: Move to ....
diff --git a/elf/Makefile b/elf/Makefile
index 7b8f325..8563555 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -391,7 +391,7 @@ CFLAGS-tst-linkall-static.c += -DUSE_CRYPT=1
# library, then we exclude the use of crypt functions in the test.
# We similarly exclude libcrypt.a from the static link (see below).
ifeq (yesno,$(nss-crypt)$(static-nss-crypt))
-CFLAGS-tst-linkall-static.c += -DUSE_CRYPT=0
+CFLAGS-tst-linkall-static.c += -UUSE_CRYPT -DUSE_CRYPT=0
endif
include ../Rules
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
elf/Makefile | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources