delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/09/10:37:24

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B9B7E97.3020606@ece.gatech.edu>
Date: Sun, 09 Sep 2001 10:37:11 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
To: Dmitry Timoshkov <dmitry AT baikal DOT ru>
CC: cygwin AT cygwin DOT com
Subject: Re: binutils auto-import bug
References: <3B9B0C1F DOT 7090504 AT ece DOT gatech DOT edu> <3B9B0D6E DOT 8050104 AT ece DOT gatech DOT edu> <014901c13931$581ab2d0$c3823bd5 AT dmitry>

Dmitry Timoshkov wrote:

> "Charles Wilson" <cwilson AT ece DOT gatech DOT edu> wrote:
> 
> 
>>>The reason for the quotation marks is: Paul's patch doesn't actually fix 
>>>the bug.  It just detects the condition that *causes* the bug, prints a 
>>>diagnostic message, and exits with error.
>>>
>>Oh, one other thing: this is *meant* as an interim step towards actually 
>>*fixing* the bug.  But, because of certain idiosyncracies of the windows 
>>dynamic loader, detection-and-prevention, as in the current patch, MAY 
>>be the best we can do.
>>
>>It isn't yet clear.
>>
> 
> Did you try to use different compiler/linker? For instance from MIcrosoft
> or Borland? How do they behave in your tests?


Ummm...you're missing the point. This is about how the binutils linker 
links, when the "auto-import" feature is used. NOT about how any other 
linker would work in some hypothetical situation.  As far as the DLLs 
themselves are concerned, if they are produced by binutils-ld, it is 
theoretically possible to create a .lib-style import library for the 
DLL, and then use MS-link.exe to link to them, if the client code uses 
__declspec(dllimport).

MS nor Borland linkers HAVE an "auto-import" feature.  So how could I 
test it?

--Chuck

Auto





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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