Re: icc8 failed on 4.10: Illegal instruction
From: Igor Sysoev (is_at_rambler-co.ru)
Date: 12/29/04
- Previous message: Pertti Kosunen: "Re: TIMEOUT - WRITE_DMA - A possible FIX! turn off ACPI"
- In reply to: Igor Sysoev: "Re: icc8 failed on 4.10: Illegal instruction"
- Next in thread: Kris Kennaway: "Re: icc8 failed on 4.10: Illegal instruction"
- Reply: Kris Kennaway: "Re: icc8 failed on 4.10: Illegal instruction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Dec 2004 16:23:50 +0300 (MSK) To: Kris Kennaway <kris@obsecurity.org>
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/
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
- Previous message: Pertti Kosunen: "Re: TIMEOUT - WRITE_DMA - A possible FIX! turn off ACPI"
- In reply to: Igor Sysoev: "Re: icc8 failed on 4.10: Illegal instruction"
- Next in thread: Kris Kennaway: "Re: icc8 failed on 4.10: Illegal instruction"
- Reply: Kris Kennaway: "Re: icc8 failed on 4.10: Illegal instruction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|