delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/22/11:49:34

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:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=L3J8VqZ8cQHqk5sn
L/N/zOA0WV9msC9XJejqQtSyzRiang/dirc9rPIj3MAX+C6Anf0tolRBjb8jbPf+
iD+UGohc7DlvEDH1J2B5oJP9+oDZakOalxLVkghaUb3spozuRhKgcZa8EMJ8jI51
lQi4ODWU93LsxRbrIlEYZWb7UIs=
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:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=xICbz77qDp5q6/jsSPfCNk
WLUmY=; b=pB1s7eek5J+K342dtFXKz1RBUQXQVy87/q0FbHOgaRGwnImWgBncgu
8VwbhEgNQfVJTU2ZPc8P8yFQEG/ul5DaBI9qsDJb7ISnyIijLt8xU0W6bVauMgqG
8mSREGSf28Gr97FYSt52g5m6Bz/SMDxWHszk1mhmEBnJMe2Y5BJRI=
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=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=his, our, HContent-Transfer-Encoding:8bit
X-HELO: mailsrv.cs.umass.edu
Reply-To: moss AT cs DOT umass DOT edu
Subject: Re: Does Cygwin setup modify dlls?
To: cygwin AT cygwin DOT com
References: <trinity-f19f7555-e19d-4d9b-98bd-3d2da10e8cf1-1506088812465 AT 3c-app-gmx-bs21> <0ec4a5bf-d608-68d2-973d-3e8b5db33589 AT cs DOT umass DOT edu> <16302f48-6e7c-7af2-6a2e-15091794769a AT gmail DOT com>
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <4eb6dfac-1995-212b-4d9b-940c091f34b6@cs.umass.edu>
Date: Fri, 22 Sep 2017 11:49:17 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <16302f48-6e7c-7af2-6a2e-15091794769a@gmail.com>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On 9/22/2017 10:46 AM, Marco Atzeri wrote:
> On 22/09/2017 16:11, Eliot Moss wrote:
>> On 9/22/2017 10:00 AM, Joachim Eibl wrote:
>>> Hi,
>>> In our project we like the Cygwin-Setup tool so much that we use it for our own files too.
>>> Adding our archives to our setup.ini was easy enough and almost everything worked as expected.
>>> But then a certain tool didn't work and we found that dll-files that were unpacked by the 
>>> Cygwin-installer didn't match the files in the archive.
>>> The problem seems to be dll-specific. Other filetypes are not modified.
> 
>>
>> Cygwin's rebasing of DLLs does modify the files (slightly).
>> Others can probably detail the exact nature of what changes,
>> and perhaps the comparison tool can be refined to ignore that
>> as a difference.
> 
> the change is on ImageBase address
> 
> $ objdump -x /usr/bin/cygglpk-40.dll |grep ImageBase
> ImageBase               00000003e1710000

So, if the OP compared output of objdump ignoring the ImageBase difference,
would that be able to indicate that the DLL is "the same" for his purposes
of knowing whether an installation is equivalent in terms of versions,
releases, etc.?

EM

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