delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/21/10:46:48

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=l1CYRq2kcox5w7ZuxnYFwy1f/p+IgMry2hf1Qoy1VDM5ceMdTmOP/
b8BEQ6V2bux5sDOjMyZKNIGN2G7EWUu/7glyleEHQRQhH34c+CRCLDM0BAfL0Rk6
Fi3kjxBcMEiz4kBM17/LjZd7l7uOGFTexG5pMrBr+CvkOtPQKX+Cmk=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=thfysrSrG0lxtBv69HY32lbXDsg=; b=wwIsGkquRZlkwgSnhez4t/4MhQd+
OD6lw9M6a8Ne6a1WP0et6J6aftBIpBs9WKZsb7WfECUvezKnciHzoVXfkqcue1n2
p0Y0DT1DU1YjgDoPd+8yonXduElTZjlVV+QCxhbNyvDBxQ3Q0hhjf7DzHh+XqdTX
sc43o7NOullEOFM=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 21 Feb 2014 16:46:27 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Building libsigsegv on Cygwin64
Message-ID: <20140221154627.GC2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <530771A3 DOT 7000603 AT alice DOT it>
MIME-Version: 1.0
In-Reply-To: <530771A3.7000603@alice.it>
User-Agent: Mutt/1.5.21 (2010-09-15)

--H5p/JqlRcjQ8jO0x
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> [...]
> 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=3D/works/tmp/lib=
sigsegv-2.10-1/build=3D/usr/src/debug/libsigsegv-2.10-1 -fdebug-prefix-map=
=3D/works/tmp/libsigsegv-2.10-1/src/libsigsegv-2.10=3D/usr/src/debug/libsig=
segv-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 =3D 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 =3D (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
>=20
> 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.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--H5p/JqlRcjQ8jO0x
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTB3TTAAoJEPU2Bp2uRE+gnkwP/1CZkIHcYwVEFwWROXP/b/wv
RQu8ZkPz64XkIBO+V5KMuGYVGjBnGzsUlT2yCvNj9ABPg8u24dEbI8+mnNLy+v72
IdPwXFjvsN12+6U9O29PPGYCvNGtS+HZBDUqLI1VHz/wajPGFFWnXaUMQs0CGU+F
BSl/O8DVL5c54XyWKBgUisYGwrWCFKggYRRTtXvCAM+q2Pw/V2lkDtIpc26QngvW
EIZBlAynCIJk6g9A7g8M3Fvl0aZbDGC8jjM8ceKnb6sPeP9OkUE5s4PYm6nOIDSa
m8dVMcU8aedZXx6NP21QZK0t49poMQ8weehfslWT+swZDCA0rFBEKGY+2wk/9ljC
OVg4Kl9j4iA+P0gfargYtA0WNIP9GoF5+o+b8NrpxDkxORPj8WyI7gAnmKWwmc7B
MQCrFcCTjoYse3vpD2s3LiUweu1MeolPHrVP/fmqx/4nexM7UOgYhmq4LsCcsLYm
bBPMdnF4R7D8VT52CzZ2mPN4pMI59b6k2hqAcDp6/YIYo2TgSIHg1tKfJdWcnnHr
nJwg+jg+UZMu4SCXZwZbl1fd8/URSAwOIkVJku3H1T1weUX7xzrKIgalGrjSCQsQ
prMnYlEzFN5BrScL3gf715CNZvBBsmC5Nd+7pWIYKvceTQRUsIVZthegO4HEuZH1
EnbnmiFaO3j8cEG4HkGr
=yRoi
-----END PGP SIGNATURE-----

--H5p/JqlRcjQ8jO0x--

- Raw text -


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