Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-16200

-DPLUGIN_ROCKSDB=YES leads to errors during build

Details

    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

          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.

          psergei Sergei Petrunia added a comment - 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.

          People

            psergei Sergei Petrunia
            sanja Oleksandr Byelkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.