The latest version of librdkafka, 0.8.4, fixes this bug by automatically
selecting the proper atomic framework during configure.
Hi Adam,
On Sun, Feb 23, 2014 at 06:10:42PM -0700, Adam Conrad wrote:
> * link-atomic.patch: Switch from __sync to __atomic to support more arches.
> * Switch back to arch:any instead of the Debian maintainer's shorter list.
>
> So, this patch should be almost upstreamable, depending on who t
On Sun, Feb 23, 2014 at 06:10:42PM -0700, Adam Conrad wrote:
> +
> +-#define rd_atomic_add_prev(PTR,VAL) __sync_fetch_and_add(PTR,VAL)
> +-#define rd_atomic_sub_prev(PTR,VAL) __sync_fetch_and_sub(PTR,VAL)
> ++#define rd_atomic_add_prev(PTR,VAL)
> __atmoic_fetch_add(PTR,VAL,__ATOMIC_SEQ_CST)
E
Package: librdkafka
Version: 0.8.3-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu trusty ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following:
* link-atomic.patch: Switch from __sync to __atomic to support more arches.
*
4 matches
Mail list logo