3 messages in com.mysql.lists.packagersRE: Compiling with Intel C++ compiler
FromSent OnAttachments
infernix26 Jan 2004 07:35 
Lenz Grimmer28 Jan 2004 03:55 
infernix28 Jan 2004 12:37 
Subject:RE: Compiling with Intel C++ compiler
From:infernix (infe@infernix.net)
Date:01/28/2004 12:37:14 PM
List:com.mysql.lists.packagers

Hi,

I've dug up this from the config.log:

configure:17749: checking if conversion of longlong to float works configure:17776: /opt/intel_cc_80/bin/icc -o conftest -O3 -DDBUG_OFF -O2 -mcpu=pentium4 -march=pentium4 -tpp7 -static-libcxa -rdynamic conftest.c -lpthread -lz -lcrypt -lnsl -lm -lpthread >&5 icc: Command line warning: overriding '-O3' with '-O2' configure:17779: $? = 0 configure:17781: ./conftest ./configure: line 1: 7754 Illegal instruction ./conftest$ac_exeext configure:17784: $? = 132 configure: program exited with status 132 configure: failed program was: #line 17759 "configure" #include "confdefs.h" #include <stdio.h> typedef long long longlong; main() { longlong ll=1; float f; FILE *file=fopen("conftestval", "w"); f = (float) ll; fprintf(file,"%g\n",f); fclose(file); exit (0); } configure:17803: result: no configure:17810: error: Your compiler cannot convert a longlong value to a float! If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try again

Clearly the "Illegal instruction" error is the problem here. I have also tried your configure script, but that gave even more errors - that logfile is at http://infernix.net/mysql-icc8/.

Please advise :) Thanks for your help!

Regards,