Dear All,
I am trying to compile MySQL 5.0.27 and 5.1.14 on a shared memory processors
system with 128 processors IA-64 Itanium-2.
I have downloaded the binary version of MySQL-max 5.0.27 Linux IA64 and I have
installed and configured it with no problems.
I need to install also the MySQL-max 5.1.x Linux IA64 version. I could not find
a compiled binary version for MySQL 5.1.x for Linux IA64, so I have downloaded
the source code for
MySQL 5.1.14.
The shared memory processors system is running Linux 2.6.16.21-0.8 and it has
Intel compiler ecc/icc version 9.0
I have tried to compile MySQL 5.0.27 and 5.1.x with the settings below, but
unfortunately it fails.
These are the options used:
------------------------------------------------------------------------------------------------------------------
CC=icc CFLAGS="-O2 -tpp2 -ip -nolib_inline" CXX=icc CXXFLAGS="-O2
-tpp2 -ip -nolib_inline" ./configure --prefix=/home/app/mysql
--with-extra-charsets=complex --enable-thread-safe-client
--enable-local-infile
------------------------------------------------------------------------------------------------------------------
These are the error messages:
------------------------------------------------------------------------------------------------------------------
............
icc -O2 -tpp2 -ip -nolib_inline -rdynamic -o conf_to_src conf_to_src.o -lcrypt
-lnsl -lm -lz
make[2]: Leaving directory `/home/mysql-5.1.14-beta/libmysql'
Making all in client
make[2]: Entering directory `/home/mysql-5.1.14-beta/client'
if icc -DUNDEF_THREADS_HACK -DDEFAULT_MYSQL_HOME="\"/home/...../mysql-5.1.14\""
-DDATADIR="\"/home/..../mysql-5.1.14/var\"" -I. -I. -I.. -I../include
-I../include -I../regex -O2 -tpp2 -ip -nolib_inline
-fno-implicit-templates -fno-exceptions -fno-rtti -MT mysql.o -MD -MP -MF
".deps/mysql.Tpo" -c -o mysql.o mysql.cc; \
then mv -f ".deps/mysql.Tpo" ".deps/mysql.Po"; else rm -f ".deps/mysql.Tpo";
exit 1; fi
/usr/include/sys/ucontext.h(52): error: identifier "__builtin_offsetof" is
undefined
unsigned long _pad[_SC_GR0_OFFSET/8];
^
/usr/include/sys/ucontext.h(52): error: function call is not allowed in a
constant expression
unsigned long _pad[_SC_GR0_OFFSET/8];
^
/usr/include/sys/ucontext.h(52): error: type name is not allowed
unsigned long _pad[_SC_GR0_OFFSET/8];
^
/usr/include/sys/ucontext.h(52): error: expected a ")"
unsigned long _pad[_SC_GR0_OFFSET/8];
^
/usr/include/sys/ucontext.h(52): error: expected a "]"
unsigned long _pad[_SC_GR0_OFFSET/8];
^
/usr/include/sys/ucontext.h(52): error: expected a ";"
unsigned long _pad[_SC_GR0_OFFSET/8];
^
compilation aborted for mysql.cc (code 2)
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/home/mysql-5.1.14-beta/client'
make[1]: *** [all-recursive] Error 1
------------------------------------------------------------------------------------------------------------------
I have tried to compile the MySQL 5.0.27 source code with the same settings used
to compile 5.1.14, but it fails as well.
I have also tried to use the BUILD/compile-ia64-debug-max but I get the same
set of errors.
Could you please help ?
Which are the compilation, linking options used to produce the binary version
of MySQL 5.0.27 for Linux IA64 (using Intel icc and gcc), available at
http://dev.mysql.com/downloads/mysql/5.0.html ?
Which version of the Intel icc has been used ?
Does anybody know whether the issues could be related to the version of the icc
? ( e.g. http://dev.mysql.com/doc/refman/5.1/en/porting.html, even though I am
trying to compile 5.0.27 I get the same set of errors that I get when trying to
compile 5.1.14).
Thanks in advance for your help,
Mariella
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com