This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Core dump on hello world.
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: cygwin at cygwin dot com
- Date: Mon, 14 Sep 2009 10:01:12 +0100
- Subject: Re: Core dump on hello world.
- References: <4AADCA4E.2030302@verizon.net> <4AAE0285.9040402@gmail.com>
Dave Korn wrote:
> Jerry DeLisle wrote:
>
>> gdb says:
>> (gdb) r
>> Starting program: /home/jerry/prs/test/a.exe
>> [New thread 162.0xa9]
>> [New thread 162.0x8e]
>>
>> Program received signal SIGILL, Illegal instruction.
>> set_fpu () at ./fpu-target.h:80
>> 80 ./fpu-target.h: No such file or directory.
>> in ./fpu-target.h
>> (gdb) bt
>> #0 set_fpu () at ./fpu-target.h:80
>
> Need an actual $eip value here, and the contents of your /proc/cpuinfo please.
Nah, hang on, I'll give the psychic debugging a go. <places hand to
forehead, covering eyes, waves other hand out in front of me in a
mystical-looking way> I'm getting something.... the spirits are talking... or
maybe it's just the beer... and they tell me: The problem is that the CPUID
instruction in your virtual machine is returning some kind of bogus output
that's leading set_fpu() to believe the CPU supports SSE, but the emulation in
fact does not, and it blows up here:
> 0x697826c4 <set_fpu+164>: stmxcsr -0x14(%ebp)
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple