delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/24/02:57:57

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=rD/IhS8isl28YJIlungN7hmvgHzTm7pDE9nS7ScNEfJ
1LtubAHdflCFp4nMGgpGhEkJ1xkx9VjLTNX2TQDN2rHd1coK36yzydJAChVq9EHd
MzXTQauCJytFLjuInT5KJtHCLoowuBRtTyCIYyTnEj3QXtAdI1yDeOYT4ZGjG0TE
=
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=S9bT1o/WsrPyCpE+e5O89khoIu4=; b=VpBW2D1kgwmUq/sC1
T8Uw8s40WM5IT7qiSEzWB7UTb38LMuQGhXL0Y6vyJR4oygiC0ukJkTF5YyUFgBK3
gFIq4uGJKWEH0g/3Jme+PhaRIb8Z2eB4cIPJGttD2Jst6tuXok0DwBzFym44M5m1
AmEPUU7p5niHKmXVGnBCx9pNqk=
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.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f180.google.com
X-Received: by 10.42.227.195 with SMTP id jb3mr9524290icb.27.1390550254594; Thu, 23 Jan 2014 23:57:34 -0800 (PST)
Message-ID: <52E21CF9.8070003@users.sourceforge.net>
Date: Fri, 24 Jan 2014 01:57:45 -0600
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Is there someone who have a same problem ?
References: <CA+WgaY86qXwc9ywzjmU1x8B9WrpFnsQzFtvs6q5JLTRDFsEvHQ AT mail DOT gmail DOT com> <52DF5A6F DOT 2030509 AT users DOT sourceforge DOT net> <CA+WgaY-7sVhxcKyaY=FZpSbiG3JW8N+KHRAh=oXyh_A3bWeH5A AT mail DOT gmail DOT com> <52E03E99 DOT 9050205 AT users DOT sourceforge DOT net> <52E0A694 DOT 8090304 AT users DOT sourceforge DOT net> <20140123103209 DOT GM2357 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140123103209.GM2357@calimero.vinschen.de>

On 2014-01-23 04:32, Corinna Vinschen wrote:
> On Jan 22 23:20, Yaakov (Cygwin/X) wrote:
>> Now the strange thing about this module is that it has a constructor
>> which calls pthread_once() on a function which creates a recursive
>> mutex, so just dlopen()ing is enough.  Unfortunately, my attempts to
>> reproduce this with an STC have not been successful.
>>
>> Corinna, cgf, any insights?
>
> Except for the content of object apparently being off, no.  It would
> be helpful to build p11-kit with debugging and without optimization
> and then step right into it, otherwise it's pretty hard to say
> anything useful.

And, of course, without optimization it works.  So, I managed to narrow 
this down to the ctor itself: compiling it with -O0 or -O1 works, but 
not with -O2 or -O3; other functions seem to be fine at -O2.  The 
diffstat between the resulting assemblies of that file is huge, so I 
haven't diagnosed the actual cause yet.  Feel free to let me know if 
you're interested. :-)

In the meantime, the workaround is easy, so I just uploaded 
p11-kit-0.18.7-2 and ca-certificates-1.96-2 for x64 only.  If you are 
running 64-bit Cygwin on Windows 8.0 x64, those releases should fix this 
for you.


Yaakov


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