delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/23/14:49:54

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=DYriqg9eNyXSqklYf2PQTF2BPIruTuTy4K0uqjVESDm
ZVkXP+VBHYOAaQke5kZIy0SfRzl2s8TqXKshTTBkiyUhkEpp5fIvw9mR2vM2pV+y
0z62JrEvrqfi8c8TwZI2RurNjJPrmwzn6+ijG8TSS+9iZfRDCJCQ5yhz0/hmz4eU
=
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=HH+cJUzI9uAZhHD6pMiI6b8elNA=; b=mfz27IWzTzZD4BcW3
upORjni5gMbSua2rZkcN+G9PATeFQk0s3tsOZNPJTU6NKiWy8CMk2vQ/2VPVJrp+
idtVhBX8zC60ePOYlPlY16sZUPzl1kiIQZg8VzLXhvQgqWEqHNwTPT6nUXgOa7dB
GfiGH0wdFnRc2qr7+1RdRHK2/k=
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=1.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2
X-HELO: out.ipsmtp4nec.opaltelecom.net
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApMBAEcCkVJPRtXw/2dsb2JhbAANTL0tgwOBL4MZAQEBBDhAEQsYCRYPCQMCAQIBRRMIAQG1GJFLF48OFoQdA61O
X-IPAS-Result: ApMBAEcCkVJPRtXw/2dsb2JhbAANTL0tgwOBL4MZAQEBBDhAEQsYCRYPCQMCAQIBRRMIAQG1GJFLF48OFoQdA61O
Message-ID: <52910365.6040205@tiscali.co.uk>
Date: Sat, 23 Nov 2013 19:35:01 +0000
From: David Stacey <drstacey AT tiscali DOT co DOT uk>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin64: Rebase problems
References: <5274DCA9 DOT 7020408 AT tiscali DOT co DOT uk>
In-Reply-To: <5274DCA9.7020408@tiscali.co.uk>
X-IsSubscribed: yes

On 02/11/2013 11:06, David Stacey wrote:
> I launched bash (from 'cmd') and ran 'rebase -si' and the results are 
> attached. There are two things to note. Firstly, a great many entries 
> have a base address of zero(!).

I'm still investigating this, as time allows. Locally, I've altered the 
autorebase post-install script to add '-v' (i.e. verbose output) and 
both stdout and stderr are logged to a file. Examining this log, I see 
that DLLs in /usr/bin appear to be rebased correctly. I see entries of 
the form:

     /usr/bin/cygEMF-1.dll: new base = 3fffb0000, new size = 30000
     /usr/bin/cygEGL-1.dll: new base = 3fffe0000, new size = 20000

However, for all DLLs in /usr/lib, the new base is always zero - so I 
see entries of the form:

     /usr/lib/cygsqlite3_mod_impexp.dll: new base = 0, new size = 10000
     /usr/lib/cygsqlite3_mod_xpath.dll: new base = 0, new size = 10000

I assume that this is wrong (although I'd be grateful if someone would 
confirm that). Further, there are two suspect entries together at the 
top of the log:

     /usr/bin/libtk8.5.dll: new base = 524600000, new size = 120000
     /usr/bin/libzsh-5.0.2.dll: new base = 5d9670000, new size = a0000

The base address for these two seems too high, and again I suspect that 
these are wrong.

The next step is to build my own 'rebase' littered with copious 
printf's, and see if I can figure out what's going wrong.

Cheers,

Dave.



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