Skip to content

Leveldb does not build for riscv64 as AtomicPointer is not implemented #93

Description

@lazyprogrammerio

Command run:

There are two issues: leveldb and snappy. Leveldb was solved by adding a riscv assembly macro for Atomic (will make a PR on it).

Snappy Error:

rm -f Release/obj.target/deps/leveldb/leveldb.a Release/obj.target/deps/leveldb/leveldb.a.ar-file-list; mkdir -p `dirname Release/obj.target/deps/leveldb/leveldb.a`
ar crs Release/obj.target/deps/leveldb/leveldb.a @Release/obj.target/deps/leveldb/leveldb.a.ar-file-list
  COPY Release/leveldb.a
make: *** No rule to make target 'Release/obj.target/snappy/deps/snappy/snappy/snappy-sinksource.o', needed by 'Release/obj.target/deps/snappy/snappy.a'.  Stop.
make: Leaving directory '/classic-level/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/classic-level/node_modules/node-gyp/lib/build.js:203:23)
gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:294:12)
gyp ERR! System Linux 5.10.113+
gyp ERR! command "/usr/bin/node" "/classic-level/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /classic-level
gyp ERR! node -v v20.15.1
gyp ERR! node-gyp -v v9.4.1
gyp ERR! not ok

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions