Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9438

error You need to implement atomic operations for this architecture

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.0.0
    • None
    • None
    • ghx-label-10

    Description

      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);
      ^
      ....................

      Attachments

        Activity

          People

            huangtianhua huangtianhua
            huangtianhua huangtianhua
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: