| Bug #47535 | main.plugin fails due to relocation error for ha_example.so on Solaris | ||
|---|---|---|---|
| Submitted: | 23 Sep 2009 7:40 | Modified: | 7 Jan 2010 16:17 |
| Reporter: | Olav Sandstå | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
| Version: | 6.0.14 | OS: | Solaris (Solaris 10 on x86) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | regression | ||
[23 Sep 2009 8:49]
Sveta Smirnova
Thank you for the report. Verified as described.
[7 Jan 2010 16:17]
Horst Hunger
Due to have focused all activities concerning the failing plugin.test on Solaris to bug#47146, I close this bug as duplicate of 47146.

Description: The test main.plugin fails when running it on Solaris. The error output from the test run is: main.plugin [ fail ] Test ended at 2009-09-22 15:36:40 CURRENT_TEST: main.plugin mysqltest: At line 7: query 'INSTALL PLUGIN example SONAME $HA_EXAMPLE_SO' failed: 1126: Can't open shared library '/home/olav/mysql/develop/repo/bugfix-6.0/storage/example/.libs/ha_example.so' (errno: 2 ld.so.1: mysqld: fatal: relocation error: file /home/olav/mysql/develop/repo/bugfix-6.0/storage/example/.libs/ha_example.so:) The result from queries just before the failure was: CREATE TABLE t1(a int) ENGINE=EXAMPLE; Warnings: Warning 1286 Unknown storage engine 'EXAMPLE' Warning 1266 Using storage engine MyISAM for table 't1' DROP TABLE t1; This seems to be a regression. Running the same test using a mysql-5.1 code base does not fail. How to repeat: 1. Check out the code from mysql-6.0-codebase-bugfixing 2. ./BUILD/autorun.sh 3. Configure for Sun Studio compiler: ./configure CC=/opt/studio12/SUNWspro/bin/cc CXX=/opt/studio12/SUNWspro/bin/CC CFLAGS="-Xa -m64 -mt -g" CXXFLAGS="-m64 -mt -g" --prefix=/home/os136802/install/mysql6 --with-client-ldflags=-static --with-plugins=myisam,innobase --enable-dtrace --with-debug 4. make 5. cd mysql-test 6. ./mysql-test-run.pl plugin