From owner-freebsd-stable@FreeBSD.ORG Wed Dec 29 13:23:54 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61ABD16A4CE for ; Wed, 29 Dec 2004 13:23:54 +0000 (GMT) Received: from park.rambler.ru (park.rambler.ru [81.19.64.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D556843D4C for ; Wed, 29 Dec 2004 13:23:52 +0000 (GMT) (envelope-from is@rambler-co.ru) Received: from is.park.rambler.ru (is.park.rambler.ru [81.19.64.102]) by park.rambler.ru (8.13.1/8.12.6) with ESMTP id iBTDNpTl078182; Wed, 29 Dec 2004 16:23:51 +0300 (MSK) (envelope-from is@rambler-co.ru) Date: Wed, 29 Dec 2004 16:23:50 +0300 (MSK) From: Igor Sysoev X-X-Sender: is@is.park.rambler.ru To: Kris Kennaway In-Reply-To: <20041229124322.G73628@is.park.rambler.ru> Message-ID: <20041229161900.K73628@is.park.rambler.ru> References: <20041228162708.P73628@is.park.rambler.ru> <20041229072940.GA37069@xor.obsecurity.org> <20041229124322.G73628@is.park.rambler.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: icc8 failed on 4.10: Illegal instruction X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 13:23:54 -0000 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 > > >/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/