Bug#739930:

2014-09-23 Thread Magnus Edenhill
The latest version of librdkafka, 0.8.4, fixes this bug by automatically selecting the proper atomic framework during configure.

Bug#739930: Please switch to -latomic atomics for wider arch portability

2014-02-23 Thread Faidon Liambotis
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

Bug#739930: Please switch to -latomic atomics for wider arch portability

2014-02-23 Thread Adam Conrad
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

Bug#739930: Please switch to -latomic atomics for wider arch portability

2014-02-23 Thread Adam Conrad
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. *