error in compiling Percona-Server-5.1.60
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned |
Bug Description
i install mariaDB,mysql ,and percona5.1 for test,but when i compile percona ,error happened
+ for file in include/
+ gcc -E -nostdinc -dI -DMYSQL_ABI_CHECK -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/
+ /bin/rm ./abi_check.out
+ for file in include/
+ gcc -E -nostdinc -dI -DMYSQL_ABI_CHECK -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
+ /bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d'
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
+ /bin/rm ./abi_check.out
/usr/bin/ld: warning: i386:x86-64 architecture of input file `../mysys/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `../mysys/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `../mysys/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `../mysys/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_init.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_static.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_malloc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_create.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_delete.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_open.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_file.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_read.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_write.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/errors.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_error.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_getwd.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_div.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mf_pack.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_messnc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mf_fn_ext.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mf_wcomp.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/typelib.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_alloc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mf_format.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mf_path.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_fopen.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/thr_mutex.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mulalloc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/string.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/default.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/array.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_once.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/list.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_net.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/charset.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/hash.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_seek.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_sleep.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_pread.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mf_cache.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/md5.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/sha1.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_getopt.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_rename.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_chsize.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_sync.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_lib.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/mf_qsort.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strmov.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strxmov.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strxnmov.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strnmov.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strmake.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strend.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strtod.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strnlen.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strfill.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/is_prefix.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/int2str.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/str2int.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strinstr.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strcont.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strcend.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/bchange.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/bmove.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/bmove_upp.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strtoull.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/strtoll.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/llstr.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/ctype.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/ctype-bin.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/ctype-mb.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/ctype-gbk.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/ctype-uca.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/xml.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/str_alloc.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/dbug.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/pack.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/client.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/my_time.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/vio.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/viosocket.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/viossl.o' is incompatible with i386 output
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/
/usr/bin/ld: warning: i386:x86-64 architecture of input file `.libs/net.o' is incompatible with i386 output
.libs/client.o: In function `mysql_ssl_free':
/home/nacho/
.libs/client.o: In function `ssl_verify_
/home/nacho/
/home/nacho/
/home/nacho/
/home/nacho/
.libs/client.o: In function `mysql_
/home/nacho/
.libs/vio.o: In function `vio_end':
/home/nacho/
.libs/viossl.o: In function `vio_ssl_close':
/home/nacho/
/home/nacho/
.libs/viossl.o: In function `vio_ssl_delete':
/home/nacho/
.libs/viossl.o: In function `vio_ssl_write':
/home/nacho/
.libs/viossl.o: In function `vio_ssl_read':
/home/nacho/
.libs/viossl.o: In function `ssl_do':
/home/nacho/
/home/nacho/
/home/nacho/
/home/nacho/
/home/nacho/
/home/nacho/
.libs/viossl.o: In function `report_errors':
/home/nacho/
.libs/viossl.o: In function `ssl_do':
/home/nacho/
.libs/viossl.o: In function `report_errors':
/home/nacho/
.libs/viossl.o: In function `sslconnect':
/home/nacho/
.libs/viossl.o: In function `sslaccept':
/home/nacho/
.libs/viosslfac
/home/nacho/
.libs/viosslfac
/home/nacho/
/home/nacho/
/home/nacho/
.libs/viosslfac
/home/nacho/
/home/nacho/
/home/nacho/
.libs/viosslfac
/home/nacho/
/home/nacho/
/home/nacho/
.libs/viosslfac
/home/nacho/
/home/nacho/
/home/nacho/
.libs/viosslfac
/home/nacho/
.libs/viosslfac
/home/nacho/
.libs/viosslfac
/home/nacho/
/home/nacho/
/home/nacho/
.libs/viosslfac
/home/nacho/
.libs/viosslfac
/home/nacho/
.libs/viosslfac
/home/nacho/
.libs/viosslfac
/home/nacho/
/home/nacho/
.libs/viosslfac
/home/nacho/
/home/nacho/
/home/nacho/
/home/nacho/
.libs/viosslfac
/home/nacho/
/home/nacho/
collect2: ld returned 1 exit status
make[2]: *** [libmysqlclient.la] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
It looks like a 32- and 64- bit compiler toolchain mix-up. Can you give the exact compilation command you used?
And this is definitely not a "security vulnerability".