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. [0] https://github.com/facebook/rocksdb/blob/master/INSTALL.md ** 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. https://bugs.launchpad.net/bugs/1748914 Title: librocksdb4.1 Invalid Instruction due to wrong compile flag To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rocksdb/+bug/1748914/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs