This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH RFC] fork: reduce chances for "address space is already occupied" errors
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin-patches at cygwin dot com
- Date: Mon, 08 Apr 2019 19:09:29 +0200
- Subject: Re: [PATCH RFC] fork: reduce chances for "address space is already occupied" errors
- References: <8c77b589-fcae-fd0d-f5c5-c2520cfebbfa@ssi-schaefer.com> <20190326182538.GA4096@calimero.vinschen.de> <20190326182824.GB4096@calimero.vinschen.de> <c52ec077-d1e6-f61a-df9c-fe9ede1ba1ff@ssi-schaefer.com> <87y350ytpb.fsf@Rainer.invalid> <9c38ac1d-4dea-12d4-a63b-6e8ec59b3ae8@ssi-schaefer.com> <0f0d7cd6-e770-fc32-f28f-817b700e4d87@SystematicSw.ab.ca> <f5ab5a82-8d26-4898-7ea4-ecef5c377299@ssi-schaefer.com> <abf543bb-e8df-9eeb-5ae8-63e5d59cca9a@SystematicSw.ab.ca> <87sgv65eyc.fsf@Rainer.invalid> <5fa27e1c-a790-f03d-b4b3-1985f26df128@SystematicSw.ab.ca> <87pnq9jupk.fsf@Rainer.invalid> <a83dedc6-ea5b-5fc9-4bbc-f06a9cf19472@SystematicSw.ab.ca> <878sww93g9.fsf@Rainer.invalid> <97aec921-d9b1-3b0e-de7a-d492832ba481@SystematicSw.ab.ca> <236d3269-1b0b-9da0-9816-ed84e489f73e@ssi-schaefer.com> <87ef6jmfwv.fsf@Rainer.invalid> <437a6a24-4428-ad14-f6bb-16ff23679c30@ssi-schaefer.com>
Michael Haubenwallner writes:
> Well... once installed, a dll may get in use quickly, because I can not require
> to shut down all Cygwin processes. So I need to rebase and register the dll in
> some staging directory before it is installed into it's final directory, hence
> I'm about to add some new '--destdir' option.
I don't quite understand yet what you're trying to do and why, but
"--destdir" doesn't have the right ring to it for my ears. If I'm not
mistaken you want to strip the staging prefix from the database entry,
which incidentally would be where a
make DESTDIR=/staging install
would have placed the files?
> When I install rebase right within Gentoo Prefix, the rebase db is stored there
> as well, to not cope with host Cygwin's rebase db. Other than cygwin1.dll, no
> dll should be used by Gentoo Prefix binaries anyway (except during bootstrap).
Since cygwin1.dll is always at a fixed address anyway, then you don't
need to do anything extra, I think.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds