www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/06/10:19:23

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 6 Apr 2009 10:18:56 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: All clear [was Re: [1.7]: For the love of god, don't update!]
Message-ID: <20090406141856.GA19965@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <49D97797 DOT 9080902 AT gmail DOT com> <49DA0FE6 DOT 6020603 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <49DA0FE6.6020603@gmail.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mon, Apr 06, 2009 at 03:21:26PM +0100, Dave Korn wrote:
>So, that's why only some applications manifest this problem; it's only
>the ones that explicitly pass -lc in their LDFLAGS.

So, given how limited the problem is, I don't think the alarmist Subject
was really called for.  Anyone reading the subject would think that
there was something seriously wrong with Cygwin 1.7 and that is not the
case.

>...Both exes have an IAT from kernel32 importing GetACP and Get
>ModuleHandleA, and two single-entry IATs referencing _impure_ptr
>(auto-import entries, pointing into the .text section) right at the end
>of their .idata sections.  Where they differ is at the start of .idata;
>the working exe has a single import table with 111 imports from
>cygwin1.dll, where the failing exe has two import tables from
>cygwin1.dll with 101 and 10 entries respectively.

I mentioned that things still work this way (as they have for the last
eight years) when I announced the speclib rewrite and you said:

"Yes, multiple import tables for the same DLL Name are definitely OK; if MS
ever do anything to change this, we'll have real problems with auto-import."

Did you miss adding an "as expected" in the above paragraph?

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019