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

LP:981285 - [clang] Crash "ha_xtradb.so" (Undefined symbol "_increment_page_get_statistics")

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Crash run mysqld plugin "ha_xtradb.so"

      Version: '5.2.10-MariaDB'
      Percona XtraDB (http://www.percona.com) 1.0.17-13.0 started;
      OS: FreeBSD 9.0-RELEASE amd64

      1. clang++ -v
        FreeBSD clang version 3.0 (branches/release_30 142614) 20111021
        Target: x86_64-unknown-freebsd9.0
        Thread model: posix
      1. service mysql-server restart

      ==[Log]==
      120414 2:42:27 [ERROR] Can't open shared library '/usr/local/lib/mysql/plugin/ha_xtradb.so' (errno: 2 Undefined symbol "_increment_page_get_statistics")
      120414 2:42:27 [ERROR] /usr/local/libexec/mysqld: unknown variable 'innodb_data_home_dir=/var/db/mysql/ibdata'

      Plugin Percona XtraDB Only work fine in gcc++ ....

      1. New ports collection makefile for: mariadb-server
      2. Date created: 30 May 2011
      3. Whom: Doug Barton <email address hidden>
        #
      4. $FreeBSD: ports/databases/mariadb-server/Makefile,v 1.15 2012/01/05

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            wlad Vladislav Vaintroub added a comment -

            Re: [clang] Crash "ha_xtradb.so" (Undefined symbol "_increment_page_get_statistics")
            just checked, clang/freebsd appears to work in 5.5. I realize that the bug is for 5.2, but here fix is not likely, it might be better to use gcc/g++, or to link xtradb into the server rather than having it as plugin (all MariaDB own distributions do that)

            Show
            wlad Vladislav Vaintroub added a comment - Re: [clang] Crash "ha_xtradb.so" (Undefined symbol "_increment_page_get_statistics") just checked, clang/freebsd appears to work in 5.5. I realize that the bug is for 5.2, but here fix is not likely, it might be better to use gcc/g++, or to link xtradb into the server rather than having it as plugin (all MariaDB own distributions do that)
            Hide
            devzone DevZone added a comment -

            Re: [clang] Crash "ha_xtradb.so" (Undefined symbol "_increment_page_get_statistics")
            5.5 not exist for ports =(

            Maintainer email: dgeo@centrale-marseille.fr

            1. ls d /usr/ports/databases/mariadb*
              /usr/ports/databases/mariadb-client /usr/ports/databases/mariadb-scripts /usr/ports/databases/mariadb-server
            1. grep "PORTVERSION" /usr/ports/databases/mariadb-server/Makefile
              PORTVERSION= 5.3.6
            Show
            devzone DevZone added a comment - Re: [clang] Crash "ha_xtradb.so" (Undefined symbol "_increment_page_get_statistics") 5.5 not exist for ports =( Maintainer email: dgeo@centrale-marseille.fr ls d /usr/ports/databases/mariadb * /usr/ports/databases/mariadb-client /usr/ports/databases/mariadb-scripts /usr/ports/databases/mariadb-server grep "PORTVERSION" /usr/ports/databases/mariadb-server/Makefile PORTVERSION= 5.3.6
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 981285

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 981285

              People

              • Assignee:
                Unassigned
                Reporter:
                devzone DevZone
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: