Hi, On 2/22/26 17:02, Paul Gevers wrote:
To move this RC bug forward, I intent to do an NMU in a couple of days with the upstream MR content if no one beats me to it.
I have uploaded pthreadpool with the attached debdiff applied to DELAYED/2. Paul
diff --git a/debian/changelog b/debian/changelog index 5e37c77..15d0ce9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +pthreadpool (0.0~git20251020.0e6ca13-1.1) unstable; urgency=medium + + * Non-maintainer upload + + [ Pranav P ] + * Fix endianness issue which fixes deadlock (Closes: #1121387) + + -- Paul Gevers <[email protected]> Wed, 25 Feb 2026 19:48:40 +0100 + pthreadpool (0.0~git20251020.0e6ca13-1) unstable; urgency=medium * Team upload. diff --git a/debian/patches/fix-endianness-issue-which-fixes-deadloc.patch b/debian/patches/fix-endianness-issue-which-fixes-deadloc.patch new file mode 100644 index 0000000..3cbaa97 --- /dev/null +++ b/debian/patches/fix-endianness-issue-which-fixes-deadloc.patch @@ -0,0 +1,21 @@ +From: Pranav P <[email protected]> +Date: Tue, 20 Jan 2026 19:18:35 +0530 +X-Dgit-Generated: 0.0~git20251020.0e6ca13-1.1 4626712dee858d8cdd3afb2ddab3053b36d1eb4f +Subject: Fix endianness issue which fixes deadlock + + +--- + +diff --git a/src/threadpool-atomics.h b/src/threadpool-atomics.h +index f393a72..90d3d65 100644 +--- a/src/threadpool-atomics.h ++++ b/src/threadpool-atomics.h +@@ -142,7 +142,7 @@ static inline void pthreadpool_thread_join( + * i.e. two or more atomic variables sharing the same cache line will block + * each other during atomic operations. + */ +-typedef atomic_uint_fast32_t PTHREADPOOL_CACHELINE_ALIGNED ++typedef atomic_uint_least32_t PTHREADPOOL_CACHELINE_ALIGNED + pthreadpool_atomic_uint32_t; + typedef atomic_int_least32_t PTHREADPOOL_CACHELINE_ALIGNED + pthreadpool_atomic_int32_t; diff --git a/debian/patches/series b/debian/patches/series index 854a3b9..ba88f96 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ disable-download-and-add-soversion.patch +fix-endianness-issue-which-fixes-deadloc.patch
OpenPGP_signature.asc
Description: OpenPGP digital signature

