GNU C Library master sources branch master updated. glibc-2.24-381-g85d3192

jsm28@sourceware.org jsm28@sourceware.org
Wed Nov 16 22:48:00 GMT 2016


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  85d3192140d1607a3cbf736e28fea2ed60a4413a (commit)
      from  61158ffa9a17476d88aaf4a833d13b12f1c51387 (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=85d3192140d1607a3cbf736e28fea2ed60a4413a

commit 85d3192140d1607a3cbf736e28fea2ed60a4413a
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Nov 16 22:47:57 2016 +0000

    Enable linknamespace testing for libdl and libcrypt.
    
    When I set up linknamespace testing, the lists of libraries that might
    contain functions from various standards were based on the -l options
    POSIX says may be required to find certain functions with the c99
    utility.
    
    glibc has some POSIX functions in the libdl and libcrypt libraries,
    not mentioned in the definition of the c99 utility (so an
    implementation of that utility using glibc would need to use -ldl
    -lcrypt automatically).  This patch adds those libraries to the ones
    considered in linknamespace testing for relevant standards.  (The
    crypt functions are XSI only, present in XPG3 and above; the libdl
    ones were added in UNIX98, then moved from XSI to BASE in the 2008
    edition of POSIX.)
    
    	* conform/Makefile (linknamespace-libs): Rename to
    	linknamespace-libs-thr.
    	(linknamespace-libs-posix): New variable.
    	(linknamespace-libs-xsi): Likewise.
    	(linknamespace-libs-XPG3): Include libcrypt.a.
    	(linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
    	(linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
    	(linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
    	(linknamespace-libs-XOPEN2K): Likewise.
    	(linknamespace-libs-XOPEN2K8): Likewise.
    	(linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).

diff --git a/ChangeLog b/ChangeLog
index 49e0ae7..fe64cc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
 
+	* conform/Makefile (linknamespace-libs): Rename to
+	linknamespace-libs-thr.
+	(linknamespace-libs-posix): New variable.
+	(linknamespace-libs-xsi): Likewise.
+	(linknamespace-libs-XPG3): Include libcrypt.a.
+	(linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
+	(linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
+	(linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
+	(linknamespace-libs-XOPEN2K): Likewise.
+	(linknamespace-libs-XOPEN2K8): Likewise.
+	(linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
+
 	[BZ #20829]
 	* stdio-common/Versions (__snprintf): Add to version
 	GLIBC_PRIVATE.
diff --git a/conform/Makefile b/conform/Makefile
index 7883624..5862f70 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -209,18 +209,23 @@ $(linknamespace-symlists-tests): $(objpfx)symlist-%: list-header-symbols.pl
 	$(evaluate-test)
 
 linknamespace-libs-isoc = $(common-objpfx)libc.a $(common-objpfx)math/libm.a
-linknamespace-libs = $(linknamespace-libs-isoc) \
-		     $(common-objpfx)rt/librt.a $(static-thread-library)
+linknamespace-libs-thr = $(linknamespace-libs-isoc) \
+			 $(common-objpfx)rt/librt.a $(static-thread-library)
+linknamespace-libs-posix = $(linknamespace-libs-thr) \
+			   $(common-objpfx)dlfcn/libdl.a
+linknamespace-libs-xsi = $(linknamespace-libs-posix) \
+			 $(common-objpfx)crypt/libcrypt.a
 linknamespace-libs-ISO = $(linknamespace-libs-isoc)
 linknamespace-libs-ISO99 = $(linknamespace-libs-isoc)
 linknamespace-libs-ISO11 = $(linknamespace-libs-isoc)
-linknamespace-libs-XPG3 = $(linknamespace-libs-isoc)
-linknamespace-libs-XPG4 = $(linknamespace-libs-isoc)
-linknamespace-libs-POSIX = $(linknamespace-libs)
-linknamespace-libs-UNIX98 = $(linknamespace-libs)
-linknamespace-libs-XOPEN2K = $(linknamespace-libs)
-linknamespace-libs-POSIX2008 = $(linknamespace-libs)
-linknamespace-libs-XOPEN2K8 = $(linknamespace-libs)
+linknamespace-libs-XPG3 = $(linknamespace-libs-isoc) \
+			  $(common-objpfx)crypt/libcrypt.a
+linknamespace-libs-XPG4 = $(linknamespace-libs-XPG3)
+linknamespace-libs-POSIX = $(linknamespace-libs-thr)
+linknamespace-libs-UNIX98 = $(linknamespace-libs-xsi)
+linknamespace-libs-XOPEN2K = $(linknamespace-libs-xsi)
+linknamespace-libs-POSIX2008 = $(linknamespace-libs-posix)
+linknamespace-libs-XOPEN2K8 = $(linknamespace-libs-xsi)
 
 $(linknamespace-symlist-stdlibs-tests): $(objpfx)symlist-stdlibs-%: \
 					$(linknamespace-libs)

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

Summary of changes:
 ChangeLog        |   12 ++++++++++++
 conform/Makefile |   23 ++++++++++++++---------
 2 files changed, 26 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list