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

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

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Crash run mysqld width 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
            devzone DevZone added a comment -

            [clang plugin] ha_xtradb.so Undefined symbol "_increment_page_get_statistics"
            Version: '5.2.10-MariaDB'
            Percona XtraDB (http://www.percona.com) 1.0.17-13.0 started;

            1. New ports collection makefile for: mariadb-server
            2. Date created: 30 May 2011
            3. Whom: Doug Barton <dougb@FreeBSD.org>
              #
            4. $FreeBSD: ports/databases/mariadb-server/Makefile,v 1.15 2012/01/05 02:13:36 dougb Exp $

            ==[[ OS ]]==

            1. uname -rsm
              FreeBSD 9.0-RELEASE amd64

            ==[[ C++ Version ]]==

            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++ ....

            Show
            devzone DevZone added a comment - [clang plugin] ha_xtradb.so Undefined symbol "_increment_page_get_statistics" Version: '5.2.10-MariaDB' Percona XtraDB ( http://www.percona.com ) 1.0.17-13.0 started; New ports collection makefile for: mariadb-server Date created: 30 May 2011 Whom: Doug Barton <dougb@FreeBSD.org> # $FreeBSD: ports/databases/mariadb-server/Makefile,v 1.15 2012/01/05 02:13:36 dougb Exp $ ==[[ OS ]]== uname -rsm FreeBSD 9.0-RELEASE amd64 ==[[ C++ Version ]]== clang++ -v FreeBSD clang version 3.0 (branches/release_30 142614) 20111021 Target: x86_64-unknown-freebsd9.0 Thread model: posix 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++ ....
            Hide
            knielsen Kristian Nielsen added a comment -

            Re: [clang] Crash "ha_xtradb.so" (Undefined symbol "_increment_page_get_statistics")
            Unfortunately we do not support the clang compiler at the moment.

            However, we would be happy to accept patches to make clang work, and also happy to try to answer concrete questions to help.

            Show
            knielsen Kristian Nielsen added a comment - Re: [clang] Crash "ha_xtradb.so" (Undefined symbol "_increment_page_get_statistics") Unfortunately we do not support the clang compiler at the moment. However, we would be happy to accept patches to make clang work, and also happy to try to answer concrete questions to help.
            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
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 981281

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

              People

              • Assignee:
                knielsen Kristian Nielsen
                Reporter:
                devzone DevZone
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: