zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuqi Gu (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (ZOOKEEPER-2760) AAch64 build error: Error: unknown mnemonic `lock' -- `lock xaddl x1,[x0]'
Date Tue, 18 Apr 2017 08:00:51 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15972276#comment-15972276
] 

Yuqi Gu edited comment on ZOOKEEPER-2760 at 4/18/17 8:00 AM:
-------------------------------------------------------------

We faced the build issue when we build Apache bigtop's component: zookeeper, which zookeeper
version is also 3.4.10.

The patch use _sync primitives rather than ASM  as same as:  ZOOKEEPER-1374

So, could this patch be merged to zookeeper branch-3.4.10 for fixing bigtop compile error
on AArch64?


was (Author: yqgu):
The patch use _sync primitives rather than ASM  as same as:  ZOOKEEPER-1374

So, could this patch be merged to zookeeper branch-3.4.10 for fixing bigtop compile error
on AArch64?

> AAch64 build error: Error: unknown mnemonic `lock' -- `lock xaddl x1,[x0]'
> --------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2760
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2760
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: build, c client
>    Affects Versions: 3.4.10
>         Environment: Hisilicon Taishan AArch64(Cortex-A57@2.1GHz)
> 16.04.2 LTS (Xenial Xerus)
>            Reporter: Yuqi Gu
>            Priority: Blocker
>             Fix For: 3.4.10
>
>         Attachments: ZOOKEEPER-2760.patch
>
>
> Zookeeper-3.4.10 is integrated into Apache Bigtop : 
> https://github.com/apache/bigtop/commit/b00ac093634437e749561c8837179d13d95fda91
> But compiling error occurred when we build the bigtop zookeeper component on AArch64
:
> "[exec] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/ws/output/zookeeper/zookeeper-3.4.10/src/c
-I/ws/output/zookeeper/zookeeper-3.4.10/src/c/include -I/ws/output/zookeeper/zookeeper-3.4.10/src/c/tests
-I/ws/output/zookeeper/zookeeper-3.4.10/src/c/generated -Wdate-time -D_FORTIFY_SOURCE=2 -DTHREADED
-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -MT libzkmt_la-mt_adaptor.lo
-MD -MP -MF .deps/libzkmt_la-mt_adaptor.Tpo -c /ws/output/zookeeper/zookeeper-3.4.10/src/c/src/mt_adaptor.c
-fPIC -DPIC -o .libs/libzkmt_la-mt_adaptor.o
> [exec] Makefile:946: recipe for target 'libzkmt_la-mt_adaptor.lo' failed
> [exec] make[2]: Leaving directory '/ws/output/zookeeper/zookeeper-3.4.10/build/c'
> [exec] /tmp/cc4YHZ73.s: Assembler messages:
> [exec] /tmp/cc4YHZ73.s:1713: Error: unknown mnemonic lock' --lock xaddl x1,[x0]'
> [exec] make[2]: *** [libzkmt_la-mt_adaptor.lo] Error 1
> "



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message