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.26.9000-1091-g8e13c51


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  8e13c51bb579d56b52e93a058c9efb0bbab35d1b (commit)
      from  1598f3ad06db9654a5d112136e40b630649405c3 (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=8e13c51bb579d56b52e93a058c9efb0bbab35d1b

commit 8e13c51bb579d56b52e93a058c9efb0bbab35d1b
Author: Palmer Dabbelt <palmer@dabbelt.com>
Date:   Tue Dec 26 20:56:44 2017 -0800

    Avoid race conditions when rebuilding librt.so
    
    `make check' sometimes triggers a rebuild of librt.so using
    nptl/Makefile, which ignores librt's dependence on libpthread.  This
    causes the build to blow up when we attempt to run the test suite on
    RISC-V.
    
    2018-01-06  Palmer Dabbelt  <palmer@sifive.com>
    
            * nptl/Makefile (/librt.so): Always depend on
            "$(shared-thread-library)".

diff --git a/ChangeLog b/ChangeLog
index 905d93a..8ddf37e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,8 @@
 	(VDSO_HASH_LINUX_4_15): Likewise.
 	* scripts/build-many-glibcs.py (class Glibc): Strip shared objects
 	in subdirectories of lib.
+	* nptl/Makefile (/librt.so): Always depend on
+	"$(shared-thread-library)".
 
 2018-01-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
diff --git a/nptl/Makefile b/nptl/Makefile
index d7ed500..48b7e4b 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -612,6 +612,10 @@ else
 librt = $(common-objpfx)rt/librt.a
 endif
 
+# `make check' sometimes triggers a rebuild of librt.so using this Makefile,
+# which ignores librt's dependence on libpthread
+$(common-objpfx)rt/librt.so: $(shared-thread-library)
+
 $(objpfx)tst-cancel17: $(librt)
 $(objpfx)tst-cancelx17: $(librt)
 $(objpfx)tst-_res1mod2.so: $(objpfx)tst-_res1mod1.so

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

Summary of changes:
 ChangeLog     |    2 ++
 nptl/Makefile |    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]