Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5838

Failed to compile mesos on arm64 due to leveldb lack of support for arm64

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.0.0
    • 1.3.0
    • build
    • debian-jessie, odroid c2, arm64

    Description

      ./port/atomic_pointer.h:142:2: error: #error Please implement AtomicPointer for this platform.
      #error Please implement AtomicPointer for this platform.
      ^
      Makefile:74: recipe for target 'libleveldb.so.1.4' failed

      leveldb project master branch contains changes in atomic_porinter.h to support arm 64 build.

      When I copy the contents of atomic_pointer.h from the leveldb master branch into the mesos expanded leveldb 1.4 port/atomic_pointer.h, the code compiles without errors. The latest leveldb release 1.18 does not support arm64 but master does.

      Attachments

        1. leveldb-1.4.patch
          2 kB
          gtin

        Issue Links

          Activity

            People

              janisz Tomasz Janiszewski
              gtinjr@gmail.com gtin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: