librocksdb4.1 Invalid Instruction due to wrong compile flag
Bug #1748914 reported by
Niklas Schnelle
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rocksdb (Debian) |
Fix Released
|
Unknown
|
|||
rocksdb (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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:/
Changed in rocksdb (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.