List:Packagers« Previous MessageNext Message »
From:infernix Date:January 28 2004 8:37pm
Subject:RE: Compiling with Intel C++ compiler
View as plain text  
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,

infernix


Thread
Compiling with Intel C++ compilerinfernix26 Jan
  • Re: Compiling with Intel C++ compilerLenz Grimmer28 Jan
    • RE: Compiling with Intel C++ compilerinfernix28 Jan