replacing the asm in
fetch_and_add with __sync_fetch_and_add would work.
> Cannot compile on ARM: "Error: bad instruction `lock xaddl"
> ---
>
> Key: ZOOKEEPER-2453
> URL: https://issu
do we have to support? This could be useful:
https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Atomic-Builtins.html
> Cannot compile on ARM: "Error: bad instruction `lock xaddl"
> ---
>
> Key: ZOOKEEPER-2453
to ZOOKEEPER-1374, are you interested
in providing a patch for this?
> Cannot compile on ARM: "Error: bad instruction `lock xaddl"
> ---
>
> Key: ZOOKEEPER-2453
> URL: https://issu
aptor.lo -MD -MP -MF
.deps/libzkmt_la-mt_adaptor.Tpo -c src/mt_adaptor.c -fPIC -DPIC -o
libzkmt_la-mt_adaptor.o
/tmp/ccs0G1lb.s: Assembler messages:
/tmp/ccs0G1lb.s:1589: Error: bad instruction `lock xaddl r1,[r0]'
Makefile:743: recipe for target 'libzkmt_la-mt_a
uction `lock xaddl r1,[r0]'
Makefile:743: recipe for target 'libzkmt_la-mt_adaptor.lo' failed
was:It seems that this is a bug equivalent to the issue #1374.
> Cannot compile on ARM: "Error: bad instruction `lock xaddl"
> ---
Markus Thies created ZOOKEEPER-2453:
---
Summary: Cannot compile on ARM: "Error: bad instruction `lock
xaddl"
Key: ZOOKEEPER-2453
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2453
Hi,
I've also run into this issue can you share the patch?
Thanks,
David
Hi.
I just downloaded version 3.4.5 to compile on a Freescale (ARM).
I got an error when it tried to compile the assembly code:
Error: bad instruction `lock xaddl r1,[r0,#0]'
And this seems to be from the file mt_adaptor.c
I saw in the function fetch_and_add(...) that is was using inline
I have not seen this issue but please do consider submitting a patch.
https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute
Patrick
On Thu, Oct 10, 2013 at 11:46 AM, Niklas Molin niklas.p.mo...@gmail.com wrote:
Hi.
I just downloaded version 3.4.5 to compile on a Freescale
://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/948//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/948//console
This message is automatically generated.
C client multi-threaded test suite fails to compile
to maintain the old behavior if
not compiling under GCC. Updated the patch as such, please take a look.
C client multi-threaded test suite fails to compile on ARM architectures.
-
Key: ZOOKEEPER
://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/926//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output:
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/926//console
This message is automatically generated.
C client multi-threaded test suite fails to compile
reasonable and the updated patch looks good;
would you like me to test on arm* architectures before committing?
C client multi-threaded test suite fails to compile on ARM architectures.
-
Key
C client multi-threaded test suite fails to compile on ARM architectures.
-
Key: ZOOKEEPER-1374
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1374
Project: ZooKeeper
C client multi-threaded test suite fails to compile on ARM architectures.
-
Key: ZOOKEEPER-1374
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1374
Project
15 matches
Mail list logo