Skip to content

Build error on 32-bit ARM (armhf): Ctype_char larger than address space #145

Description

@zciendor

Can this be easily fixed or is gorocksdb not supposed work on 32-Bit ARM (armhf) at all?
Or is another compiler flag needed for 32-bit arm?

$ uname -m
armv7l

$ export CGO_CFLAGS="-I/opt/src/rocksdb/include"
$ export CGO_LDFLAGS="-L/opt/src/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4"

$ go get github.com/tecbot/gorocksdb
# github.com/tecbot/gorocksdb
go/src/github.com/tecbot/gorocksdb/db.go:200: type [1073741824]*_Ctype_char larger than address space
go/src/github.com/tecbot/gorocksdb/db.go:200: type [1073741824]*_Ctype_char too large

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