Skip to content

Arm64 Build Error #492

@vncloudsco

Description

@vncloudsco

i am installing software on arm and got error with the software. Can someone please tell me how to deal with this?

ar: creating librocksdb.a
make[2]: Leaving directory '/opt/AIL/ardb/deps/rocksdb-6.8.1'
<<<<< Done building ROCKSDB
    CXX db/rocksdb/rocksdb_engine.o
In file included from ./common/channel/channel_service.hpp:35,
                 from ./common/channel/all_includes.hpp:44,
                 from ./context.hpp:34,
                 from ./db/engine.hpp:34,
                 from db/rocksdb/rocksdb_engine.hpp:45,
                 from db/rocksdb/rocksdb_engine.cpp:29:
./common/util/concurrent_queue.hpp: In function 'T ardb::load_consume(const T*)':
./common/util/concurrent_queue.hpp:299:9: error: there are no arguments to '__memory_barrier' that depend on a template parameter, so a declaration of '__memory_barrier' must be available [-fpermissive]
  299 |         __memory_barrier(); // compiler fence
      |         ^~~~~~~~~~~~~~~~
./common/util/concurrent_queue.hpp:299:9: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
./common/util/concurrent_queue.hpp: In function 'void ardb::store_release(T*, T)':
./common/util/concurrent_queue.hpp:308:9: error: there are no arguments to '__memory_barrier' that depend on a template parameter, so a declaration of '__memory_barrier' must be available [-fpermissive]
  308 |         __memory_barrier(); // compiler fence
      |         ^~~~~~~~~~~~~~~~
make[1]: Leaving directory '/opt/AIL/ardb/src'
make[1]: *** [Makefile:187: db/rocksdb/rocksdb_engine.o] Error 1
make: *** [Makefile:4: all] Error 2
The command '/bin/sh -c ./installing_deps.sh' returned a non-zero code: 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions