[MDEV-16200] -DPLUGIN_ROCKSDB=YES leads to errors during build Created: 2018-05-17 Updated: 2018-05-21 Resolved: 2018-05-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Storage Engine - RocksDB |
| Affects Version/s: | 10.2, 10.3 |
| Fix Version/s: | 10.2.16 |
| Type: | Bug | Priority: | Major |
| Reporter: | Oleksandr Byelkin | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
-DPLUGIN_ROCKSDB=YES lead to an error in attempt to build static engine:
Workaround: say nothing about PLUGIN_ROCKSDB to cmake and it will build dynamic. |
| Comments |
| Comment by Sergei Petrunia [ 2018-05-18 ] |
|
Even if we fix the CMake issue, there will be a problem that MyRocks' MTR commands assume that the plugin is built dynamically (they specify --plugin-load, do INSTALL SONAME, etc). I think the fix is to disallow building of a static plugin, unless there is a real demand for it. |