Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zciendor opened this issue Aug 26, 2018 · 0 comments · Fixed by #173
Closed

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

zciendor opened this issue Aug 26, 2018 · 0 comments · Fixed by #173

Comments

@zciendor
Copy link

zciendor commented Aug 26, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant