Re: src:pthreadpool: fails to migrate to testing for too long: FTBFS on s390x
Paul Gevers <[email protected]>
| Newsgroups | gmane.linux.debian.ports.s390 |
|---|---|
| Message-ID | <[email protected]> |
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
pthreadpool_0.0~git20251020.0e6ca13-1.1.debdiff
(text/plain, 1.8 KB)
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
(application/pgp-signature, 585 B)
-----BEGIN PGP SIGNATURE----- wsC7BAABCABvBYJpn03kCRCcXJnrBb11CkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u cy5zZXF1b2lhLXBncC5vcmfE+m6e0K93oL+DIt9Qij5L6oc3t8cgAJ5f2us333rA rBYhBFi2bUhza+k7BS3mcpxcmesFvXUKAABgHAf/ftWiPfwr/w6saOLaS8B6QRfO auGPDVhG/mQ/P9B3jjO+2rlJCxVdVXgtX6KVwetUHtLjnL2vzIG+yWA6c5o/pIrW ThgsF+6upNW5LYvwQ5OMi9sQ0vEBDRHEdKio1F/UgTSMq6tnhAKPfzrmSVYtPgVD EyieGMuAchVf2bi71Wzih8QxjlsZiB4/mXWPMtWX8KHC58tKG21M4jG5HZJpxruP dPQsKWt0ETlNYMhuA7JUx9BI0MC0w7tz229GTRzViMhpXqFH+3fEOFgjpgTSx1Gx iPwpmyvxjLnyHGQSGu9NVbRvnV4nTsdEiJOB4gwkAlbMOTXyUeubPpGNKFGL3w== =G3uk -----END PGP SIGNATURE-----