Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <0f2601c19570$6c724b30$0200a8c0@lifelesswks>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: <nhv@cape.com>, "'Jason Tishler'" <jason@tishler.net>,
   "'Cygwin'" <cygwin@sources.redhat.com>
Cc: "'Roth, Kevin P.'" <KPRoth@MarathonOil.com>
References: <008e01c19552$4b6bd6e0$a300a8c0@nhv>
Subject: Re: rebase for setup (curl)
Date: Sat, 5 Jan 2002 09:37:41 +1100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 04 Jan 2002 22:39:13.0888 (UTC) FILETIME=[A2897E00:01C19570]


===
----- Original Message -----
From: "Norman Vine" <nhv@cape.com>
To: "'Jason Tishler'" <jason@tishler.net>; "'Cygwin'"
<cygwin@sources.redhat.com>
Cc: "'Roth, Kevin P.'" <KPRoth@MarathonOil.com>
Sent: Saturday, January 05, 2002 6:02 AM
Subject: RE: rebase for setup (curl)


> Jason Tishler writes:
> >>
> >So, the options passed to ld are the same for cygcurl-2.dll and
pq.dll
> >except for the slight variation of --base-file versus --image-base.
> >
> >I decided to table the search for the "offending" ld option(s)
because
> >of the following gloomy thought:
> >
> >    Given that rebase can break certain DLLs and that it is nearly
> >    impossible to control how arbitrary packages create their DLLs,
> >    can setup.exe's proposed rebase solution deal with this problem?
> >    Or, is the rebase solution doomed to failure?
> >
> >Does anyone have any bright ideas?
>
> What happens if you link with
> --enable-auto-image-base   ??

From a libbfd point of view, all auto-image-base does is
supply --image-base=<hash of filename>, so I'd be _amazed_ if this fixed
a relocating issue.

Rob


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

