This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: 64bit: cygstdc++-6.dll
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Mon, 15 Apr 2013 14:55:43 +0200
- Subject: Re: 64bit: cygstdc++-6.dll
- References: <51686F09 dot 4050009 at gmail dot com> <20130413100751 dot GI11358 at calimero dot vinschen dot de> <5169BB2E dot 80807 at gmail dot com> <20130414082512 dot GL11358 at calimero dot vinschen dot de> <CAEwic4aGerGAdmN2xupYFNuvLVfab2MofJg=m5gp-JsFgh0NGg at mail dot gmail dot com> <20130414101859 dot GM11358 at calimero dot vinschen dot de> <CAEwic4b3OKXpb+yQzomLFAp55QhGEfSb+ibhs7eoEN3kqKHTtw at mail dot gmail dot com> <20130414112830 dot GN11358 at calimero dot vinschen dot de> <20130415094836 dot GA9503 at calimero dot vinschen dot de> <516BD21F dot 3070006 at lysator dot liu dot se>
- Reply-to: cygwin-apps at cygwin dot com
On Apr 15 12:10, Peter Rosin wrote:
> On 2013-04-15 11:48, Corinna Vinschen wrote:
> > On 32 bit, the .xa script is used, but has no influence, apparently.
> > On 64 bit, the .x script is used, even with --enable-auto-import.
> > Both versions work as expected:
> >
> > $ ./x
> > optind: 1,0x611821e4
> >
> > $ ./x
> > optind: 1,0x1801c37bc
> >
> > To me this means, we should not use the .xa file on 32 bit either.
> > It moves all .rdata data to the .data section for no good reason,
> > thus adding unnecessary pressure to the pagefile.
> >
> > Does that make sense or did I miss something?
>
> IIRC it was more problematic with complex data structures and needing
> more than one relocation for a "single lookup". Like importing a const
> that is used as offset in an imported const array, or something like
> that. Or, I'm completely off base and that was a totally different
> problem, sorry for the noise in that case.
I don't know about that, but given Yaakov's finding that mingw can live
without the .xa file for auto-import and v2 pseudo-relocs, and given
that x86_64 can do so, too, I don't see why this should be different for
Cygwin. Everything points to an old requirement when using v1
pseudo-relocs here.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat