diff mbox series

[AUH] concurrencykit: upgrading to 0.7.1 FAILED

Message ID 0101018b96bebf92-6ab584d9-2366-4618-9be6-b16536789996-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] concurrencykit: upgrading to 0.7.1 FAILED | expand

Commit Message

auh@yoctoproject.org Nov. 3, 2023, 7:52 p.m. UTC
Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe *concurrencykit* to *0.7.1* has Failed(do_compile).

Detailed error information:

do_compile failed



Next steps:
    - apply the patch: git am 0001-concurrencykit-upgrade-0.7.0-0.7.1.patch
    - check the changes to upstream patches and summarize them in the commit message,
    - compile an image that contains the package
    - perform some basic sanity tests
    - amend the patch and sign it off: git commit -s --reset-author --amend
    - send it to the appropriate mailing list

Alternatively, if you believe the recipe should not be upgraded at this time,
you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
automatic upgrades would no longer be attempted.

Please review the attached files for further information and build/update failures.
Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

-- >8 --
From 3aa986504f3324bfbb3ef5c64114737ca98424d2 Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Fri, 3 Nov 2023 11:56:07 +0000
Subject: [PATCH] concurrencykit: upgrade 0.7.0 -> 0.7.1

---
 ...ons-implement-aff_iterate-for-NetBSD.patch |  78 +++++++
 .../0002-configure-Fix-USE_CC_BUILTINS.patch  |  25 +++
 ...tput-operand-widths-on-x86-and-x86_6.patch | 197 ++++++++++++++++++
 ...n-t-pass-msse-msse2-with-disable-sse.patch |  32 +++
 ...-regressions-porting-to-dragonflybsd.patch |  70 +++++++
 ...itecture-diagram-workflow-to-reposit.patch |  98 +++++++++
 .../0007-Fix-tests-on-1-core-VM.patch         |  23 ++
 ...och_register-in-docs-to-send-three-a.patch |  69 ++++++
 ...SUPPORTED-from-thread_policy_set-on-.patch |  44 ++++
 ...on-Add-missing-include-for-errno-on-.patch |  23 ++
 ...-Add-riscv32-and-riscv64-support-194.patch |  57 +++++
 ...-config-to-use-the-latest-FreeBSD-de.patch |  35 ++++
 ...0013-Fixes-implicit-cast-build-error.patch |  22 ++
 .../concurrencykit/concurrencykit_git.bb      |  20 +-
 14 files changed, 790 insertions(+), 3 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0001-regressions-implement-aff_iterate-for-NetBSD.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0002-configure-Fix-USE_CC_BUILTINS.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0003-ck_pr-fix-ptr-output-operand-widths-on-x86-and-x86_6.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0004-x86-Don-t-pass-msse-msse2-with-disable-sse.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0005-regressions-porting-to-dragonflybsd.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0006-Add-CodeSee-architecture-diagram-workflow-to-reposit.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0007-Fix-tests-on-1-core-VM.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0008-doc-update-ck_epoch_register-in-docs-to-send-three-a.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0009-Ignore-KERN_NOT_SUPPORTED-from-thread_policy_set-on-.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0010-regressions-common-Add-missing-include-for-errno-on-.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0011-build-Add-riscv32-and-riscv64-support-194.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0012-Update-Cirrus-CI-config-to-use-the-latest-FreeBSD-de.patch
 create mode 100644 meta-oe/recipes-devtools/concurrencykit/concurrencykit/0013-Fixes-implicit-cast-build-error.patch
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0001-regressions-implement-aff_iterate-for-NetBSD.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0001-regressions-implement-aff_iterate-for-NetBSD.patch
new file mode 100644
index 000000000..c17aceb0b
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0001-regressions-implement-aff_iterate-for-NetBSD.patch
@@ -0,0 +1,78 @@ 
+From 3b551ab5a9a792e372d25be92c19803095b3fbfd Mon Sep 17 00:00:00 2001
+From: David Carlier <devnexen@gmail.com>
+Date: Wed, 30 Jun 2021 23:00:53 +0100
+Subject: [PATCH] regressions: implement aff_iterate() for NetBSD
+
+---
+ configure            |  3 +++
+ regressions/common.h | 36 ++++++++++++++++++++++++++++++++++++
+ 2 files changed, 39 insertions(+)
+
+diff --git a/configure b/configure
+index 340e05c..6210ad0 100755
+--- a/configure
++++ b/configure
+@@ -741,6 +741,9 @@ elif test "$COMPILER" = "gcc" || test "$COMPILER" = "clang" || test "$COMPILER"
+ 		ENVIRONMENT=64
+ 		PLATFORM=x86_64
+ 	fi
++	if test "$SYSTEM" = "netbsd"; then
++		CFLAGS="$CFLAGS -D_NETBSD_SOURCE"
++	fi
+ else
+ 	assert "" "unknown compiler"
+ fi
+diff --git a/regressions/common.h b/regressions/common.h
+index 9cdc690..dbc51b9 100644
+--- a/regressions/common.h
++++ b/regressions/common.h
+@@ -44,6 +44,9 @@
+ #elif defined(__FreeBSD__)
+ #include <sys/param.h>
+ #include <sys/cpuset.h>
++#elif defined(__NetBSD__)
++#include <pthread.h>
++#include <sched.h>
+ #endif
+ 
+ #if defined(_WIN32)
+@@ -355,6 +358,39 @@ aff_iterate_core(struct affinity *acb CK_CC_UNUSED, unsigned int *core)
+ 	return (cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_TID, -1,
+ 	    sizeof(mask), &mask));
+ }
++#elif defined(__NetBSD__)
++CK_CC_UNUSED static int
++aff_iterate(struct affinity *acb CK_CC_UNUSED)
++{
++	unsigned int c;
++	cpuset_t *mask;
++
++	c = ck_pr_faa_uint(&acb->request, acb->delta) % CORES;
++	mask = cpuset_create();
++	if (!mask)
++            return -1;
++	cpuset_zero(mask);
++	cpuset_set(c, mask);
++	int ret = pthread_setaffinity_np(pthread_self(), cpuset_size(mask), mask);
++	cpuset_destroy(mask);
++	return ret;
++}
++
++CK_CC_UNUSED static int
++aff_iterate_core(struct affinity *acb CK_CC_UNUSED, unsigned int *core)
++{
++	cpuset_t *mask;
++
++	*core = ck_pr_faa_uint(&acb->request, acb->delta) % CORES;
++	mask = cpuset_create();
++	if (!mask)
++            return -1;
++	cpuset_zero(mask);
++	cpuset_set(*core, mask);
++	int ret = pthread_setaffinity_np(pthread_self(), cpuset_size(mask), mask);
++	cpuset_destroy(mask);
++	return ret;
++}
+ #else
+ CK_CC_UNUSED static int
+ aff_iterate(struct affinity *acb CK_CC_UNUSED)
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0002-configure-Fix-USE_CC_BUILTINS.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0002-configure-Fix-USE_CC_BUILTINS.patch
new file mode 100644
index 000000000..56345004d
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0002-configure-Fix-USE_CC_BUILTINS.patch
@@ -0,0 +1,25 @@ 
+From dcb6b232e7555d3d6989a9582fb3cacc8ac045af Mon Sep 17 00:00:00 2001
+From: Adrian Bunk <bunk@debian.org>
+Date: Sun, 25 Jul 2021 17:01:19 +0300
+Subject: [PATCH] configure: Fix USE_CC_BUILTINS
+
+include/ck_pr.h uses CK_USE_CC_BUILTINS, not USE_CC_BUILTINS.
+---
+ configure | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index 6210ad0..6a22dca 100755
+--- a/configure
++++ b/configure
+@@ -551,8 +551,8 @@ else
+ fi
+ 
+ if test "$USE_CC_BUILTINS"; then
+-	CFLAGS="$CFLAGS -DCK_CC_BUILTINS"
+-	PC_CFLAGS="-DCK_CC_BULITINS"
++	CFLAGS="$CFLAGS -DCK_USE_CC_BUILTINS=1"
++	PC_CFLAGS="-DCK_USE_CC_BUILTINS=1"
+ fi
+ 
+ # `which` on Solaris sucks
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0003-ck_pr-fix-ptr-output-operand-widths-on-x86-and-x86_6.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0003-ck_pr-fix-ptr-output-operand-widths-on-x86-and-x86_6.patch
new file mode 100644
index 000000000..469219c1d
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0003-ck_pr-fix-ptr-output-operand-widths-on-x86-and-x86_6.patch
@@ -0,0 +1,197 @@ 
+From 0c7a69aaef84f75793353295a5a63d2349996a73 Mon Sep 17 00:00:00 2001
+From: Mark Johnston <markjdb@gmail.com>
+Date: Wed, 21 Jul 2021 17:00:17 -0400
+Subject: [PATCH] ck_pr: fix ptr output operand widths on x86 and x86_64
+
+Operations on a variable of type "ptr" specify that the output operand
+can be a memory address.  Most such operations specify that the output
+operand is of type char, so it has width 1.  Convert these to uint64_t
+on x86_64 and uint32_t on x86.
+
+No functional change intended.  With clang 12.0.1 there is no difference
+in the generated code before and after this change.
+
+The compiler needs to know the true width of the destination operand in
+some cases.  In particular, when compiling with LLVM's MemorySanitizer
+enabled, the generated code updates shadow state to mark variables as
+initialized (or not) at byte granularity.  When instrumenting inline
+assembly, the compiler uses the width of the output operand(s) to figure
+out how many bytes of shadow state to update.  When the output operand
+is cast to char, the runtime would only update one byte of shadow state
+even though the store modified eight bytes of memory.  This led to false
+positives when enabling MSAN in the FreeBSD kernel.
+---
+ include/gcc/x86/ck_pr.h    | 24 ++++++++++++------------
+ include/gcc/x86_64/ck_pr.h | 26 +++++++++++++-------------
+ 2 files changed, 25 insertions(+), 25 deletions(-)
+
+diff --git a/include/gcc/x86/ck_pr.h b/include/gcc/x86/ck_pr.h
+index 5194dee..12291c8 100644
+--- a/include/gcc/x86/ck_pr.h
++++ b/include/gcc/x86/ck_pr.h
+@@ -120,7 +120,7 @@ CK_PR_FENCE(unlock, CK_MD_X86_MFENCE)
+ 		return v;					\
+ 	}
+ 
+-CK_PR_FAS(ptr, void, void *, char, "xchgl")
++CK_PR_FAS(ptr, void, void *, uint32_t, "xchgl")
+ 
+ #define CK_PR_FAS_S(S, T, I) CK_PR_FAS(S, T, T, T, I)
+ 
+@@ -146,7 +146,7 @@ CK_PR_FAS_S(8,  uint8_t,  "xchgb")
+ 		return (r);						\
+ 	}
+ 
+-CK_PR_LOAD(ptr, void, void *, char, "movl")
++CK_PR_LOAD(ptr, void, void *, uint32_t, "movl")
+ 
+ #define CK_PR_LOAD_S(S, T, I) CK_PR_LOAD(S, T, T, T, I)
+ 
+@@ -171,7 +171,7 @@ CK_PR_LOAD_S(8,  uint8_t,  "movb")
+ 		return;						\
+ 	}
+ 
+-CK_PR_STORE(ptr, void, const void *, char, "movl")
++CK_PR_STORE(ptr, void, const void *, uint32_t, "movl")
+ 
+ #define CK_PR_STORE_S(S, T, I) CK_PR_STORE(S, T, T, T, I)
+ 
+@@ -200,7 +200,7 @@ CK_PR_STORE_S(8,  uint8_t, "movb")
+ 		return (d);						\
+ 	}
+ 
+-CK_PR_FAA(ptr, void, uintptr_t, char, "xaddl")
++CK_PR_FAA(ptr, void, uintptr_t, uint32_t, "xaddl")
+ 
+ #define CK_PR_FAA_S(S, T, I) CK_PR_FAA(S, T, T, T, I)
+ 
+@@ -248,7 +248,7 @@ CK_PR_FAA_S(8,  uint8_t,  "xaddb")
+ #define CK_PR_UNARY_S(K, S, T, I) CK_PR_UNARY(K, S, T, T, I)
+ 
+ #define CK_PR_GENERATE(K)				\
+-	CK_PR_UNARY(K, ptr, void, char, #K "l") 	\
++	CK_PR_UNARY(K, ptr, void, uint32_t, #K "l") 	\
+ 	CK_PR_UNARY_S(K, char, char, #K "b")		\
+ 	CK_PR_UNARY_S(K, int, int, #K "l")		\
+ 	CK_PR_UNARY_S(K, uint, unsigned int, #K "l")	\
+@@ -288,7 +288,7 @@ CK_PR_GENERATE(not)
+ #define CK_PR_BINARY_S(K, S, T, I) CK_PR_BINARY(K, S, T, T, T, I)
+ 
+ #define CK_PR_GENERATE(K)					\
+-	CK_PR_BINARY(K, ptr, void, uintptr_t, char, #K "l")	\
++	CK_PR_BINARY(K, ptr, void, uintptr_t, uint32_t, #K "l")	\
+ 	CK_PR_BINARY_S(K, char, char, #K "b")			\
+ 	CK_PR_BINARY_S(K, int, int, #K "l")			\
+ 	CK_PR_BINARY_S(K, uint, unsigned int, #K "l")		\
+@@ -369,7 +369,7 @@ CK_PR_GENERATE(xor)
+ 	}
+ #endif
+ 
+-CK_PR_CAS(ptr, void, void *, char, "cmpxchgl")
++CK_PR_CAS(ptr, void, void *, uint32_t, "cmpxchgl")
+ 
+ #define CK_PR_CAS_S(S, T, I) CK_PR_CAS(S, T, T, T, I)
+ 
+@@ -401,11 +401,11 @@ CK_PR_CAS_S(8,  uint8_t,  "cmpxchgb")
+ 
+ #define CK_PR_BT_S(K, S, T, I) CK_PR_BT(K, S, T, T, T, I)
+ 
+-#define CK_PR_GENERATE(K)					\
+-	CK_PR_BT(K, ptr, void, uint32_t, char, #K "l %2, %0")	\
+-	CK_PR_BT_S(K, uint, unsigned int, #K "l %2, %0")	\
+-	CK_PR_BT_S(K, int, int, #K "l %2, %0")			\
+-	CK_PR_BT_S(K, 32, uint32_t, #K "l %2, %0")		\
++#define CK_PR_GENERATE(K)						\
++	CK_PR_BT(K, ptr, void, uint32_t, uint32_t, #K "l %2, %0")	\
++	CK_PR_BT_S(K, uint, unsigned int, #K "l %2, %0")		\
++	CK_PR_BT_S(K, int, int, #K "l %2, %0")				\
++	CK_PR_BT_S(K, 32, uint32_t, #K "l %2, %0")			\
+ 	CK_PR_BT_S(K, 16, uint16_t, #K "w %w2, %0")
+ 
+ CK_PR_GENERATE(btc)
+diff --git a/include/gcc/x86_64/ck_pr.h b/include/gcc/x86_64/ck_pr.h
+index 4222729..37678b1 100644
+--- a/include/gcc/x86_64/ck_pr.h
++++ b/include/gcc/x86_64/ck_pr.h
+@@ -149,7 +149,7 @@ ck_pr_rfo(const void *m)
+ 		return v;					\
+ 	}
+ 
+-CK_PR_FAS(ptr, void, void *, char, "xchgq")
++CK_PR_FAS(ptr, void, void *, uint64_t, "xchgq")
+ 
+ #define CK_PR_FAS_S(S, T, I) CK_PR_FAS(S, T, T, T, I)
+ 
+@@ -182,7 +182,7 @@ CK_PR_FAS_S(8,  uint8_t,  "xchgb")
+ 		return (r);					\
+ 	}
+ 
+-CK_PR_LOAD(ptr, void, void *, char, "movq")
++CK_PR_LOAD(ptr, void, void *, uint64_t, "movq")
+ 
+ #define CK_PR_LOAD_S(S, T, I) CK_PR_LOAD(S, T, T, T, I)
+ 
+@@ -264,7 +264,7 @@ CK_PR_LOAD_2(8, 16, uint8_t)
+ 		return;						\
+ 	}
+ 
+-CK_PR_STORE_IMM(ptr, void, const void *, char, "movq", CK_CC_IMM_U32)
++CK_PR_STORE_IMM(ptr, void, const void *, uint64_t, "movq", CK_CC_IMM_U32)
+ #ifndef CK_PR_DISABLE_DOUBLE
+ CK_PR_STORE(double, double, double, double, "movq")
+ #endif
+@@ -298,7 +298,7 @@ CK_PR_STORE_S(8,  uint8_t, "movb", CK_CC_IMM_U32)
+ 		return (d);						\
+ 	}
+ 
+-CK_PR_FAA(ptr, void, uintptr_t, char, "xaddq")
++CK_PR_FAA(ptr, void, uintptr_t, uint64_t, "xaddq")
+ 
+ #define CK_PR_FAA_S(S, T, I) CK_PR_FAA(S, T, T, T, I)
+ 
+@@ -347,7 +347,7 @@ CK_PR_FAA_S(8,  uint8_t,  "xaddb")
+ #define CK_PR_UNARY_S(K, S, T, I) CK_PR_UNARY(K, S, T, T, I)
+ 
+ #define CK_PR_GENERATE(K)				\
+-	CK_PR_UNARY(K, ptr, void, char, #K "q") 	\
++	CK_PR_UNARY(K, ptr, void, uint64_t, #K "q") 	\
+ 	CK_PR_UNARY_S(K, char, char, #K "b")		\
+ 	CK_PR_UNARY_S(K, int, int, #K "l")		\
+ 	CK_PR_UNARY_S(K, uint, unsigned int, #K "l")	\
+@@ -388,7 +388,7 @@ CK_PR_GENERATE(not)
+ #define CK_PR_BINARY_S(K, S, T, I, O) CK_PR_BINARY(K, S, T, T, T, I, O)
+ 
+ #define CK_PR_GENERATE(K)							\
+-	CK_PR_BINARY(K, ptr, void, uintptr_t, char, #K "q", CK_CC_IMM_U32)	\
++	CK_PR_BINARY(K, ptr, void, uintptr_t, uint64_t, #K "q", CK_CC_IMM_U32)	\
+ 	CK_PR_BINARY_S(K, char, char, #K "b", CK_CC_IMM_S32)			\
+ 	CK_PR_BINARY_S(K, int, int, #K "l", CK_CC_IMM_S32)			\
+ 	CK_PR_BINARY_S(K, uint, unsigned int, #K "l", CK_CC_IMM_U32)		\
+@@ -470,7 +470,7 @@ CK_PR_GENERATE(xor)
+ 	}
+ #endif
+ 
+-CK_PR_CAS(ptr, void, void *, char, "cmpxchgq")
++CK_PR_CAS(ptr, void, void *, uint64_t, "cmpxchgq")
+ 
+ #define CK_PR_CAS_S(S, T, I) CK_PR_CAS(S, T, T, T, I)
+ 
+@@ -594,12 +594,12 @@ CK_PR_CAS_V(8, 16, uint8_t)
+ 
+ #define CK_PR_BT_S(K, S, T, I) CK_PR_BT(K, S, T, T, T, I)
+ 
+-#define CK_PR_GENERATE(K)					\
+-	CK_PR_BT(K, ptr, void, uint64_t, char, #K "q %2, %0")	\
+-	CK_PR_BT_S(K, uint, unsigned int, #K "l %2, %0")	\
+-	CK_PR_BT_S(K, int, int, #K "l %2, %0")			\
+-	CK_PR_BT_S(K, 64, uint64_t, #K "q %2, %0")		\
+-	CK_PR_BT_S(K, 32, uint32_t, #K "l %2, %0")		\
++#define CK_PR_GENERATE(K)						\
++	CK_PR_BT(K, ptr, void, uint64_t, uint64_t, #K "q %2, %0")	\
++	CK_PR_BT_S(K, uint, unsigned int, #K "l %2, %0")		\
++	CK_PR_BT_S(K, int, int, #K "l %2, %0")				\
++	CK_PR_BT_S(K, 64, uint64_t, #K "q %2, %0")			\
++	CK_PR_BT_S(K, 32, uint32_t, #K "l %2, %0")			\
+ 	CK_PR_BT_S(K, 16, uint16_t, #K "w %w2, %0")
+ 
+ CK_PR_GENERATE(btc)
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0004-x86-Don-t-pass-msse-msse2-with-disable-sse.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0004-x86-Don-t-pass-msse-msse2-with-disable-sse.patch
new file mode 100644
index 000000000..7ff8018f1
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0004-x86-Don-t-pass-msse-msse2-with-disable-sse.patch
@@ -0,0 +1,32 @@ 
+From 928a59d17ae09dcdb241852cd334315424655b66 Mon Sep 17 00:00:00 2001
+From: Adrian Bunk <bunk@debian.org>
+Date: Wed, 25 Aug 2021 17:24:07 +0300
+Subject: [PATCH] x86: Don't pass -msse -msse2 with --disable-sse
+
+---
+ build/ck.build.x86 | 2 +-
+ configure          | 3 +++
+ 2 files changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/build/ck.build.x86 b/build/ck.build.x86
+index 6e12783..4d07fa4 100644
+--- a/build/ck.build.x86
++++ b/build/ck.build.x86
+@@ -1,2 +1,2 @@
+-CFLAGS+=-m32 -D__x86__ -msse -msse2
++CFLAGS+=-m32 -D__x86__
+ LDFLAGS+=-m32
+diff --git a/configure b/configure
+index 6a22dca..742adfe 100755
+--- a/configure
++++ b/configure
+@@ -424,6 +424,9 @@ case $PLATFORM in
+ 		LDFLAGS="-m64 $LDFLAGS"
+ 		;;
+ 	i386|i486|i586|i686|i586_i686|pentium*|athlon*|k5|k6|k6_2|k6_3)
++		if test "${SSE_DISABLE}" = "CK_MD_SSE_ENABLE"; then
++			CFLAGS="$CFLAGS -msse -msse2"
++		fi
+ 		LSE_ENABLE="CK_MD_LSE_DISABLE"
+ 		MM="${MM:-"CK_MD_TSO"}"
+ 		case $SYSTEM in
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0005-regressions-porting-to-dragonflybsd.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0005-regressions-porting-to-dragonflybsd.patch
new file mode 100644
index 000000000..e1ed2af94
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0005-regressions-porting-to-dragonflybsd.patch
@@ -0,0 +1,70 @@ 
+From 1c4755bbc7ff7494280e0b7a48cb334e78943d4f Mon Sep 17 00:00:00 2001
+From: DC <devnexen@gmail.com>
+Date: Sun, 22 Aug 2021 17:02:45 +0100
+Subject: [PATCH] regressions porting to dragonflybsd
+
+---
+ configure            |  5 ++++-
+ regressions/common.h | 12 ++++++++++--
+ 2 files changed, 14 insertions(+), 3 deletions(-)
+
+diff --git a/configure b/configure
+index 742adfe..1259ae2 100755
+--- a/configure
++++ b/configure
+@@ -738,7 +738,7 @@ elif test "$COMPILER" = "gcc" || test "$COMPILER" = "clang" || test "$COMPILER"
+ 		fi
+ 	fi
+ 
+-	CFLAGS="-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -std=gnu99 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -fstrict-aliasing -O2 -pipe -Wno-parentheses $CFLAGS"
++	CFLAGS="-D_BSD_SOURCE -D_DEFAULT_SOURCE -std=gnu99 -pedantic -Wall -W -Wundef -Wendif-labels -Wshadow -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wdisabled-optimization -fstrict-aliasing -O2 -pipe -Wno-parentheses $CFLAGS"
+ 	PTHREAD_CFLAGS="-pthread"
+ 	if test "$COMPILER" = "mingw64"; then
+ 		ENVIRONMENT=64
+@@ -747,6 +747,9 @@ elif test "$COMPILER" = "gcc" || test "$COMPILER" = "clang" || test "$COMPILER"
+ 	if test "$SYSTEM" = "netbsd"; then
+ 		CFLAGS="$CFLAGS -D_NETBSD_SOURCE"
+ 	fi
++	if test "$SYSTEM" != "dragonflybsd"; then
++		CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600"
++	fi
+ else
+ 	assert "" "unknown compiler"
+ fi
+diff --git a/regressions/common.h b/regressions/common.h
+index dbc51b9..9d01c83 100644
+--- a/regressions/common.h
++++ b/regressions/common.h
+@@ -34,10 +34,14 @@
+ #include <stdlib.h>
+ #include <sys/time.h>
+ 
+-#ifdef __linux__
++#if defined(__linux__) || defined(__DragonFly__)
+ #include <sched.h>
+ #include <sys/types.h>
+ #include <sys/syscall.h>
++#if defined(__DragonFly__)
++#include <sys/sched.h>
++#include <pthread_np.h>
++#endif
+ #elif defined(__MACH__)
+ #include <mach/mach.h>
+ #include <mach/thread_policy.h>
+@@ -269,11 +273,15 @@ struct affinity {
+ 
+ #define AFFINITY_INITIALIZER {0, 0}
+ 
+-#ifdef __linux__
++#if defined(__linux__) || defined(__DragonFly__)
+ static pid_t
+ common_gettid(void)
+ {
++#if defined(__linux__)
+ 	return syscall(__NR_gettid);
++#else
++	return pthread_getthreadid_np();
++#endif
+ }
+ 
+ CK_CC_UNUSED static int
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0006-Add-CodeSee-architecture-diagram-workflow-to-reposit.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0006-Add-CodeSee-architecture-diagram-workflow-to-reposit.patch
new file mode 100644
index 000000000..cea52e252
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0006-Add-CodeSee-architecture-diagram-workflow-to-reposit.patch
@@ -0,0 +1,98 @@ 
+From 683b2b981d7b3925bba8fedec363d2f2e8f522bf Mon Sep 17 00:00:00 2001
+From: "codesee-architecture-diagrams[bot]"
+ <86324825+codesee-architecture-diagrams[bot]@users.noreply.github.com>
+Date: Wed, 20 Oct 2021 23:48:26 +0000
+Subject: [PATCH] Add CodeSee architecture diagram workflow to repository
+
+---
+ .github/workflows/codesee-arch-diagram.yml | 81 ++++++++++++++++++++++
+ 1 file changed, 81 insertions(+)
+ create mode 100644 .github/workflows/codesee-arch-diagram.yml
+
+diff --git a/.github/workflows/codesee-arch-diagram.yml b/.github/workflows/codesee-arch-diagram.yml
+new file mode 100644
+index 0000000..5b4e581
+--- /dev/null
++++ b/.github/workflows/codesee-arch-diagram.yml
+@@ -0,0 +1,81 @@
++on:
++  push:
++    branches:
++      - master
++  pull_request_target:
++    types: [opened, synchronize, reopened]
++
++name: CodeSee Map
++
++jobs:
++  test_map_action:
++    runs-on: ubuntu-latest
++    continue-on-error: true
++    name: Run CodeSee Map Analysis
++    steps:
++      - name: checkout
++        id: checkout
++        uses: actions/checkout@v2
++        with:
++          repository: ${{ github.event.pull_request.head.repo.full_name }}
++          ref: ${{ github.event.pull_request.head.ref }}
++          fetch-depth: 0
++
++      # codesee-detect-languages has an output with id languages.
++      - name: Detect Languages
++        id: detect-languages
++        uses: Codesee-io/codesee-detect-languages-action@latest
++
++      - name: Configure JDK 16
++        uses: actions/setup-java@v2
++        if: ${{ fromJSON(steps.detect-languages.outputs.languages).java }}
++        with:
++          java-version: '16'
++          distribution: 'zulu'
++
++      # CodeSee Maps Go support uses a static binary so there's no setup step required.
++
++      - name: Configure Node.js 14
++        uses: actions/setup-node@v2
++        if: ${{ fromJSON(steps.detect-languages.outputs.languages).javascript }}
++        with:
++          node-version: '14'
++
++      - name: Configure Python 3.x
++        uses: actions/setup-python@v2
++        if: ${{ fromJSON(steps.detect-languages.outputs.languages).python }}
++        with:
++          python-version: '3.x'
++          architecture: 'x64'
++
++      - name: Configure Ruby '3.x'
++        uses: ruby/setup-ruby@v1
++        if: ${{ fromJSON(steps.detect-languages.outputs.languages).ruby }}
++        with:
++          ruby-version: '3.0'
++
++      # CodeSee Maps Rust support uses a static binary so there's no setup step required.
++
++      - name: Generate Map
++        id: generate-map
++        uses: Codesee-io/codesee-map-action@latest
++        with:
++          step: map
++          github_ref: ${{ github.ref }}
++          languages: ${{ steps.detect-languages.outputs.languages }}
++
++      - name: Upload Map
++        id: upload-map
++        uses: Codesee-io/codesee-map-action@latest
++        with:
++          step: mapUpload
++          api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
++          github_ref: ${{ github.ref }}
++      
++      - name: Insights
++        id: insights
++        uses: Codesee-io/codesee-map-action@latest
++        with:
++          step: insights
++          api_token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
++          github_ref: ${{ github.ref }}
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0007-Fix-tests-on-1-core-VM.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0007-Fix-tests-on-1-core-VM.patch
new file mode 100644
index 000000000..0e5fca9ce
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0007-Fix-tests-on-1-core-VM.patch
@@ -0,0 +1,23 @@ 
+From 56849a89c21dced0afd8b04483b5b34f15cd5c8a Mon Sep 17 00:00:00 2001
+From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
+Date: Fri, 5 Nov 2021 10:37:31 +0100
+Subject: [PATCH] Fix tests on 1-core VM
+
+Fixes #181
+---
+ regressions/ck_sequence/validate/ck_sequence.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/regressions/ck_sequence/validate/ck_sequence.c b/regressions/ck_sequence/validate/ck_sequence.c
+index 47de852..5c85d44 100644
+--- a/regressions/ck_sequence/validate/ck_sequence.c
++++ b/regressions/ck_sequence/validate/ck_sequence.c
+@@ -124,7 +124,7 @@ main(int argc, char *argv[])
+ 
+ 	n_threads = atoi(argv[1]) - 1;
+ 	if (n_threads <= 0) {
+-		ck_error("ERROR: Number of threads must be greater than 0\n");
++		return 0; /* nothing to do */
+ 	}
+ 
+ 	threads = malloc(sizeof(pthread_t) * n_threads);
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0008-doc-update-ck_epoch_register-in-docs-to-send-three-a.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0008-doc-update-ck_epoch_register-in-docs-to-send-three-a.patch
new file mode 100644
index 000000000..86af8d6c0
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0008-doc-update-ck_epoch_register-in-docs-to-send-three-a.patch
@@ -0,0 +1,69 @@ 
+From 45dd434d320a6d70988c61ecf441fe2b1b2bf4be Mon Sep 17 00:00:00 2001
+From: Michael Grunder <michael.grunder@gmail.com>
+Date: Fri, 7 Jan 2022 16:28:11 -0800
+Subject: [PATCH] doc: update ck_epoch_register in docs to send three
+ arguments. (#187)
+
+Small change so the docs show the third void *cl argument to
+ck_epoch_register.
+
+From Michael Grunder.
+---
+ doc/ck_epoch_barrier     | 2 +-
+ doc/ck_epoch_call        | 2 +-
+ doc/ck_epoch_recycle     | 2 +-
+ doc/ck_epoch_synchronize | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/doc/ck_epoch_barrier b/doc/ck_epoch_barrier
+index a586145..2343800 100644
+--- a/doc/ck_epoch_barrier
++++ b/doc/ck_epoch_barrier
+@@ -68,7 +68,7 @@ function(void)
+ 	ck_stack_entry_t *s;
+ 
+ 	record = malloc(sizeof *record);
+-	ck_epoch_register(&epoch, record);
++	ck_epoch_register(&epoch, record, NULL);
+ 
+ 	/*
+ 	 * We are using an epoch section here to guarantee no
+diff --git a/doc/ck_epoch_call b/doc/ck_epoch_call
+index 7390642..fb6302d 100644
+--- a/doc/ck_epoch_call
++++ b/doc/ck_epoch_call
+@@ -89,7 +89,7 @@ function(void)
+ 	struct object *n;
+ 
+ 	record = malloc(sizeof *record);
+-	ck_epoch_register(&epoch, record);
++	ck_epoch_register(&epoch, record, NULL);
+ 
+ 	n = malloc(sizeof *n);
+ 	if (n == NULL)
+diff --git a/doc/ck_epoch_recycle b/doc/ck_epoch_recycle
+index 530079c..cfaa9f3 100644
+--- a/doc/ck_epoch_recycle
++++ b/doc/ck_epoch_recycle
+@@ -64,7 +64,7 @@ function(void)
+ 		if (record == NULL)
+ 			return;
+ 
+-		ck_epoch_register(&epoch, record);
++		ck_epoch_register(&epoch, record, NULL);
+ 	}
+ 
+ 	/*
+diff --git a/doc/ck_epoch_synchronize b/doc/ck_epoch_synchronize
+index 6e5f73d..7b4bf74 100644
+--- a/doc/ck_epoch_synchronize
++++ b/doc/ck_epoch_synchronize
+@@ -73,7 +73,7 @@ function(void)
+ 	ck_stack_entry_t *s;
+ 
+ 	record = malloc(sizeof *record);
+-	ck_epoch_register(&epoch, record);
++	ck_epoch_register(&epoch, record, NULL);
+ 
+ 	/*
+ 	 * We are using an epoch section here to guarantee no
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0009-Ignore-KERN_NOT_SUPPORTED-from-thread_policy_set-on-.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0009-Ignore-KERN_NOT_SUPPORTED-from-thread_policy_set-on-.patch
new file mode 100644
index 000000000..4d97cebaf
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0009-Ignore-KERN_NOT_SUPPORTED-from-thread_policy_set-on-.patch
@@ -0,0 +1,44 @@ 
+From 595f25589be8bc6affce331927e139b2e5d133ea Mon Sep 17 00:00:00 2001
+From: M Joonas Pihlaja <jpihlaja@backtrace.io>
+Date: Thu, 10 Feb 2022 15:23:30 +0200
+Subject: [PATCH] Ignore KERN_NOT_SUPPORTED from thread_policy_set on mach
+
+The `thread_policy_set` call in `aff_iterate` fails with
+`KERN_NOT_SUPPORTED` on M1 macbooks. The reported error from the
+regression tests is "Success" because `thread_policy_set` doesn't set
+errno.
+
+This patch converts `KERN_NOT_SUPPORTED` into a successful return and
+sets errno to `EINVAL` on other errors.  This is ok in the regression
+tests as there affinity binding is only advisory.
+
+Fixes #186
+---
+ regressions/common.h | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/regressions/common.h b/regressions/common.h
+index 9d01c83..0e682f4 100644
+--- a/regressions/common.h
++++ b/regressions/common.h
+@@ -320,13 +320,19 @@ aff_iterate(struct affinity *acb)
+ {
+ 	thread_affinity_policy_data_t policy;
+ 	unsigned int c;
++	int err;
+ 
+ 	c = ck_pr_faa_uint(&acb->request, acb->delta) % CORES;
+ 	policy.affinity_tag = c;
+-	return thread_policy_set(mach_thread_self(),
++	err = thread_policy_set(mach_thread_self(),
+ 				 THREAD_AFFINITY_POLICY,
+ 				 (thread_policy_t)&policy,
+ 				 THREAD_AFFINITY_POLICY_COUNT);
++	if (err == KERN_NOT_SUPPORTED)
++		return 0;
++	if (err != 0)
++		errno = EINVAL;
++	return err;
+ }
+ 
+ CK_CC_UNUSED static int
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0010-regressions-common-Add-missing-include-for-errno-on-.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0010-regressions-common-Add-missing-include-for-errno-on-.patch
new file mode 100644
index 000000000..9b6bc2369
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0010-regressions-common-Add-missing-include-for-errno-on-.patch
@@ -0,0 +1,23 @@ 
+From 85b930554baaa733074a3629e435850271b341d1 Mon Sep 17 00:00:00 2001
+From: M Joonas Pihlaja <jpihlaja@backtrace.io>
+Date: Fri, 11 Feb 2022 13:31:07 +0200
+Subject: [PATCH] regressions/common: Add missing include for errno on mach
+
+Didn't build everything from scratch when fixing #186 and missed
+that errno.h wasn't included on mach.
+---
+ regressions/common.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/regressions/common.h b/regressions/common.h
+index 0e682f4..c779a93 100644
+--- a/regressions/common.h
++++ b/regressions/common.h
+@@ -43,6 +43,7 @@
+ #include <pthread_np.h>
+ #endif
+ #elif defined(__MACH__)
++#include <errno.h>
+ #include <mach/mach.h>
+ #include <mach/thread_policy.h>
+ #elif defined(__FreeBSD__)
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0011-build-Add-riscv32-and-riscv64-support-194.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0011-build-Add-riscv32-and-riscv64-support-194.patch
new file mode 100644
index 000000000..d9480d2d0
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0011-build-Add-riscv32-and-riscv64-support-194.patch
@@ -0,0 +1,57 @@ 
+From e6b40afa7cb5631a0092797f6f0a5ae67cb2e66b Mon Sep 17 00:00:00 2001
+From: Lv 'ZETALOG' Zheng <zhenglv@hotmail.com>
+Date: Tue, 12 Jul 2022 01:16:28 +0800
+Subject: [PATCH] build: Add riscv32 and riscv64 support (#194)
+
+This patch adds riscv32/riscv64 cross compilation support. Notice
+that this patch only enforces default psABI for RV32G and RV64G.
+
+Reference: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc
+Signed-off-by: Lv Zheng <zhenglv@smart-core.cn>
+
+Co-authored-by: Lv Zheng <zhenglv@smart-core.cn>
+---
+ build/ck.build.riscv   |  1 +
+ build/ck.build.riscv64 |  1 +
+ configure              | 12 ++++++++++++
+ 3 files changed, 14 insertions(+)
+ create mode 100644 build/ck.build.riscv
+ create mode 100644 build/ck.build.riscv64
+
+diff --git a/build/ck.build.riscv b/build/ck.build.riscv
+new file mode 100644
+index 0000000..61e0033
+--- /dev/null
++++ b/build/ck.build.riscv
+@@ -0,0 +1 @@
++CFLAGS+=-mabi=ilp32
+diff --git a/build/ck.build.riscv64 b/build/ck.build.riscv64
+new file mode 100644
+index 0000000..9f89791
+--- /dev/null
++++ b/build/ck.build.riscv64
+@@ -0,0 +1 @@
++CFLAGS+=-mabi=lp64
+diff --git a/configure b/configure
+index 1259ae2..9066abb 100755
+--- a/configure
++++ b/configure
+@@ -526,6 +526,18 @@ case $PLATFORM in
+ 		PLATFORM=aarch64
+ 		ENVIRONMENT=64
+ 		;;
++	"riscv32"|"riscv")
++		RTM_ENABLE="CK_MD_RTM_DISABLE"
++		MM="${MM:-"CK_MD_RMO"}"
++		PLATFORM=riscv
++		ENVIRONMENT=32
++		;;
++	"riscv64")
++		RTM_ENABLE="CK_MD_RTM_DISABLE"
++		MM="${MM:-"CK_MD_RMO"}"
++		PLATFORM=riscv64
++		ENVIRONMENT=64
++		;;
+ 	"s390x")
+ 		RTM_ENABLE="CK_MD_RTM_DISABLE"
+ 		LSE_ENABLE="CK_MD_LSE_DISABLE"
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0012-Update-Cirrus-CI-config-to-use-the-latest-FreeBSD-de.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0012-Update-Cirrus-CI-config-to-use-the-latest-FreeBSD-de.patch
new file mode 100644
index 000000000..f8b8fc1ee
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0012-Update-Cirrus-CI-config-to-use-the-latest-FreeBSD-de.patch
@@ -0,0 +1,35 @@ 
+From 1fa64c1a53449b8ac3d6423804121efe75058d05 Mon Sep 17 00:00:00 2001
+From: Li-Wen Hsu <lwhsu@lwhsu.org>
+Date: Tue, 12 Jul 2022 01:16:40 +0800
+Subject: [PATCH] Update Cirrus CI config to use the latest FreeBSD development
+ versions (#195)
+
+---
+ .cirrus.yml | 14 ++++++++++----
+ 1 file changed, 10 insertions(+), 4 deletions(-)
+
+diff --git a/.cirrus.yml b/.cirrus.yml
+index 3960a06..52c1861 100644
+--- a/.cirrus.yml
++++ b/.cirrus.yml
+@@ -3,10 +3,16 @@ env:
+   ARCH: amd64
+ 
+ task:
+-  freebsd_instance:
+-    matrix:
+-      image: freebsd-12-0-release-amd64
+-      image: freebsd-11-2-release-amd64
++  matrix:
++   - name: freebsd12-amd64
++     freebsd_instance:
++       image_family: freebsd-12-3-snap
++   - name: freebsd13-amd64
++     freebsd_instance:
++       image_family: freebsd-13-1-snap
++   - name: freebsd14-amd64
++     freebsd_instance:
++       image_family: freebsd-14-0-snap
+   script:
+    - cc --version
+    - export CFLAGS="-DITERATE=400 -DPAIRS_S=100 -DITERATIONS=24"
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0013-Fixes-implicit-cast-build-error.patch b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0013-Fixes-implicit-cast-build-error.patch
new file mode 100644
index 000000000..67457d220
--- /dev/null
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit/0013-Fixes-implicit-cast-build-error.patch
@@ -0,0 +1,22 @@ 
+From b684da82cbd2d583872608d596a0ddef6e950d18 Mon Sep 17 00:00:00 2001
+From: hankedan000 <dany32412@gmail.com>
+Date: Wed, 3 Aug 2022 04:33:51 +0100
+Subject: [PATCH] Fixes implicit cast build error
+
+---
+ include/ck_ring.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/ck_ring.h b/include/ck_ring.h
+index 9f6754e..3a52276 100644
+--- a/include/ck_ring.h
++++ b/include/ck_ring.h
+@@ -282,7 +282,7 @@ _ck_ring_enqueue_reserve_mp(struct ck_ring *ring,
+ 				if (size != NULL)
+ 					*size = (producer - consumer) & mask;
+ 
+-				return false;
++				return NULL;
+ 			}
+ 
+ 			producer = new_producer;
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb b/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb
index 277fac9f7..c2f459ee2 100644
--- a/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb
@@ -7,12 +7,26 @@  LICENSE = "BSD-2-Clause & Apache-2.0"
 HOMEPAGE = "http://concurrencykit.org"
 SECTION = "base"
 
-PV = "0.7.0+git${SRCPV}"
-SRCREV = "6e8e5bec2e2f8cef2072a68579cbb07ababf3331"
+PV = "0.7.1"
+SRCREV = "351415ccaa78798332e556f661fc7e832447f3da"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=a0b24c1a8f9ad516a297d055b0294231"
 SRC_URI = "git://github.com/concurrencykit/ck.git;branch=master;protocol=https \
            file://0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch \
-           file://0001-build-Use-ilp32d-abi-on-riscv32-and-lp64d-on-rv64.patch"
+           file://0001-build-Use-ilp32d-abi-on-riscv32-and-lp64d-on-rv64.patch \
+           file://0001-regressions-implement-aff_iterate-for-NetBSD.patch \
+           file://0002-configure-Fix-USE_CC_BUILTINS.patch \
+           file://0003-ck_pr-fix-ptr-output-operand-widths-on-x86-and-x86_6.patch \
+           file://0004-x86-Don-t-pass-msse-msse2-with-disable-sse.patch \
+           file://0005-regressions-porting-to-dragonflybsd.patch \
+           file://0006-Add-CodeSee-architecture-diagram-workflow-to-reposit.patch \
+           file://0007-Fix-tests-on-1-core-VM.patch \
+           file://0008-doc-update-ck_epoch_register-in-docs-to-send-three-a.patch \
+           file://0009-Ignore-KERN_NOT_SUPPORTED-from-thread_policy_set-on-.patch \
+           file://0010-regressions-common-Add-missing-include-for-errno-on-.patch \
+           file://0011-build-Add-riscv32-and-riscv64-support-194.patch \
+           file://0012-Update-Cirrus-CI-config-to-use-the-latest-FreeBSD-de.patch \
+           file://0013-Fixes-implicit-cast-build-error.patch \
+           "
 
 S = "${WORKDIR}/git"