delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/23/08:54:34

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:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=vBRo9GhF2Iw8Tc9C
uMjtDc3xYqHY41HVETerhyX4jaZ5x0j5R94co7eZ4XAk2afKsBtNBWhbw1+UDqEq
C3+/OaZxcc2cCrPamGFphh/XG/ZVaqptHcjTnxsRJslVp/lK/UwrvTmXK2da21pi
fAR0h9zPqtTCfOzFwqSK+oIpQns=
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:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=N+F8uQ09boZqXaw2pbnPt5
2bOWs=; b=cTziyUwsS3Xt0o4fRQl5LIiUshuWjfIsRzRXBAan3r8fR14tig5TXu
MKjhDJZFjPJarUAycRbRYEvHlmxaUMoJH85z3HA2Eu0riETDQeoJsxzEiAtb2Xlv
RGSS4ab5qdjwvPEC0WXbtlfNrugsuNPA9B2A1hUZWlOriKsrGet1Y=
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.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: csmail.cs.umass.edu
Message-ID: <54216D72.2070307@cs.umass.edu>
Date: Tue, 23 Sep 2014 08:54:10 -0400
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Reply-To: moss AT cs DOT umass DOT edu
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ffs problem in windows64
References: <CAHAq8pG0xMtSLJYs_u8OW4Z1Loovpyzzyo4oLBZQPqYsWFUU6w AT mail DOT gmail DOT com>
In-Reply-To: <CAHAq8pG0xMtSLJYs_u8OW4Z1Loovpyzzyo4oLBZQPqYsWFUU6w@mail.gmail.com>
X-IsSubscribed: yes

On 9/23/2014 8:47 AM, Paulo CĂ©sar Pereira de Andrade wrote:
>    Hi,
>
>    I am almost done porting https://savannah.gnu.org/projects/lightning
> to cygwin and windows64 abi. But I found a problem with the ffs function.
>
>    The test case is simple:
>
> $ cat x.c
> extern int ffs(int);
> int main(void) {
> long l = 0x80000000;
> int i = ffs((int)l);
> return 0;
> }
>
> $ gcc -O0 -g3 x.c
>
> $ ./a.exe
> Segmentation fault (...)

WJFFM in 32 bit cygwin.

Regards -- Eliot Moss


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