This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Core dump on hello world.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]