[MDEV-3482] LP:981285 - [clang] Crash "ha_xtradb.so" (Undefined symbol "_increment_page_get_statistics") Created: 2012-04-14  Updated: 2014-06-20  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: DevZone (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug981285.xml    

 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


 Comments   
Comment by Vladislav Vaintroub [ 2012-04-16 ]

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)

Comment by DevZone (Inactive) [ 2012-04-21 ]

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
Comment by Rasmus Johansson (Inactive) [ 2012-04-21 ]

Launchpad bug id: 981285

Generated at Thu Feb 08 06:48:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.