Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc Updated devel/userspaace-rcu to 0.12.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b60ba46d4962
branches:  trunk
changeset: 435115:b60ba46d4962
user:      manu <manu%pkgsrc.org@localhost>
date:      Wed Jul 01 00:40:48 2020 +0000

description:
Updated devel/userspaace-rcu to 0.12.1

Change since previous version in pkgsrc:

2020-04-22 Userspace RCU 0.12.1
        * Fix: tls-compat.h exposes compiler-dependent public configuration
        * Fix: tap array subscript has type char warning

2020-04-09 Userspace RCU 0.12.0
        * 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

2019-05-06 Userspace RCU 0.11.0
        * 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
        * Bump version to 0.11-pre

2017-06-12 Userspace RCU 0.10.0
        * Bump library soname due to urcu flavor structure change
        * Cleanup: use mutex_lock() wrapper in rculfhash
        * Use workqueue in rculfhash
        * Implement urcu workqueues internal API
        * Add support for m68k architecture
        * Set -Wall globally in AM_CFLAGS
        * Fix: remove double use of PTHREAD_CFLAGS
        * Re-add PTHREAD_CFLAGS to global CFLAGS
        * Fix: Don't override user variables within the build system
        * Add report at the end of configure
        * uatomic-api docs: use the third-person singular
        * Add --enable-rcu-debug to configure
        * ARM32: use dmb ish (inner shareable domain) for smp barriers
        * Cleanup: remove cmm_wmb() from rcu_xchg_pointer and rcu_cmpxchg_pointer
        * Fix: uatomic arm32: add missing release barrier before uatomic_xchg
        * Tests: Add verbose support to test script
        * Fix: add missing CONFIG_RCU_FORCE_SYS_MEMBARRIER to urcu/config.h.in
        * Allow forcing the use of sys membarrier
        * Fix: rcutorture: work-around signal issue on mac os x
        * Fix: rcutorture should register thread using call_rcu
        * Fix: add missing backslash in Makefile.am
        * Fix: Do not use wildcards in include/Makefile.am
        * Bump version to 0.10-pre
        * Fix: check for rand_r() in compat-rand.h
        * Fix: Move rand-compat to private src dir
        * Fix: remove AC_FUNC_MALLOC from configure.ac
        * Cleanup: Re-organise source dir
        * Cleanup: remove leftover manual pthread detection
        * Fix: update ax_pthread macro to handle newer clang
        * Update library current version due to adding destroy API
        * Fix: Use pthread_self to get threadid on OSX
        * Fix: examples: use destroy API for queues/stacks
        * Update library age due to new stack/queue destroy API
        * Fix: tests: invoke destroy APIs for queues/stacks
        * Fix: add missing destroy functions to queues/stack APIs
        * Fix: add missing __cds_wfcq_init for LGPL API
        * Fix: memory leak on hash table destroy
        * Fix: Add failover for platforms without nproc
        * Fix: use clock_get_time for caa_get_cycles fallback on MacOSX
        * Fix: syscall-compat.h MacOSX support
        * Fix: Add solaris-build.md to dist
        * rculfhash: Documentation: clarify need for grace period before "re-using"
        * Port: build shared libraries in Cygwin
        * Port: fix compatibility header for Cygwin
        * Add GNU Hurd support to syscall-compat.h
        * Add support for aarch64_be
        * Fix: urcu-bp: re-initialize list head on library exit
        * bootstrap: Standardize on autoreconf -vi
        * Harmonize bootstrap script across projects
        * Fix: examples make distcheck failure
        * wfcqueue: add C++ compatibility API
        * Fix: CDS_WFCQ_WOULDBLOCK typing for c++
        * Fix: configure.ac: check for possibly required libs for clock_gettime
        * Support for NIOS2 architecture
        * urcu_ref_get_safe: introduce new API
        * Fix: handle reference count overflow
        * Fix: compat_futex should work-around futex signal-restart kernel bug
        * Support for Xeon-Phi with newer MPSS
        * sparc64: allocate membarrier system call number
        * hppa: allocate membarrier system call number
        * Fix build on non-Linux Debian ports
        * Fix: urcu-signal: smp_mb_master() needs registry lock
        * Fix: rculfhash only needs to include urcu-pointers.h
        * Fix: out-of-tree benchmark/regtest
        * Fix: add missing regtest and benchmark files to dist tarball
        * Fix: add missing run.sh to benchmark makefile

2015-10-16 Userspace RCU 0.9.0
        * Bump soname major to 4
        * Cleanup: remove trailing tab
        * Fix: Use proper macro to detect stdbool.h
        * Configure: Add missing checks
        * Port: Add Solaris build instructions
        * Fix: regtest outputs valid TAP protocol
        * Port: Detect nproc bin name in benchmark scripts
        * Port: Add Solaris getcpu support
        * Port: Fixes to build system for portability
        * Port: Add Solaris support to tests/common/thread-id.h
        * Port: Add Solaris support to urcu/syscall-compat.h
        * Port: replace bzero() by memset()
        * Port: make bootstrap script work on most shell
        * tests: rcutorture: use parameters rather than random
        * Fix: only define membarrier system call on Linux
        * Refactor tests
        * Fix: cast caa_cycles_t to unsigned long long
        * caa_get_cycles: caa_ prefix for type, use CLOCK_MONOTONIC
        * Cleanup: remove trailing whitespaces at EOL
        * Cleanup: move generic caa_get_cycles to arch/generic.h
        * tile: allocate membarrier system call number
        * ia64: allocate membarrier system call number
        * aarch64: allocate membarrier system call number
        * powerpc64le: use "ppc" architecture
        * arm: allocate membarrier system call number
        * s390: allocate membarrier system call number
        * ppc: allocate membarrier system call number
        * lfstack: relax constraints on node re-use
        * Fix: format string signedness
        * Cleanup: tests: Branch condition evaluates to a garbage value
        * Fix: test: unchecked return value
        * Fix: test: side-effect in assertion
        * x86: allocate membarrier system call number
        * urcu-bp: use sys_membarrier when available
        * Cleanup: urcu: remove unused membarrier "group" parameter
        * urcu/ref.h: implement urcu_ref_get_unless_zero()
        * Fix: compat_futex: uninitialized ret variable
        * Fix: compat_futex_noasync: don't override return value
        * Fix: dynamic fallback to compat futex on sys_futex ENOSYS
        * Detect RCU read-side overflows
        * Detect RCU read-side underflows
        * Introduce urcu_assert and registration check
        * Fix: volatile in assert()
        * Update following changes to sys_membarrier ABI
        * uatomic: Specify complete types for atomic function calls
        * Cleanup: remove unused return value warning from tests
        * Fix: handle sys_futex() FUTEX_WAIT interrupted by signal
        * Fix: compat_futex.c: *uaddr should be read as volatile
        * Cleanup: cast poll delay return value to void
        * tests: Convert unit tests to TAP
        * Fix: make benchmark test run in oot build
        * Fix: call_rcu_thread() affinity failure
        * Cleanup: cast poll delay return value to void
        * Cleanup: cast poll delay return value to void
        * Cleanup: cast poll delay return value to void
        * Cleanup: cast poll delay return value to void
        * Cleanup: cast poll() return value to void for delays
        * urcu: fix deprecation warning with new glibc
        * urcu: add cds_list_for_each_entry_safe_from macro
        * Fix: deadlock when thread join is issued in read-side C.S.
        * Fix: rename RCU_DEBUG to DEBUG_RCU in urcu-qsbr.h
        * Cleanup some c99 pedantic warnings
        * Mark braced-groups within expressions with __extension__
        * Fix: compat_futex_noasync race condition
        * tests: Use stderr redirection for time output
        * Fix: use space after rpath for OS X ld
        * Fix: move transparent union attribute after union declaration for clang
        * Configure: add check for used type
        * Configure: add missing check of headers
        * Configure: add missing check for funcs: memset, strerror
        * Fix: documentation: urcu-pointer.h: s/rcu_dereference_pointer/rcu_dereference/
        * urcu-bp/urcu-qsbr: remove unneeded DEBUG_YIELD code
        * Fix: call rcu should call internal RCU API
        * Fix: silence gcc -Wextra warning
        * compiler: use __GNUC__ instead of the undefined __GNUC_MAJOR__
        * Fix: lfstack reversed empty/non-empty return value
        * lfstack: fix: add missing __cds_lfs_init
        * wfstack: add missing union parameters
        * Fix: preserve example files' timestamps when copying
        * wfstack: implement mutex-free wfstack with transparent union
        * wfcqueue: Implement mutex-free wfcqueue head with transparent union
        * lfstack: Implement mutex-free stack head with transparent union (v2)
        * rculfhash: remove duplicated code
        * rculfhash: handle pthread_create failures
        * rculfhash: fall back to single-threaded resize on calloc failure
        * x86: drop extra semi-colon in caa_cpu_relax
        * Cleanup: tests: cast console write return value as void
        * Modernize doc using Markdown
        * Fix: update automake following README to README.md change
        * Modernize README using Markdown
        * Fix: incorrect parenthesis in cds_hlist_for_each_entry_safe_2
        * Fix: Use after free in rcu_barrier()
        * Fix: rcu_barrier(): uninitialized futex field
        * call_rcu threads should clear their PAUSED flag when they unpause
        * test_urcu_fork: test many fork, with 3 children deep
        * Update list of supported architectures in README
        * Add support for hppa/PA-RISC architecture
        * Use autoconf AM_MAINTAINER_MODE
        * Use gcc atomics on aarch64/powerpc64le
        * Fix: move wait loop increment before first conditional block
        * Fix: high cpu usage in synchronize_rcu with long RCU read-side C.S.
        * Fix: out of tree build: doc/examples
        * Fix: out of tree build tests/common
        * tests/unit: use lib rather than source
        * automake: Rename INCLUDES to AM_CPPFLAGS (new name)
        * tests regressions: use lib rather than recompile from source
        * tests: use common lib rather than recompile compat sources
        * urcu tests: use lib rather than compile from source
        * urcu mb tests: use lib rather than recompile from source
        * urcu signal tests: use library rather than recompile source
        * tests: move yield debug to common test library
        * tests urcu bp: use lib rather than recompile source
        * test_urcu_defer: link on urcu lib rather than recompile source
        * tests/benchmark: use urcu qsbr lib rather than recompile from source
        * Pass the CC variable to the example Makefiles
        * Fix: urcu-bp interaction with threads vs constructors/destructors
        * x86 barrier for Xeon Phi: use rsp on x86-64
        * Set RCU_HAVE_FENCE to false on Intel Xeon Phi
        * Fix undefined NULL pointer arithmetic in hlist
        * Cleanup: Check for pthread in Libc
        * Cleanup: Android: Do not redefine gettid
        * Fix undefined NULL pointer arithmetic
        * Android: implement rand_r()
        * Android: do not redefine gettid on Android
        * Android: add a compat layer for 'syscall.h'
        * Android: do not link pthread on Android
        * Android: configure.ac Android check
        * Blacklist ARM gcc 4.8.0, 4.8.1, 4.8.2
        * rculfhash: document max_nr_buckets = 0
        * Library major version number (soname) increment to 3
        * Fix: tls-compat multi-lib conflict
        * Use cross compiler for doc examples
        * Add lttng-dev mailing list to readme
        * wfcqueue: remove misleading comment
        * gcc warning fixes: -Wsign-compare and -Wextra
        * Fix: urcu-qsbr: reversed logic on RCU_DEBUG
        * Fix: urcu-bp segfault in glibc pthread_kill()
        * Fix urcu-bp: don't move registry
        * Fix: compat futex duplicated lock and completion
        * Fix: i386 compat code duplicated mutex instances
        * Fix: urcu-bp: Bulletproof RCU arena resize bug
        * Fix: test_mutex.c uninitialized mutex

diffstat:

 devel/userspace-rcu/Makefile                                    |    8 +-
 devel/userspace-rcu/PLIST                                       |   39 +++-
 devel/userspace-rcu/distinfo                                    |   14 +-
 devel/userspace-rcu/patches/patch-doc_examples_Makefile.am      |   17 +
 devel/userspace-rcu/patches/patch-doc_examples_Makefile.in      |   17 +
 devel/userspace-rcu/patches/patch-include_urcu_syscall-compat.h |   15 +
 devel/userspace-rcu/patches/patch-urcu_uatomic_generic.h        |  100 ----------
 doc/CHANGES-2020                                                |    3 +-
 8 files changed, 95 insertions(+), 118 deletions(-)

diffs (truncated from 324 to 300 lines):

diff -r 6af6aee69a63 -r b60ba46d4962 devel/userspace-rcu/Makefile
--- a/devel/userspace-rcu/Makefile      Tue Jun 30 19:48:13 2020 +0000
+++ b/devel/userspace-rcu/Makefile      Wed Jul 01 00:40:48 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2020/04/29 19:44:49 maya Exp $
+# $NetBSD: Makefile,v 1.14 2020/07/01 00:40:48 manu Exp $
 #
 
-DISTNAME=      userspace-rcu-0.8.7
+DISTNAME=      userspace-rcu-0.12.1
 CATEGORIES=    devel
 MASTER_SITES=  http://lttng.org/files/urcu/
 EXTRACT_SUFX=  .tar.bz2
@@ -15,6 +15,10 @@
 USE_LIBTOOL=   yes
 USE_TOOLS+=    gmake pkg-config
 
+# liburcu requires thread local storage support; thus,
+# only NetBSD-6 or later is supported.
+NOT_FOR_PLATFORM=      NetBSD-[0-5]*-*
+
 PKGCONFIG_OVERRIDE+=   liburcu-bp.pc.in
 PKGCONFIG_OVERRIDE+=   liburcu-cds.pc.in
 PKGCONFIG_OVERRIDE+=   liburcu-mb.pc.in
diff -r 6af6aee69a63 -r b60ba46d4962 devel/userspace-rcu/PLIST
--- a/devel/userspace-rcu/PLIST Tue Jun 30 19:48:13 2020 +0000
+++ b/devel/userspace-rcu/PLIST Wed Jul 01 00:40:48 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2015/05/26 14:32:57 pettai Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/07/01 00:40:48 manu Exp $
 include/urcu-bp.h
 include/urcu-call-rcu.h
 include/urcu-defer.h
@@ -8,40 +8,59 @@
 include/urcu.h
 include/urcu/arch.h
 include/urcu/arch/generic.h
+include/urcu/call-rcu.h
 include/urcu/cds.h
 include/urcu/compiler.h
 include/urcu/config.h
+include/urcu/debug.h
+include/urcu/defer.h
+include/urcu/flavor.h
 include/urcu/futex.h
 include/urcu/hlist.h
 include/urcu/lfstack.h
 include/urcu/list.h
+include/urcu/map/clear.h
 include/urcu/map/urcu-bp.h
-include/urcu/map/urcu-mp.h
+include/urcu/map/urcu-mb.h
+include/urcu/map/urcu-memb.h
 include/urcu/map/urcu-qsbr.h
+include/urcu/map/urcu-signal.h
 include/urcu/map/urcu.h
+include/urcu/pointer.h
 include/urcu/rcuhlist.h
 include/urcu/rculfhash.h
 include/urcu/rculfqueue.h
 include/urcu/rculfstack.h
 include/urcu/rculist.h
 include/urcu/ref.h
-include/urcu/static/bkp-wfqueue.h
 include/urcu/static/lfstack.h
+include/urcu/static/pointer.h
 include/urcu/static/rculfqueue.h
 include/urcu/static/rculfstack.h
 include/urcu/static/urcu-bp.h
-include/urcu/static/urcu-pointer.h
+include/urcu/static/urcu-common.h
+include/urcu/static/urcu-mb.h
+include/urcu/static/urcu-memb.h
 include/urcu/static/urcu-qsbr.h
+include/urcu/static/urcu-signal-nr.h
+include/urcu/static/urcu-signal.h
 include/urcu/static/urcu.h
 include/urcu/static/wfcqueue.h
 include/urcu/static/wfqueue.h
 include/urcu/static/wfstack.h
+include/urcu/syscall-compat.h
 include/urcu/system.h
 include/urcu/tls-compat.h
 include/urcu/uatomic.h
 include/urcu/uatomic/generic.h
 include/urcu/uatomic_arch.h
+include/urcu/urcu-bp.h
 include/urcu/urcu-futex.h
+include/urcu/urcu-mb.h
+include/urcu/urcu-memb.h
+include/urcu/urcu-qsbr.h
+include/urcu/urcu-signal.h
+include/urcu/urcu.h
 include/urcu/urcu_ref.h
 include/urcu/wfcqueue.h
 include/urcu/wfqueue.h
@@ -50,6 +69,7 @@
 lib/liburcu-cds.la
 lib/liburcu-common.la
 lib/liburcu-mb.la
+lib/liburcu-memb.la
 lib/liburcu-qsbr.la
 lib/liburcu-signal.la
 lib/liburcu.la
@@ -59,9 +79,9 @@
 lib/pkgconfig/liburcu-qsbr.pc
 lib/pkgconfig/liburcu-signal.pc
 lib/pkgconfig/liburcu.pc
-share/doc/userspace-rcu/ChangeLog
-share/doc/userspace-rcu/README
-share/doc/userspace-rcu/cds-api.txt
+share/doc/userspace-rcu/LICENSE
+share/doc/userspace-rcu/README.md
+share/doc/userspace-rcu/cds-api.md
 share/doc/userspace-rcu/examples/Makefile
 share/doc/userspace-rcu/examples/Makefile.examples.template
 share/doc/userspace-rcu/examples/hlist/Makefile
@@ -139,5 +159,6 @@
 share/doc/userspace-rcu/examples/wfstack/cds_wfs_pop.c
 share/doc/userspace-rcu/examples/wfstack/cds_wfs_pop_all_blocking.c
 share/doc/userspace-rcu/examples/wfstack/cds_wfs_push.c
-share/doc/userspace-rcu/rcu-api.txt
-share/doc/userspace-rcu/uatomic-api.txt
+share/doc/userspace-rcu/rcu-api.md
+share/doc/userspace-rcu/solaris-build.md
+share/doc/userspace-rcu/uatomic-api.md
diff -r 6af6aee69a63 -r b60ba46d4962 devel/userspace-rcu/distinfo
--- a/devel/userspace-rcu/distinfo      Tue Jun 30 19:48:13 2020 +0000
+++ b/devel/userspace-rcu/distinfo      Wed Jul 01 00:40:48 2020 +0000
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.11 2015/11/03 03:29:38 agc Exp $
+$NetBSD: distinfo,v 1.12 2020/07/01 00:40:48 manu Exp $
 
-SHA1 (userspace-rcu-0.8.7.tar.bz2) = 5306999b8a3296f3dea91246d92e0a993d732898
-RMD160 (userspace-rcu-0.8.7.tar.bz2) = 284d80e80787cb6c91696984813031a810a61bd8
-SHA512 (userspace-rcu-0.8.7.tar.bz2) = 5c75d400de3295cf493b43393e1d5742e41a6a5c5af003c3852a70caa248d4bf2930bba3917ddd02a7c1c702ffe0bce4a5105f8ab8ec3113936a231eb59e7ab1
-Size (userspace-rcu-0.8.7.tar.bz2) = 425072 bytes
-SHA1 (patch-urcu_uatomic_generic.h) = 6492e58d704805b29e9dce119c76ebdf615adddc
+SHA1 (userspace-rcu-0.12.1.tar.bz2) = 93ad363e3889e55fac7d35d406927e5925e40dd9
+RMD160 (userspace-rcu-0.12.1.tar.bz2) = c55faf01ed8cb2f222d8ec407b2bac91ef66ab7c
+SHA512 (userspace-rcu-0.12.1.tar.bz2) = c0c14eede77358904dfb10774390fd86b4fa9e0ab25d278c869728d40eb263bfa7e489b20ce7198169e71d74fe41bb5018fc1553a5e0654840c9765e088c83db
+Size (userspace-rcu-0.12.1.tar.bz2) = 527626 bytes
+SHA1 (patch-doc_examples_Makefile.am) = 0603f4a51ae591ba053fecde50d7dd515da1c16b
+SHA1 (patch-doc_examples_Makefile.in) = dbe769c167e8175590e3ea27dc5c24b3ec989bd5
+SHA1 (patch-include_urcu_syscall-compat.h) = 0656ba25229e07a007a7b382725e45919577995b
diff -r 6af6aee69a63 -r b60ba46d4962 devel/userspace-rcu/patches/patch-doc_examples_Makefile.am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/userspace-rcu/patches/patch-doc_examples_Makefile.am        Wed Jul 01 00:40:48 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-doc_examples_Makefile.am,v 1.1 2020/07/01 00:40:48 manu Exp $
+
+Use -Wl,-rpath,$(PATH) and not -Wl,-rpath $(PATH) as the later chokes on gcc
+
+--- ./doc/examples/Makefile.am.orig    2020-06-27 02:56:52.609156486 +0200
++++ ./doc/examples/Makefile.am 2020-06-27 02:57:21.886365527 +0200
+@@ -140,9 +140,9 @@
+               rel_build_subdir=""; \
+       else \
+               rel_build_subdir="../"; \
+       fi; \
+-      $(MAKE) -f dist-files/Makefile CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" AM_CPPFLAGS="$(AM_CPPFLAGS) -I"$${rel_src_subdir}/$(top_srcdir)/include/" -I"$${rel_src_subdir}/$(top_srcdir)/src/" 
-I"$${rel_build_subdir}$(top_builddir)/include/" -I"$${rel_build_subdir}$(top_builddir)/include/src/"" CFLAGS="$(CFLAGS)" AM_CFLAGS="$(AM_CFLAGS)" LDFLAGS="$(LDFLAGS)" AM_LDFLAGS="$(AM_LDFLAGS) 
-L../../../src/.libs/ -Wl,-rpath "$(PWD)/../../src/.libs/"" AM_V_P="$(AM_V_P)" AM_V_at="$(AM_V_at)" $(AM_MAKEFLAGS) all;
++      $(MAKE) -f dist-files/Makefile CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" AM_CPPFLAGS="$(AM_CPPFLAGS) -I"$${rel_src_subdir}/$(top_srcdir)/include/" -I"$${rel_src_subdir}/$(top_srcdir)/src/" 
-I"$${rel_build_subdir}$(top_builddir)/include/" -I"$${rel_build_subdir}$(top_builddir)/include/src/"" CFLAGS="$(CFLAGS)" AM_CFLAGS="$(AM_CFLAGS)" LDFLAGS="$(LDFLAGS)" AM_LDFLAGS="$(AM_LDFLAGS) 
-L../../../src/.libs/ -Wl,-rpath,"$(PWD)/../../src/.libs/"" AM_V_P="$(AM_V_P)" AM_V_at="$(AM_V_at)" $(AM_MAKEFLAGS) all;
+ 
+ clean-local:
+       $(AM_V_at)$(MAKE) -f dist-files/Makefile $(AM_MAKEFLAGS) clean; \
+       if [ x"$(srcdir)" != x"$(builddir)" ]; then \
diff -r 6af6aee69a63 -r b60ba46d4962 devel/userspace-rcu/patches/patch-doc_examples_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/userspace-rcu/patches/patch-doc_examples_Makefile.in        Wed Jul 01 00:40:48 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-doc_examples_Makefile.in,v 1.1 2020/07/01 00:40:48 manu Exp $
+
+Use -Wl,-rpath,$(PATH) and not -Wl,-rpath $(PATH) as the later chokes on gcc
+
+--- ./doc/examples/Makefile.in.orig    2020-06-27 02:56:59.896992052 +0200
++++ ./doc/examples/Makefile.in 2020-06-27 02:57:30.454482609 +0200
+@@ -862,9 +862,9 @@
+ @NO_SHARED_FALSE@             rel_build_subdir=""; \
+ @NO_SHARED_FALSE@     else \
+ @NO_SHARED_FALSE@             rel_build_subdir="../"; \
+ @NO_SHARED_FALSE@     fi; \
+-@NO_SHARED_FALSE@     $(MAKE) -f dist-files/Makefile CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" AM_CPPFLAGS="$(AM_CPPFLAGS) -I"$${rel_src_subdir}/$(top_srcdir)/include/" 
-I"$${rel_src_subdir}/$(top_srcdir)/src/" -I"$${rel_build_subdir}$(top_builddir)/include/" -I"$${rel_build_subdir}$(top_builddir)/include/src/"" CFLAGS="$(CFLAGS)" AM_CFLAGS="$(AM_CFLAGS)" 
LDFLAGS="$(LDFLAGS)" AM_LDFLAGS="$(AM_LDFLAGS) -L../../../src/.libs/ -Wl,-rpath "$(PWD)/../../src/.libs/"" AM_V_P="$(AM_V_P)" AM_V_at="$(AM_V_at)" $(AM_MAKEFLAGS) all;
++@NO_SHARED_FALSE@     $(MAKE) -f dist-files/Makefile CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" AM_CPPFLAGS="$(AM_CPPFLAGS) -I"$${rel_src_subdir}/$(top_srcdir)/include/" 
-I"$${rel_src_subdir}/$(top_srcdir)/src/" -I"$${rel_build_subdir}$(top_builddir)/include/" -I"$${rel_build_subdir}$(top_builddir)/include/src/"" CFLAGS="$(CFLAGS)" AM_CFLAGS="$(AM_CFLAGS)" 
LDFLAGS="$(LDFLAGS)" AM_LDFLAGS="$(AM_LDFLAGS) -L../../../src/.libs/ -Wl,-rpath,"$(PWD)/../../src/.libs/"" AM_V_P="$(AM_V_P)" AM_V_at="$(AM_V_at)" $(AM_MAKEFLAGS) all;
+ 
+ @NO_SHARED_FALSE@clean-local:
+ @NO_SHARED_FALSE@     $(AM_V_at)$(MAKE) -f dist-files/Makefile $(AM_MAKEFLAGS) clean; \
+ @NO_SHARED_FALSE@     if [ x"$(srcdir)" != x"$(builddir)" ]; then \
diff -r 6af6aee69a63 -r b60ba46d4962 devel/userspace-rcu/patches/patch-include_urcu_syscall-compat.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/userspace-rcu/patches/patch-include_urcu_syscall-compat.h   Wed Jul 01 00:40:48 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-include_urcu_syscall-compat.h,v 1.1 2020/07/01 00:40:48 manu Exp $
+--- include/urcu/syscall-compat.h.orig 2020-06-27 02:29:41.649133194 +0200
++++ include/urcu/syscall-compat.h      2020-06-27 02:29:43.106570959 +0200
+@@ -32,9 +32,10 @@
+ #elif defined(__linux__) || defined(__GLIBC__)
+ #include <syscall.h>
+ 
+ #elif defined(__CYGWIN__) || defined(__APPLE__) || \
+-      defined(__FreeBSD__) || defined(__DragonFly__)
++      defined(__FreeBSD__) || defined(__DragonFly__) || \
++      defined(__NetBSD__)
+ /* Don't include anything on these platforms. */
+ 
+ #else
+ #error "Add platform support to urcu/syscall-compat.h"
diff -r 6af6aee69a63 -r b60ba46d4962 devel/userspace-rcu/patches/patch-urcu_uatomic_generic.h
--- a/devel/userspace-rcu/patches/patch-urcu_uatomic_generic.h  Tue Jun 30 19:48:13 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,100 +0,0 @@
-$NetBSD: patch-urcu_uatomic_generic.h,v 1.1 2015/03/19 19:14:26 joerg Exp $
-
-Clang requires correctly sized pointer arguments for the builtins.
-
---- urcu/uatomic/generic.h.orig        2015-03-17 21:09:40.000000000 +0000
-+++ urcu/uatomic/generic.h
-@@ -65,17 +65,17 @@ unsigned long _uatomic_cmpxchg(void *add
-       switch (len) {
- #ifdef UATOMIC_HAS_ATOMIC_BYTE
-       case 1:
--              return __sync_val_compare_and_swap_1(addr, old, _new);
-+              return __sync_val_compare_and_swap_1((uint8_t *)addr, old, _new);
- #endif
- #ifdef UATOMIC_HAS_ATOMIC_SHORT
-       case 2:
--              return __sync_val_compare_and_swap_2(addr, old, _new);
-+              return __sync_val_compare_and_swap_2((uint16_t *)addr, old, _new);
- #endif
-       case 4:
--              return __sync_val_compare_and_swap_4(addr, old, _new);
-+              return __sync_val_compare_and_swap_4((uint32_t *)addr, old, _new);
- #if (CAA_BITS_PER_LONG == 64)
-       case 8:
--              return __sync_val_compare_and_swap_8(addr, old, _new);
-+              return __sync_val_compare_and_swap_8((uint64_t *)addr, old, _new);
- #endif
-       }
-       _uatomic_link_error();
-@@ -100,20 +100,20 @@ void _uatomic_and(void *addr, unsigned l
-       switch (len) {
- #ifdef UATOMIC_HAS_ATOMIC_BYTE
-       case 1:
--              __sync_and_and_fetch_1(addr, val);
-+              __sync_and_and_fetch_1((uint8_t *)addr, val);
-               return;
- #endif
- #ifdef UATOMIC_HAS_ATOMIC_SHORT
-       case 2:
--              __sync_and_and_fetch_2(addr, val);
-+              __sync_and_and_fetch_2((uint16_t *)addr, val);
-               return;
- #endif
-       case 4:
--              __sync_and_and_fetch_4(addr, val);
-+              __sync_and_and_fetch_4((uint32_t *)addr, val);
-               return;
- #if (CAA_BITS_PER_LONG == 64)
-       case 8:
--              __sync_and_and_fetch_8(addr, val);
-+              __sync_and_and_fetch_8((uint64_t *)addr, val);
-               return;
- #endif
-       }
-@@ -139,20 +139,20 @@ void _uatomic_or(void *addr, unsigned lo
-       switch (len) {
- #ifdef UATOMIC_HAS_ATOMIC_BYTE
-       case 1:
--              __sync_or_and_fetch_1(addr, val);
-+              __sync_or_and_fetch_1((uint8_t *)addr, val);
-               return;
- #endif
- #ifdef UATOMIC_HAS_ATOMIC_SHORT
-       case 2:
--              __sync_or_and_fetch_2(addr, val);
-+              __sync_or_and_fetch_2((uint16_t *)addr, val);
-               return;
- #endif
-       case 4:
--              __sync_or_and_fetch_4(addr, val);
-+              __sync_or_and_fetch_4((uint32_t *)addr, val);
-               return;
- #if (CAA_BITS_PER_LONG == 64)
-       case 8:
--              __sync_or_and_fetch_8(addr, val);
-+              __sync_or_and_fetch_8((uint64_t *)addr, val);
-               return;
- #endif
-       }
-@@ -180,17 +180,17 @@ unsigned long _uatomic_add_return(void *
-       switch (len) {
- #ifdef UATOMIC_HAS_ATOMIC_BYTE
-       case 1:
--              return __sync_add_and_fetch_1(addr, val);
-+              return __sync_add_and_fetch_1((uint8_t *)addr, val);
- #endif
- #ifdef UATOMIC_HAS_ATOMIC_SHORT
-       case 2:
--              return __sync_add_and_fetch_2(addr, val);
-+              return __sync_add_and_fetch_2((uint16_t *)addr, val);
- #endif



Home | Main Index | Thread Index | Old Index