[clang] Crash "ha_xtradb.so" (Undefined symbol "_increment_page_get_statistics")

Bug #981285 reported by Peter Zubkov on 2012-04-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug 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

# 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

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

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

Peter Zubkov (dev.zone) on 2012-04-14
summary: - [clang] Crash "ha_xtradb.so"
+ [clang] Crash "ha_xtradb.so" (Undefined symbol
+ "_increment_page_get_statistics")
affects: percona-server → maria

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)

Changed in maria:
milestone: none → 5.5
status: New → Fix Released
Peter Zubkov (dev.zone) wrote :

5.5 not exist for ports =(

Maintainer email: <email address hidden>

# 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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers