On Fri, 27 Feb 2015 16:39:44 + Dejan Latinovic
dejan.latino...@imgtec.com wrote:
Hi,
I had tested these changes.
+# elif defined(__ATOMIC_SEQ_CST) /* GCC atomic builtins */
+# define GRN_ATOMIC_ADD_EX(p,i,r) \
+ (r = __atomic_fetch_add(p, i, __ATOMIC_SEQ_CST))
It solves issue:
Hi,
I had tested these changes.
+# elif defined(__ATOMIC_SEQ_CST) /* GCC atomic builtins */
+# define GRN_ATOMIC_ADD_EX(p,i,r) \
+ (r = __atomic_fetch_add(p, i, __ATOMIC_SEQ_CST))
It solves issue:
../../lib/.libs/libgroonga.so: undefined reference to `GRN_ATOMIC_ADD_EX'
Functions
Hi,
Thank you for your patch.
It may work, but I don't know whether all test pass or not.
In the upstream version, it use __atomic_fetch_add to solve issue instead.
+# elif defined(__ATOMIC_SEQ_CST) /* GCC atomic builtins */
+# define GRN_ATOMIC_ADD_EX(p,i,r) \
+ (r = __atomic_fetch_add(p, i,
3 matches
Mail list logo