Subject: Re: rebase for setup (curl)
From: "Robert Collins" <[email-masked]>
To: <[email-masked]>, "'Jason Tishler'" <[email-masked]>, "'Cygwin'" <[email-masked]>
Cc: "'Roth, Kevin P.'" <[email-masked]>
Date: Sat, 5 Jan 2002 09:37:41 +1100

===
----- Original Message -----
From: "Norman Vine" <[email-masked]>
To: "'Jason Tishler'" <[email-masked]>; "'Cygwin'"
<[email-masked]>
Cc: "'Roth, Kevin P.'" <[email-masked]>
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/