icc8 failed on 4.10: Illegal instruction
is at rambler-co.ru
Tue Dec 28 23:21:07 PST 2004
On Tue, 28 Dec 2004, Kris Kennaway wrote:
> On Wed, Dec 29, 2004 at 09:41:32AM +0300, Igor Sysoev wrote:
> > On Tue, 28 Dec 2004, Kris Kennaway wrote:
> > > On Tue, Dec 28, 2004 at 04:34:35PM +0300, Igor Sysoev wrote:
> > > > I have cvsup'ed ports to use icc-8.1.024 on FreeBSD 4.10-RELEASE.
> > > > Then I installed the port and I ran /usr/local/intel_cc_80/bin/icc,
> > > > but it always failed with message "Illegal instruction".
> > >
> > > You forgot to mention what type of CPU you have.
> > >
> > > > Does icc-8.1.024 work on FreeBSD 4.x ?
> > Sorry, it was so obvious for me that is not CPU problem in this case,
> > so I forgot to mention it. From dmesg:
> > CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (2679.56-MHz 686-class CPU)
> > Origin = "GenuineIntel" Id = 0xf27 Stepping = 7
> > I should also say that Linux binaries from linux_base-8-8.0_4 runs
> > without problems.
> > Is there way to get the core of Linux binary and look it in gdb ?
> The linux_devtools port includes a linux version of gdb.
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Starting program: /usr/local/intel_cc_80/bin/iccbin
Program received signal SIGILL, Illegal instruction.
0x080b13d7 in __intel_proc_init_ftzdaz ()
#0 0x080b13d7 in __intel_proc_init_ftzdaz ()
#1 0x080b133d in __intel_proc_init.H ()
#2 0x2830e54d in __libc_start_main () from /lib/libc.so.6
(gdb) info registers
eip 0x80b13d7 0x80b13d7
(gdb) disassemble $eip
0x80b13d3 <__intel_proc_init_ftzdaz+75>: mov 0x2c(%esp,1),%esi
0x80b13d7 <__intel_proc_init_ftzdaz+79>: stmxcsr (%esp,1)
0x80b13db <__intel_proc_init_ftzdaz+83>: mov (%esp,1),%eax
Strange, the code in __intel_proc_init_ftzdaz looks like the right code.
Right now I can not say from what extention "stmxcsr" come from.
Here is the features from dmesg:
More information about the freebsd-stable