Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL)
-
None
Description
-DPLUGIN_ROCKSDB=YES lead to an error in attempt to build static engine:
sql/libsql.a(sql_builtin.cc.o):(.data.rel+0x18): undefined reference to `builtin_maria_rocksdb_plugin'
|
collect2: error: ld returned 1 exit status
|
Workaround: say nothing about PLUGIN_ROCKSDB to cmake and it will build dynamic.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
-DPLUGIN_ROCKSDB=YES lead to an error in attempt to build static engine: sql/libsql.a(sql_builtin.cc.o):(.data.rel+0x18): undefined reference to `builtin_maria_rocksdb_plugin' collect2: error: ld returned 1 exit status |
-DPLUGIN_ROCKSDB=YES lead to an error in attempt to build static engine:
sql/libsql.a(sql_builtin.cc.o):(.data.rel+0x18): undefined reference to `builtin_maria_rocksdb_plugin' collect2: error: ld returned 1 exit status Workaround: say nothing about PLUGIN_ROCKSDB to cmake and it will build dynamic. |
Description |
-DPLUGIN_ROCKSDB=YES lead to an error in attempt to build static engine:
sql/libsql.a(sql_builtin.cc.o):(.data.rel+0x18): undefined reference to `builtin_maria_rocksdb_plugin' collect2: error: ld returned 1 exit status Workaround: say nothing about PLUGIN_ROCKSDB to cmake and it will build dynamic. |
{{-DPLUGIN_ROCKSDB=YES}} lead to an error in attempt to build static engine:
{noformat} sql/libsql.a(sql_builtin.cc.o):(.data.rel+0x18): undefined reference to `builtin_maria_rocksdb_plugin' collect2: error: ld returned 1 exit status {noformat} Workaround: say nothing about PLUGIN_ROCKSDB to cmake and it will build dynamic. |
Assignee | Sergei Petrunia [ psergey ] |
Component/s | Compiling [ 11001 ] |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Fix Version/s | 10.4 [ 22408 ] |
Fix Version/s | 10.2.16 [ 23110 ] | |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.3 [ 22126 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 87305 ] | MariaDB v4 [ 154376 ] |
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.