delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/18/21:58:04

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
Date: Tue, 18 Sep 2001 21:58:10 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [BUG] cygwin-1.3.3-2 -- making auto-import dlls
Message-ID: <20010918215810.A11073@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <001901c140ab$c6348300$4b0e4ea8 AT kepri DOT re DOT kr>
Mime-Version: 1.0
In-Reply-To: <001901c140ab$c6348300$4b0e4ea8@kepri.re.kr>
User-Agent: Mutt/1.3.21i

On Wed, Sep 19, 2001 at 10:38:24AM +0900, Jong B. Lee wrote:
>Attached file is a part of Charles Wilson's dllhelpers-0.2.7
>(originally from Mumit Khan's).  This dllhelpers used to be introduced
>as an example for those people who ask how to build and use dlls on
>cygwin, and its' good.
>
>It fails to run on cygwin 1.3.3-2 with a heap error.  C++/F77 cases
>work good.  Only C examples fail to execute.  This error does not occur
>on cygwin-1.3.2-1.

Change the DLL load address to be something besides 61500000 and it will work.

And, before you respond, let me assure you that I am aware that worked
fine in 1.3.2 and I have no intention of trying to fix this in cygwin 1.3.4
or any other release.

Change the base address and it will work.  You can consider this a permanent
limitation of cygwin for the foreseeable future.

Thanks for the minimal test case, btw.  This allowed me to confirm that what
was going on was what I assumed was going on.

And now, I have to find the URL for this message since I'll have to answer
this at least once a week for the foreseeable future.

cgf

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