Public bug reported:

According to the upstream GitHub rocksdb uses "-march=native" by
default[0] so for portable binaries one has to use "PORTABLE=1 make …".

For the librocksdb4.1 package in Ubuntu 16.04 this seems to not have
been done. Consequently trying to use this package on an older Xeon
E5649 (even though that claims SSE4.2) results in an immediate crash
with "invalid opcode" in dmesg.

When I compile from source on this same machine using

"apt-get source librocksdb-dev" and "dpkg-buildpackage -us -uc" results
in a working build.


** Affects: rocksdb (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  librocksdb4.1 Invalid Instruction due to wrong compile flag

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to