Hi,
I'm trying to compile mysql 4.0.18 with icc 8.0 on RH AS 3u1. I'm including my last configuration for compiling and how it died- I've tried about a million other ways- this seems to come the closest to compiling normally but dies with an internal error(looks like intel's fault not yours).
Does anyone have a configuration where this compiles? What did I do wrong?


fyi- there is a problem with the configure/libtool script when you don't compile -static and you use ipo... the compilation runs icc -shared to link the libraries but it needs the -ipo option as well.

thanks in advance for any help!
yonah

here the environment variables:
AR=xiar
CC=icc
CFLAGS='-O3 -ipo -static -axWN -march=pentium4 -mcpu=pentium4'
CXX=icc
CXXFLAGS='-O3 -ipo -static -axWN -march=pentium4 -mcpu=pentium4'
LANG=C
LD=xild
PATH=/usr/local/intel/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin:/usr/local/mysql/bin



this is the configure line:


./configure --prefix=/usr/local/mysql --enable-thread-safe-client --without-innodb --without-debug --enable-assembler --with-named-curses-libs=/usr/lib/libncurses.so.5.3

it dies with this error:

IPO Warning: unresolved : rl_attempted_completion_function
      Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : rl_completion_entry_function
      Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : rl_readline_name
      Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : popen
      Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : pclose
      Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : readline
      Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : add_history
      Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : completion_matches
      Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : write_history
      Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : read_history
      Referenced in ipo_icc5X7oE4.o
IPO Warning: unresolved : __xstat64
      Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : __fxstat64
      Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : readdir64
      Referenced in libmysqlclient.a(my_lib_ipo.o)
IPO Warning: unresolved : fdopen
      Referenced in libmysqlclient.a(my_fopen_ipo.o)
IPO Warning: unresolved : fclose
      Referenced in libmysqlclient.a(my_fopen_ipo.o)
IPO Warning: unresolved : gethostbyname_r
      Referenced in libmysqlclient.a(my_gethostbyname_ipo.o)
IPO Warning: unresolved : __lxstat64
      Referenced in libmysqlclient.a(my_symlink_ipo.o)
IPO Warning: unresolved : realpath
      Referenced in libmysqlclient.a(my_symlink_ipo.o)
libmysql.c(1808): internal error: 0_1345

icc: error: problem during multi-file optimization compilation (code 4)
make[2]: *** [mysql] Error 4
make[2]: Leaving directory `/moat-files/mysql-4.0.18/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/moat-files/mysql-4.0.18'
make: *** [all] Error 2


-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to