boltdb / bolt

An embedded key/value database for Go.
MIT License
14.24k stars 1.51k forks source link

MIPSLE support #746

Closed honteng closed 6 years ago

honteng commented 6 years ago

BoltDB is written in pure golang, but it doesn't work on MIPSLE architecture. I want to use BoltDB on embed Linux environment (i.e. OpenWRT) running on MIPSLE(MIPS Little Endian)

There are two parts we need to change.

  1. variables to define max size and MIPS architecture always needs alignment
  2. My current OpenWRT kernel doesn't support madvise syscall. It always returns "function not implemented" error, but it still works fine.

Let me know if you have any questions.