delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <47A08953.789F4B4B@dessent.net> |
Date: | Wed, 30 Jan 2008 06:27:31 -0800 |
From: | Brian Dessent <brian AT dessent DOT net> |
X-Mailer: | Mozilla 4.79 [en] (Windows NT 5.0; U) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: About linker otions on rebasing |
References: | <47A07995 DOT 7050508 AT alice DOT it> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
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 |
Angelo Graziosi wrote: > Only using '-Wl,--enable-auto-image-base' in its build makes it work > also after the rebasing and, if I remember correctly, no DLL are created > in its build. You can look at the imagebase value in the .exe with and without being built with that option and I'm quite sure it will remain the same. I don't know what it is that makes the crash sensitive to libncurses being rebased, but it's not something that follows from the semantics of what the auto image base feature is supposed to do, i.e. it's accidental. It would also be a good exercise to try this (i.e. rebuild libncurses and emacs) with current CVS binutils as there have been reported (and fixed) at least one bug with text relocs being calculated incorrectly that causes the resulting DLL to crash if it's rebased. Brian -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |