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

[PATCH] MariaDB build fails when XTRADB_STORAGE_ENGINE enabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.40, 5.5.41
    • 5.5.42, 10.0.16
    • Compiling
    • None

    Description

      Using -DWITHOUT_XTRADB_STORAGE_ENGINE=1 there's no problem to build MariaDB 5.5.40 or .41. Without this switch I get following output:

      /usr/bin/ar: creating /home/builder/mariadb/src/mariadb-5.5.41/libmysqld/libmysqld.a
      [ 98%] Built target mysqlserver
      Scanning dependencies of target symlink_libmysqlclient_r.a
      Scanning dependencies of target libmysqld
      [ 98%] Generating libmysqlclient_r.a
      [ 98%] Built target symlink_libmysqlclient_r.a
      [ 99%] Building CXX object libmysqld/CMakeFiles/libmysqld.dir/libmysqld_exports_file.cc.o
      Scanning dependencies of target mysql_client_test_embedded
      [ 99%] Building C object libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/__/__/tests/mysql_client_test.c.o
      Linking CXX shared library libmysqld.so
      libmysqld.a(srv0start.c.o): In function `innobase_start_or_create_for_mysql':
      /home/builder/mariadb/src/mariadb-5.5.41/storage/xtradb/srv/srv0start.c:1280: undefined reference to `os_stacktrace_print'
      collect2: error: ld returned 1 exit status
      libmysqld/CMakeFiles/libmysqld.dir/build.make:89: recipe for target 'libmysqld/libmysqld.so.18' failed
      make[2]: *** [libmysqld/libmysqld.so.18] Error 1
      CMakeFiles/Makefile2:7409: recipe for target 'libmysqld/CMakeFiles/libmysqld.dir/all' failed
      make[1]: *** [libmysqld/CMakeFiles/libmysqld.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      Linking CXX static library libsql.a
      [ 99%] Built target sql
      Linking CXX executable mysql_client_test_embedded
      ../libmysqld.a(srv0start.c.o): In function `innobase_start_or_create_for_mysql':
      /home/builder/mariadb/src/mariadb-5.5.41/storage/xtradb/srv/srv0start.c:1280: undefined reference to `os_stacktrace_print'
      collect2: error: ld returned 1 exit status
      libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/build.make:89: recipe for target 'libmysqld/examples/mysql_client_test_embedded' failed
      make[2]: *** [libmysqld/examples/mysql_client_test_embedded] Error 1
      CMakeFiles/Makefile2:7550: recipe for target 'libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/all' failed
      make[1]: *** [libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/all] Error 2
      Makefile:147: recipe for target 'all' failed
      make: *** [all] Error 2
      >>> ERROR: mariadb: all failed

      Attachments

        Activity

          People

            jplindst Jan Lindström (Inactive)
            scadu Łukasz Jendrysik
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.