Comment 1 for bug 890982

Revision history for this message
Alex Yurchenko (ayurchen) wrote :

$ diff -u include/mysql.h.pp abi_check.out--- include/mysql.h.pp 2011-09-25 23:06:54.000000000 +0300
+++ abi_check.out 2011-11-16 18:08:34.000000000 +0200
@@ -1,6 +1,7 @@
 typedef char my_bool;
 typedef int my_socket;
 #include "mysql_version.h"
+"
 #include "mysql_com.h"
 enum enum_server_command
 {

This is reproducible on Ubuntu 11.10 (GCC 4.6.1, cmake-2.8.5) but not on Ubuntu 10.04 (GCC 4.4.3, cmake-2.8.0).

Moreover, compile-pentium64 script fails in vanilla 5.5.17 source from official tarball on Ubuntu 11.10:

[100%] Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o
Linking CXX executable mysqld
gcc: error: _ALL_STATIC=1: No such file or directory
make[2]: *** [sql/mysqld] Error 1
make[1]: *** [sql/CMakeFiles/mysqld.dir/all] Error 2
make: *** [all] Error 2

while compile-amd64-max does just fine.

This leads me to conclude that compile-pentium64 script and its derivatives is genuinely broken in MySQL and compile-amd64-* should be used instead.