delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/22/07:23:22

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=dfCaCGMcZnwirglN2Wt2GjMU2URudn4mfNI83O03ogS
GPkR/jOQ60+crFUFu+qdGplN99jwrTTHcG4j3//ztipPHmecXXuxeZwrR9FkBicP
DHAlIJwFaaJY1qfwRMadw8A05YthDYqlDKnUbH8acpGnDvf+6D1K7HNDWZfa+f98
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=MaL9OjKHfQ8DiVZKGFszg+oppz0=; b=PoGD3ybZ505Jn7dOB
Iab4aVtCXBmnbQi54uUouOpyiQXcpw5BGa4LRQtGHH97HPNFIg/lgOOLyE+aVbdu
Dyqz2dAeNIW2PfqVWP4BOs1cKrb15KpQakJAEsxHWyyNuie+zBKpof+TxCApN1Cz
dkY1Reekjk1d58fetBjSL/kZwg=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <53089698.9070103@cornell.edu>
Date: Sat, 22 Feb 2014 07:22:48 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Building libsigsegv on Cygwin64
References: <530771A3 DOT 7000603 AT alice DOT it> <20140221154627 DOT GC2246 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140221154627.GC2246@calimero.vinschen.de>
X-IsSubscribed: yes

On 2/21/2014 10:46 AM, Corinna Vinschen wrote:
> On Feb 21 16:32, Angelo Graziosi wrote:
>> Trying to build libsigsegv-2.10 on Cygwin64 (using the src tarball
>> and its .cygport file from x86 distribution), fails as follows
>>
>> [...]
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I.
>> -I/works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src -I.. -I.
>> -I/works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src -ggdb -O2
>> -pipe -Wimplicit-function-declaration -fdebug-prefix-map=/works/tmp/libsigsegv-2.10-1/build=/usr/src/debug/libsigsegv-2.10-1 -fdebug-prefix-map=/works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10=/usr/src/debug/libsigsegv-2.10-1
>> -c /works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src/handler.c
>> -DDLL_EXPORT -DPIC -o .libs/handler.o
>> In file included from
>> /works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src/handler.c:20:0:
>> /works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src/handler-win32.c:
>> In function 'main_exception_filter':
>> /works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src/handler-win32.c:218:43:
>> error: 'struct _CONTEXT' has no member named 'Esp'
>>                 ExceptionInfo->ContextRecord->Esp = new_safe_esp;
>>                                             ^
>> /works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10/src/handler-win32.c:220:43:
>> error: 'struct _CONTEXT' has no member named 'Eip'
>>                 ExceptionInfo->ContextRecord->Eip = (unsigned
>> long)&stack_overflow_handler;
>>                                             ^
>> Makefile:399: set di istruzioni per l'obiettivo "handler.lo" non riuscito
>> make[1]: *** [handler.lo] Errore 1
>> make[1]: uscita dalla directory "/works/tmp/libsigsegv-2.10-1/build/src"
>> Makefile:344: set di istruzioni per l'obiettivo "install-recursive"
>> non riuscito
>> make: *** [install-recursive] Errore 1
>>
>> Since my Cygwin64 is a fesh installation, I wonder if I missed to
>> installe some needed packages... or is that error to be expected on
>> Cygwin64?
>
> Yes.  The above code appears not to know 64 bit CPUs.  The 64 bit
> instruction pointer register is called Rip, rather than Eip, for
> instance.

I just took a glance at the libsigsegv source code, and it supports 
several x86_64 platforms.  It should be possible to add support for 
x86_64-cygwin.  Reini, any chance you could look into this?

Ken

--
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