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=CIpFMGVyZdp0bv3a9iANvOoR93GLqLijnkLAZPOADJn u/gwCH4giNHJA+B6dlInjs2SWCPlK2v6/JEUJyUXv49lk3/VM/eDJ7HZjHdOsoxz Pgm/lbvqbc24KrfnqxGsDjQwthDClFj51On//cFse7+E4js4ORXrNtY1g8iotZWk = 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=9dB7PRDKo3lvGWSvUYqalX4MJdU=; b=nOaEFdCX0wz4hwC5N 9ZvHJvbUrDzIKCgkzjgVal88IreZif7FyQPN9zE/dJGGTITBLexWvgf5/xSUJw+o jQkLCOr3jG0pG7uONosKWQ/zsxdUd3BL8atbHaDhaRd7nxXKczfusVmesiSCaFGD lG+yjFWSdcYBjb8zzS/RfRE+Ps= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mailout07.t-online.de Message-ID: <54219A22.2080208@t-online.de> Date: Tue, 23 Sep 2014 18:04:50 +0200 From: Christian Franke User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ffs problem in windows64 References: <54216D72 DOT 2070307 AT cs DOT umass DOT edu> <542175EF DOT 4040703 AT t-online DOT de> In-Reply-To: <542175EF.4040703@t-online.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Christian Franke wrote: > This segfaults if gcc -fno-builtin option is used: > ffs(0x80000000) > > These work: > ffs(0xc0000000) > ffs(0x40000000) > > Likely a subtle problem in table based ffs() implementation in > winsup/cygwin/syscalls.cc if only upper bit is set. The newlib version > of ffs() works. > https://cygwin.com/ml/cygwin-patches/2014-q3/msg00014.html -- 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