Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530132 - dev-db/mysql-5.6.21-r1[abi_x86_32,systemtap] dev-db/mariadb-10.0.14-r1[abi_x86_32,systemtap]- ld: i386:x86-64 architecture of input file `libclientlib.a(probes_mysql.o)' is incompatible with i386 output
Summary: dev-db/mysql-5.6.21-r1[abi_x86_32,systemtap] dev-db/mariadb-10.0.14-r1[abi_x8...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords: InVCS
: 530464 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-11-22 17:20 UTC by farmboy0
Modified: 2014-11-30 23:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,18.65 KB, text/plain)
2014-11-22 17:21 UTC, farmboy0
Details
mysql-5.6.21-r1:20141122-164125.log (mysql-5.6.21-r1:20141122-164125.log,265.00 KB, text/plain)
2014-11-22 17:23 UTC, farmboy0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description farmboy0 2014-11-22 17:20:39 UTC
Was trying to update dev-db/mysql from 5.5 to 5.6.

[ebuild     U ] dev-db/mysql-5.6.21-r1 [5.5.40] USE="community extraengine* perl ssl systemtap -cluster -debug -embedded -jemalloc -latin1 -max-idx-128 -minimal -profiling (-selinux) -static -static-libs -tcmalloc {-test} (-bindist%)" ABI_X86="32%* (64%*) (-x32)" 

emerge --info and build log will be attached.

Reproducible: Always

Actual Results:  
cd /var/tmp/portage/dev-db/mysql-5.6.21-r1/work/mysql-abi_x86_32.x86/libmysql && /usr/bin/cmake -P /var/tmp/portage/dev-db/mysql-5.6.21-r1/work/mysql-abi_x86_32.x86/libmysql/merge_archives_mysqlclient.cmake
/usr/bin/ar: creating /var/tmp/portage/dev-db/mysql-5.6.21-r1/work/mysql-abi_x86_32.x86/libmysql/libmysqlclient.a
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `libclientlib.a(probes_mysql.o)' is incompatible with i386 output
collect2: error: ld returned 1 exit status
libmysql/CMakeFiles/libmysql.dir/build.make:103: recipe for target 'libmysql/libmysqlclient.so.18.1.0' failed
make[2]: *** [libmysql/libmysqlclient.so.18.1.0] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.6.21-r1/work/mysql-abi_x86_32.x86'
CMakeFiles/Makefile2:813: recipe for target 'libmysql/CMakeFiles/libmysql.dir/all' failed
make[1]: *** [libmysql/CMakeFiles/libmysql.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.6.21-r1/work/mysql-abi_x86_32.x86'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-db/mysql-5.6.21-r1/work/mysql-abi_x86_32.x86/CMakeFiles 
[ 89%] Built target mysqlclient
make[1]: Leaving directory '/var/tmp/portage/dev-db/mysql-5.6.21-r1/work/mysql-abi_x86_32.x86'
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: dev-db/mysql-5.6.21-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 farmboy0 2014-11-22 17:21:53 UTC
Created attachment 390066 [details]
emerge --info
Comment 2 farmboy0 2014-11-22 17:23:05 UTC
Created attachment 390068 [details]
mysql-5.6.21-r1:20141122-164125.log
Comment 3 Brian Evans (RETIRED) gentoo-dev 2014-11-22 20:58:35 UTC
(In reply to farmboy0 from comment #0)
> Was trying to update dev-db/mysql from 5.5 to 5.6.
> 
> [ebuild     U ] dev-db/mysql-5.6.21-r1 [5.5.40] USE="community extraengine*
> perl ssl systemtap -cluster -debug -embedded -jemalloc -latin1 -max-idx-128
> -minimal -profiling (-selinux) -static -static-libs -tcmalloc {-test}
> (-bindist%)" ABI_X86="32%* (64%*) (-x32)" 
> 
> emerge --info and build log will be attached.
> 
> Reproducible: Always
> 
> Actual Results:  
> cd
> /var/tmp/portage/dev-db/mysql-5.6.21-r1/work/mysql-abi_x86_32.x86/libmysql
> && /usr/bin/cmake -P
> /var/tmp/portage/dev-db/mysql-5.6.21-r1/work/mysql-abi_x86_32.x86/libmysql/
> merge_archives_mysqlclient.cmake
> /usr/bin/ar: creating
> /var/tmp/portage/dev-db/mysql-5.6.21-r1/work/mysql-abi_x86_32.x86/libmysql/
> libmysqlclient.a
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/
> ld: i386:x86-64 architecture of input file `libclientlib.a(probes_mysql.o)'
> is incompatible with i386 output

Does it work with systemtap USE disabled?  I have a feeling it is related.
Comment 4 farmboy0 2014-11-22 21:39:58 UTC
Yes it does.
Comment 5 Brian Evans (RETIRED) gentoo-dev 2014-11-23 01:55:38 UTC
A fix has been committed to the mysql overlay.

After it is moved to the portage tree, this bug will be closed.
Comment 6 Brian Evans (RETIRED) gentoo-dev 2014-11-24 21:05:51 UTC
*** Bug 530464 has been marked as a duplicate of this bug. ***
Comment 7 Brian Evans (RETIRED) gentoo-dev 2014-11-24 21:24:15 UTC
The patch in bug 530464 looks interesting.

I may look into that as well.

Though, I don't know if ${CMAKE_C_COMPILER_ARG1} will always be constant