Steven Fisher created ZOOKEEPER-2303:
----------------------------------------
Summary: Zookeeper fails to compile (mesos driver) on Raspberry Pi2
Key: ZOOKEEPER-2303
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2303
Project: ZooKeeper
Issue Type: Bug
Components: build
Affects Versions: 3.4.6, 3.4.3
Environment: Raspberry Pi - Linux rpi2 3.18.6-v7+ #3 SMP PREEMPT Mon
Feb 9 15:39:54 UTC 2015 armv7l GNU/Linux
Reporter: Steven Fisher
Priority: Critical
Trying to compile mesos on Raspberry Pi 2. Zookeeper builds ok with ant
directly (Java only), but when using make for mesos it trys to compile the C
code and this fails with the error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./include -I./tests -I./generated
-DTHREADED -g -O2 -D_GNU_SOURCE -MT libzkmt_la-mt_adaptor.lo -MD -MP -MF
.deps/libzkmt_la-mt_adaptor.Tpo -c src/mt_adaptor.c -fPIC -DPIC -o
libzkmt_la-mt_adaptor.o
/tmp/ccw07Ju5.s: Assembler messages:
/tmp/ccw07Ju5.s:1515: Error: bad instruction `lock xaddl r1,[r0]'
Makefile:823: recipe for target 'libzkmt_la-mt_adaptor.lo' failed
make[5]: *** [libzkmt_la-mt_adaptor.lo] Error 1
The memos release comes with 3.4.5 but I have also tried 3.4.6
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)