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:reply-to:subject:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=Jey0W5O9GEqOJZMv uGwJjLgPLcxKbREAIE9snNap6vne69+VcLmyZDGNX1ekDhjm7+cxaQxf0nK8NJk9 V+jjtxu/mOn1pvPhXHIndFOPLxIrd9BanS/wXGif5tM1a0y/cL9ZnbJ8tbUu1Bbf 13WJKHQ99ox6fl6SMjankLNom8s= 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:reply-to:subject:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=DCebA2h+1ycmpfQ8h1IGql xFxjQ=; b=Hh491ju+rPeyJSx0RcZ2dR6AmPHtfkPJ5bUGTSo2NsnXx0APOOxieD rIGzuJvU5x1/nulN1/vyCLQbYe3trZ19YjpwIV/IDuEdyZ4c3gxggOUKvhFATKIr Oc5DHxnnHY64KA0xRxURrWg7jpOfN+ukhL2O1cJX9fZdHTxl2AAJE= 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.3 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*f:sk:3a4d250, Roe, roe, Help X-HELO: csmail.cs.umass.edu Reply-To: moss AT cs DOT umass DOT edu Subject: Re: Help debugging a dll issue References: <3a4d2501-8845-99b6-d58b-544bff5e223f AT cs DOT umass DOT edu> <20160520112618 DOT GC12938 AT dimstar DOT local DOT net> To: cygwin AT cygwin DOT com From: Eliot Moss Message-ID: Date: Fri, 20 May 2016 08:02:20 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <20160520112618.GC12938@dimstar.local.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 5/20/2016 7:26 AM, Duncan Roe wrote: > Hi Eliot, > > Do you know what is the name of the totally different symbol? (maybe from nm -D) Yes -- I have been using nm and objdump to examine the relevant files. The dll is called libpypy-c.dll. The symbol I want to bind to is pypy_main_startup, and its proper value (as returned by nm and objdump) is 0x6410ac60. The result I get is the value of symbol pypy_g_PyNumber_Negative (an automatically generated C function), which is 0x63443f00. I wonder if these collide in some internal hash table and the hash lookup (or the table building) is broken in some subtle way. Regards -- Eliot -- 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