Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 8 Jun 2005 10:36:56 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Problem with using stripped cygwin1.dll built from CVS
Message-ID: <20050608143656.GB17698@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <42A6298E.303@acm.org> <42A62DAE.F4153556@dessent.net> <42A632C5.7040306@acm.org> <20050608084920.GN23172@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050608084920.GN23172@calimero.vinschen.de>
User-Agent: Mutt/1.5.8i

On Wed, Jun 08, 2005 at 10:49:20AM +0200, Corinna Vinschen wrote:
>On Jun  7 16:50, David Rothenberger wrote:
>> On 6/7/2005 4:28 PM, Brian Dessent wrote:
>> >Part of the new cygheap changes that cgf recently checked in, were a
>> >number of changes/tweaks to the linker script.  It's possible that your
>> >checkout happened in the middle of those changes, or you didn't get them
>> >all.  Try a recent checkout.  (If you are already using an up to date
>> >tree, then ignore this...)
>> 
>> Total up-to-date tree. I did a cvs update -A this afternoon. I also get 
>> this same error if I run strip (w/o args) on the DLL from the latest 
>> snapshot.
>
>Weird.  I had this when trying to build Cygwin with Dwarf2 debugging
>information and the linker script wasn't aware of the additional sections.
>Could you paste the output of `objdump -h cygwin1.dll' of a stripped and
>an unstripped DLL?

I understand the problem.  It's a binutils bug that I'm investigating.
Either gas or ld is marking NOLOAD sections as "read only" and that is
causing windows to actually load them into memory.

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/

