You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (Jira)" <ji...@apache.org> on 2020/12/22 21:40:01 UTC

[jira] [Resolved] (IMPALA-9438) error You need to implement atomic operations for this architecture

     [ https://issues.apache.org/jira/browse/IMPALA-9438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Armstrong resolved IMPALA-9438.
-----------------------------------
    Resolution: Fixed

> error You need to implement atomic operations for this architecture
> -------------------------------------------------------------------
>
>                 Key: IMPALA-9438
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9438
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: huangtianhua
>            Assignee: huangtianhua
>            Priority: Major
>
> Built impala on aarch64 platform, an error raised:
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h:88:2: error: #error You need to implement atomic operations for this architecture
> [  1%] Running thrift compiler on Descriptors.thrift
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h:321:8: error: ‘Atomic32’ does not name a type
>  inline Atomic32 Acquire_CompareAndSwap(volatile Atomic32* ptr,
>         ^
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h:326:8: error: ‘Atomic32’ does not name a type
>  inline Atomic32 Release_CompareAndSwap(volatile Atomic32* ptr,
>         ^
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h:331:36: error: ‘Atomic32’ does not name a type
>  inline void Acquire_Store(volatile Atomic32* ptr, Atomic32 value) {
>                                     ^
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h:331:51: error: ‘Atomic32’ has not been declared
>  inline void Acquire_Store(volatile Atomic32* ptr, Atomic32 value) {
>                                                    ^
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h: In function ‘void Acquire_Store(volatile int*, int)’:
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h:332:9: error: ‘base::subtle’ has not been declared
>    base::subtle::Acquire_Store(ptr, value);
>          ^
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h: At global scope:
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h:334:36: error: ‘Atomic32’ does not name a type
>  inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) {
>                                     ^
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h:334:51: error: ‘Atomic32’ has not been declared
>  inline void Release_Store(volatile Atomic32* ptr, Atomic32 value) {
>                                                    ^
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h: In function ‘void Release_Store(volatile int*, int)’:
> /home/jenkins/workspace/Impala-ASF/be/src/gutil/atomicops.h:335:16: error: ‘base::subtle’ has not been declared
>    return base::subtle::Release_Store(ptr, value);
>                 ^
> ....................



--
This message was sent by Atlassian Jira
(v8.3.4#803005)