From 18f86c05a9b7934c762695d70fb9d55455900bca4fe55bd1a9d9c550311a83bf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 25 Aug 2020 10:47:33 +0000 Subject: [PATCH] - update to 0.12.1: * Fix: tls-compat.h exposes compiler-dependent public configuration * Fix: tap array subscript has type char warning * tls-compat.h: introduce DEFINE_URCU_TLS_INIT * Use _umtx_op for futex on FreeBSD * Add FreeBSD, DragonFly to syscall-compat.h * urcu-bp: perform thread registration on urcu_bp_register_thread * Require automake >= 1.12 * cds_lfht_is_node_deleted parameter can be marked const * Fix: provide errno as argument to urcu_die() * Fix: rculfhash worker needs to unblock to SIGRCU * Cleanup: test_perthreadlock_timing: handle pthread mutex errors * Fix: SONAME bump to 6.1.0 * Cleanup: remove unused variable from configure.ac check * Fix: urcu/futex.h: users of struct timespec should include time.h * Bump library version to 6:0:1 * Cleanup: update code layout to fix old gcc warning * Fix: typo CPPLAGS in examples Makefile * Harmonize pprint macro across projects * Check for TLS support after CC detection * Update macros from the autotools archive * tap-driver.sh: flush stdout after each test result * Update dead link in lgpl-relicensing.txt * Add multiflavor compat identifiers * Cleanup: missing sign compare fixes * Cleanup: enable signed/unsigned compare compiler warning * Cleanup: compiler warning on 32-bit architectures * config.h.in: rename CONFIG_RCU_MULTIFLAVOR to CONFIG_RCU_HAVE_MULTIFLAVOR * rculfhash: implement iterator debugging config option * Fix: examples silent rules on Solaris OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/userspace-rcu?expand=0&rev=28 --- userspace-rcu-0.10.0.tar.bz2 | 3 -- userspace-rcu-0.10.0.tar.bz2.asc | 11 ----- userspace-rcu-0.12.1.tar.bz2 | 3 ++ userspace-rcu-0.12.1.tar.bz2.asc | 11 +++++ userspace-rcu.changes | 75 ++++++++++++++++++++++++++++++++ userspace-rcu.spec | 31 +++++++------ 6 files changed, 106 insertions(+), 28 deletions(-) delete mode 100644 userspace-rcu-0.10.0.tar.bz2 delete mode 100644 userspace-rcu-0.10.0.tar.bz2.asc create mode 100644 userspace-rcu-0.12.1.tar.bz2 create mode 100644 userspace-rcu-0.12.1.tar.bz2.asc diff --git a/userspace-rcu-0.10.0.tar.bz2 b/userspace-rcu-0.10.0.tar.bz2 deleted file mode 100644 index 06cf8e7..0000000 --- a/userspace-rcu-0.10.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7cb58a7ba5151198087f025dc8d19d8918e9c6d56772f039696c111d9aad3190 -size 483899 diff --git a/userspace-rcu-0.10.0.tar.bz2.asc b/userspace-rcu-0.10.0.tar.bz2.asc deleted file mode 100644 index 548c5b8..0000000 --- a/userspace-rcu-0.10.0.tar.bz2.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1 - -iQEbBAABAgAGBQJZPyr6AAoJEBcoCpeBGGrP4QwH9A9TGSoosxx6+oWXu1Ou5Rwy -yCuGVweEsi0eMOX6tn3QnBsV4v9SgHCpqEExXnA/42qBhl0NrmNqdhOUsvbzvarK -FQDkptOCCEoxqrruuQixIPXyHdNbFDZQKAfJ06fZEvlHaDDtUxOqLkI+dJDUMJWH -rfatihG2I5AICrsynyW+AlBc8+MCNMzlqEO2pyAs3OFeIOVLl99P37App1oG0H8V -cH1NXo44fFawCB1l1UYeM/AbOakFuLe2Gan/5qDpHorYQxCBHCi8vcfb1fqUnK/Q -fXDzgC9O7j+t9r8u15mVGjxdX+qjClwNPV0QQfTWnhgVY0LqAodJB/7jGkrDMw== -=zMgB ------END PGP SIGNATURE----- diff --git a/userspace-rcu-0.12.1.tar.bz2 b/userspace-rcu-0.12.1.tar.bz2 new file mode 100644 index 0000000..8868d94 --- /dev/null +++ b/userspace-rcu-0.12.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbfaead0345642b97e0de90f889dfbab4b2643a6a5e5c6bb59cd0d26fc0bcd0e +size 527626 diff --git a/userspace-rcu-0.12.1.tar.bz2.asc b/userspace-rcu-0.12.1.tar.bz2.asc new file mode 100644 index 0000000..5dc1037 --- /dev/null +++ b/userspace-rcu-0.12.1.tar.bz2.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCAAdFiEEKgtO2RXy0/pF9bFiFygKl4EYas8FAl6gQH4ACgkQFygKl4EY +as8h/AgAkN5SYABEXrJlwr/KVhGMRYdz6aTJXhnD+WUeLEEf7/2C2kumO5xCkiU5 +hM/UVpD1I/tDDHBopz8C/sU3pvnyY/OLDkWq9KlxcHWyQvCr9rrlYNhpndL495vS +OwiY5GXrMnsthTNGuxsg+ViZ3o8gu4buWBeji7yO6OBsMI6YJp4xQNfIZl6lGMcY +k4LB9rP2OnK39+1JGuXkRouFLKIIY8LxJzF1SAeG281xYkgEr8ffrAIfiebZ1Wra +H3C4Fn5LolD9gE2UqVyEFDMaunNgJrFQvWOLmyFg/S31WWE93mKQBXEBMagNf1ZR +QlBu66HFSswrHYnJEdCevrAAP3fs3Q== +=yzRV +-----END PGP SIGNATURE----- diff --git a/userspace-rcu.changes b/userspace-rcu.changes index d615cc1..255f3f4 100644 --- a/userspace-rcu.changes +++ b/userspace-rcu.changes @@ -1,3 +1,78 @@ +------------------------------------------------------------------- +Tue Aug 25 09:30:59 UTC 2020 - Dirk Mueller + +- update to 0.12.1: + * Fix: tls-compat.h exposes compiler-dependent public configuration + * Fix: tap array subscript has type char warning + * tls-compat.h: introduce DEFINE_URCU_TLS_INIT + * Use _umtx_op for futex on FreeBSD + * Add FreeBSD, DragonFly to syscall-compat.h + * urcu-bp: perform thread registration on urcu_bp_register_thread + * Require automake >= 1.12 + * cds_lfht_is_node_deleted parameter can be marked const + * Fix: provide errno as argument to urcu_die() + * Fix: rculfhash worker needs to unblock to SIGRCU + * Cleanup: test_perthreadlock_timing: handle pthread mutex errors + * Fix: SONAME bump to 6.1.0 + * Cleanup: remove unused variable from configure.ac check + * Fix: urcu/futex.h: users of struct timespec should include time.h + * Bump library version to 6:0:1 + * Cleanup: update code layout to fix old gcc warning + * Fix: typo CPPLAGS in examples Makefile + * Harmonize pprint macro across projects + * Check for TLS support after CC detection + * Update macros from the autotools archive + * tap-driver.sh: flush stdout after each test result + * Update dead link in lgpl-relicensing.txt + * Add multiflavor compat identifiers + * Cleanup: missing sign compare fixes + * Cleanup: enable signed/unsigned compare compiler warning + * Cleanup: compiler warning on 32-bit architectures + * config.h.in: rename CONFIG_RCU_MULTIFLAVOR to CONFIG_RCU_HAVE_MULTIFLAVOR + * rculfhash: implement iterator debugging config option + * Fix: examples silent rules on Solaris + * Add missing fall through annotations + * Fix: symbol aliases with TLS compat + * Port: no symbols aliases on MacOS + * Add -Wextra to CFLAGS + * Add silent mode to examples Makefiles + * doc: update examples to API changes + * test multiflavor single compile unit + * Update README following API changes + * Use new header locations for includes from urcu code + * Update call-rcu.h and defer.h comments and include guards + * rculfqueue.h: do not include urcu-call-rcu.h + * rculfhash: support use with multiple flavors per compile unit + * rculfhash: do not include urcu-call-rcu.h from public API + * Refactor liburcu to support many flavors per compile unit + * Fix: only wait if work queue is empty in real-time mode + * Fix: don't wait after completion of a work queue job batch + * Fix: don't wait after completion of job batch if work queue is empty + * Fix: workqueue: struct urcu_work vs rcu_head mixup + * Cleanup: workqueue: update comments referring to call-rcu + * Fix: mixup between URCU_WORKQUEUE_RT and URCU_CALL_RCU_RT + * test_rwlock: Add per-thread count to verbose output + * Add *.exe to gitignore for Cygwin + * Fix: pthread_rwlock initialization on Cygwin + * Fix: compat_futex_noasync on Cygwin + * wfcqueue: allow defining CDS_WFCQ_WAIT_SLEEP to override `poll' + * Update documentation for call_rcu before/after fork + * Add support for the RISC-V architecture + * Tests: Add tap-driver.sh for automake < 1.12 + * Tests: Replace prove by autotools tap runner + * liburcu-bp: Use membarrier private expedited when available + * liburcu: Use membarrier private expedited when available + * rculfhash: improve error handling of mmap backend + * Fix: don't use overlapping mmap mappings on Cygwin + * Tests fix: errors in shell scripts + * Revert "Use initial-exec tls model" + * Use initial-exec tls model + * Fix: don't use membarrier SHARED syscall command in liburcu-bp + * Tests fix: add missing Cygwin thread id + * Fix: assignment from incompatible pointer type warnings + * Tests fix: unused variable warnings + * Fix: add missing m68k headers to dist + ------------------------------------------------------------------- Wed Nov 29 09:37:35 UTC 2017 - dimstar@opensuse.org diff --git a/userspace-rcu.spec b/userspace-rcu.spec index 9a62363..bbc2b13 100644 --- a/userspace-rcu.spec +++ b/userspace-rcu.spec @@ -2,7 +2,7 @@ # # spec file for package userspace-rcu # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2012 Pascal Bleser # # All modifications and additions to the file contributed by third parties @@ -14,23 +14,22 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -Name: userspace-rcu -Version: 0.10.0 -Release: 0 %define soname 6 +Name: userspace-rcu +Version: 0.12.1 +Release: 0 Summary: Userspace Read-Copy-Update Library -License: LGPL-2.1+ and MIT and GPL-2.0+ and GPL-3.0+ +License: LGPL-2.1-or-later AND MIT AND GPL-2.0-or-later AND GPL-3.0-or-later Group: System/Libraries +URL: http://lttng.org/urcu Source0: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2 Source1: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2.asc Source2: userspace-rcu.keyring Source99: baselibs.conf -Url: http://lttng.org/urcu -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake BuildRequires: gcc BuildRequires: glibc-devel @@ -56,6 +55,8 @@ the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible. +Accesses to detect grace periods after which memory reclamation is possible. + %package -n liburcu-devel Summary: Userspace Read-Copy-Update Library Group: Development/Libraries/C and C++ @@ -74,20 +75,20 @@ accesses to detect grace periods after which memory reclamation is possible. %build autoreconf -fi %configure --disable-silent-rules --disable-static -%__make %{?_smp_mflags} +%make_build %install -%makeinstall +%make_install rm -rf "%{buildroot}%{_datadir}/doc" -rm "%buildroot/%_libdir"/*.la +find %{buildroot} -type f -name "*.la" -delete -print %post -n liburcu%{soname} -p /sbin/ldconfig %postun -n liburcu%{soname} -p /sbin/ldconfig %files -n liburcu%{soname} -%defattr(-,root,root) -%doc ChangeLog LICENSE README.md *.txt doc/*.md +%license LICENSE +%doc ChangeLog README.md *.txt doc/*.md %{_libdir}/liburcu.so.%{soname} %{_libdir}/liburcu.so.%{soname}.* %{_libdir}/liburcu-bp.so.%{soname} @@ -98,13 +99,14 @@ rm "%buildroot/%_libdir"/*.la %{_libdir}/liburcu-common.so.%{soname}.* %{_libdir}/liburcu-mb.so.%{soname} %{_libdir}/liburcu-mb.so.%{soname}.* +%{_libdir}/liburcu-memb.so.%{soname} +%{_libdir}/liburcu-memb.so.%{soname}.* %{_libdir}/liburcu-qsbr.so.%{soname} %{_libdir}/liburcu-qsbr.so.%{soname}.* %{_libdir}/liburcu-signal.so.%{soname} %{_libdir}/liburcu-signal.so.%{soname}.* %files -n liburcu-devel -%defattr(-,root,root) %{_includedir}/urcu*.h %{_includedir}/urcu %{_libdir}/liburcu.so @@ -112,6 +114,7 @@ rm "%buildroot/%_libdir"/*.la %{_libdir}/liburcu-cds.so %{_libdir}/liburcu-common.so %{_libdir}/liburcu-mb.so +%{_libdir}/liburcu-memb.so %{_libdir}/liburcu-qsbr.so %{_libdir}/liburcu-signal.so %{_libdir}/pkgconfig/liburcu.pc