Date: Wed, 29 Dec 2004 16:23:50 +0300 (MSK) From: Igor Sysoev <is@rambler-co.ru> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-stable@freebsd.org Subject: Re: icc8 failed on 4.10: Illegal instruction Message-ID: <20041229161900.K73628@is.park.rambler.ru> In-Reply-To: <20041229124322.G73628@is.park.rambler.ru> References: <20041228162708.P73628@is.park.rambler.ru> <20041229072940.GA37069@xor.obsecurity.org> <20041229124322.G73628@is.park.rambler.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Dec 2004, Igor Sysoev wrote: > On Tue, 28 Dec 2004, Kris Kennaway wrote: > > It's an SSE instruction, and you need to enable support for SSE in > > your kernel. > > Thank you. The "options CPU_ENABLE_SSE" resolves the problem. > I think it should be mention in the port for 4.x. The message about CPU_ENABLE_SSE exists, however it does not say about a signal: If you use icc on a Pentium 4 you may have to use 'options CPU_ENABLE_SSE' (depending on the OS version, if in doubt try if it works) in your kernel config (have a look at http://www.FreeBSD.org/handbook/ if you do not know how to do this), else icc will hang forever." > However, it seems that 4.10's headers are not good for icc8: > > >cat q.c > #include <stdio.h> > > >/usr/local/intel_cc_80/bin/icc q.c > /usr/include/wchar.h(79): error: "__mbstate_t" has already been declared in the current scope > } __mbstate_t; > ^ > > /usr/include/libio.h(463): error: identifier "__gnuc_va_list" is undefined > _IO_va_list, int *__restrict) __THROW; > ^ [ ... ] > /usr/include/stdio.h(324): error: identifier "__gnuc_va_list" is undefined > __const char *__restrict __format, _G_va_list __arg) > ^ > > compilation aborted for q.c (code 2) The __gnuc_va_list errors could be fixed by adding "-D__gnuc_va_list=va_list" to /usr/local/intel_cc_80/bin/icc.cfg and /usr/local/intel_cc_80/bin/icpc.cfg, but how to fix __mbstate_t error I do not know. Igor Sysoev http://sysoev.ru/en/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041229161900.K73628>