delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/14/04:47:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AAE0658.3000300@gmail.com>
Date: Mon, 14 Sep 2009 10:01:12 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Core dump on hello world.
References: <4AADCA4E DOT 2030302 AT verizon DOT net> <4AAE0285 DOT 9040402 AT gmail DOT com>
In-Reply-To: <4AAE0285.9040402@gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019