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

LevelDB builds fail when perf schema is enabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      I get this after doing "cmake ." and then make. The error does not occur when I use "cmake -DWITH_PERFSCHEMA_STORAGE_ENGINE=0 .". The LevelDB handler has PS specific code.

      —

      Linking CXX executable test_rowlocks
      cd /home/mcallaghan/b/mysql-5.6-leveldb/storage/leveldb/unittest && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_rowlocks.dir/link.txt --verbose=1
      /usr/bin/c++ -Wall -Wno-unused-parameter -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF CMakeFiles/test_rowlocks.dir/test_rowlocks.cc.o CMakeFiles/test_rowlocks.dir/__/ldb_locks.cc.o -o test_rowlocks -lpthread ../../../unittest/mytap/libmytap.a ../../../mysys/libmysys.a ../../../dbug/libdbug.a ../../../strings/libstrings.a ../../../mysys/libmysys.a ../../../dbug/libdbug.a ../../../strings/libstrings.a ../../../zlib/libzlib.a -lm -lrt -lpthread
      CMakeFiles/test_rowlocks.dir/__/ldb_locks.cc.o: In function `_current_thd':
      /home/mcallaghan/b/mysql-5.6-leveldb/sql/mysqld.h:734: undefined reference to `THR_THD'
      CMakeFiles/test_rowlocks.dir/__/ldb_locks.cc.o: In function `LockTable::get_lock(LF_PINS*, unsigned char const*, unsigned long, int)':
      /home/mcallaghan/b/mysql-5.6-leveldb/storage/leveldb/ldb_locks.cc:202: undefined reference to `stage_waiting_on_row_lock'
      /home/mcallaghan/b/mysql-5.6-leveldb/storage/leveldb/ldb_locks.cc:202: undefined reference to `thd_enter_cond'
      /home/mcallaghan/b/mysql-5.6-leveldb/storage/leveldb/ldb_locks.cc:210: undefined reference to `thd_killed'
      /home/mcallaghan/b/mysql-5.6-leveldb/storage/leveldb/ldb_locks.cc:237: undefined reference to `thd_exit_cond'
      collect2: ld returned 1 exit status
      make[2]: *** [storage/leveldb/unittest/test_rowlocks] Error 1
      make[2]: Leaving directory `/home/mcallaghan/b/mysql-5.6-leveldb'
      make[1]: *** [storage/leveldb/unittest/CMakeFiles/test_rowlocks.dir/all] Error 2
      make[1]: Leaving directory `/home/mcallaghan/b/mysql-5.6-leveldb'
      make: *** [all] Error 2

      Attachments

        Activity

          People

            psergei Sergei Petrunia
            mdcallag Mark Callaghan
            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.