From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1414 invoked by alias); 23 Nov 2013 19:35:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1358 invoked by uid 89); 23 Nov 2013 19:35:45 -0000 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 Received: from Unknown (HELO out.ipsmtp4nec.opaltelecom.net) (62.24.202.76) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sat, 23 Nov 2013 19:35:12 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAEcCkVJPRtXw/2dsb2JhbAANTL0tgwOBL4MZAQEBBDhAEQsYCRYPCQMCAQIBRRMIAQG1GJFLF48OFoQdA61O X-IPAS-Result: ApMBAEcCkVJPRtXw/2dsb2JhbAANTL0tgwOBL4MZAQEBBDhAEQsYCRYPCQMCAQIBRRMIAQG1GJFLF48OFoQdA61O Received: from 79-70-213-240.dynamic.dsl.as9105.com (HELO [127.0.0.1]) ([79.70.213.240]) by out.ipsmtp4nec.opaltelecom.net with ESMTP; 23 Nov 2013 19:35:03 +0000 Message-ID: <52910365.6040205@tiscali.co.uk> Date: Sat, 23 Nov 2013 19:35:00 -0000 From: David Stacey 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@cygwin.com Subject: Re: Cygwin64: Rebase problems References: <5274DCA9.7020408@tiscali.co.uk> In-Reply-To: <5274DCA9.7020408@tiscali.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00396.txt.bz2 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