delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:references:date:in-reply-to | |
:message-id:mime-version:content-type; q=dns; s=default; b=n1xhW | |
nrw4uNqJ3YQ0FhqyvH4WiFM6E+y/aintBSasJ3djzii7SOgS3nte/uOsYopEVqC8 | |
2I3KI0H37NZ5GNdIEseeksnAD7P4+qWul8STbnGr2QEMJ+wPBcyuuJHP09lTtGQ7 | |
IHye1LBaunCmEuEJpTUAVKP1d680y6ZGYU/Kkc= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:from:to:subject:references:date:in-reply-to | |
:message-id:mime-version:content-type; s=default; bh=RmLNORajodE | |
PkbYT7oLkem6vPLg=; b=MyO6ITEribV5r0vtA7DtWyCYtMGjFXEqub63GgbcjIr | |
kRRyWuRih9744SBOUMLlxc70FVowWWkNrVGCFHcMXfg2dSL4UJyBSeLOkzjqnXCy | |
7LFwLBlXo4p/cAnYBPCkyS9QkD2dlg0LCYjZ9Vl/W+lBKdjjjbPfaeON5cBJd1/Q | |
= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-3.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_NUMSUBJECT,SPF_PASS autolearn=ham version=3.3.1 spammy=Achim, achim, wave, andromeda |
X-HELO: | mx009.vodafonemail.xion.oxcs.net |
From: | Achim Gratz <Stromeko AT nexgo DOT de> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: flexdll error: cannot relocate RELOC_REL32 |
References: | <CAKAoUeZ3o46hvVkQ1S+ZXX637Mxt41zYSH3u4pHC3FbfkJNWnw AT mail DOT gmail DOT com> |
Date: | Mon, 02 Mar 2020 18:16:26 +0100 |
In-Reply-To: | <CAKAoUeZ3o46hvVkQ1S+ZXX637Mxt41zYSH3u4pHC3FbfkJNWnw@mail.gmail.com> (Cao Qinxiang's message of "Mon, 2 Mar 2020 02:35:08 +0800") |
Message-ID: | <87fteqpthx.fsf@Rainer.invalid> |
User-Agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
MIME-Version: | 1.0 |
Cao Qinxiang writes: > I use Cygwin-64 on windows and get a fork problem when I try to manually > install menhir package. > > ---------------- > 0 [main] ocamlrun 1615 child_info_fork::abort: address space needed by > 'dllunix.so' (0x400000) is already occupied > /usr/bin/ocamldep.opt -modules menhir.ml > menhir.ml.depends > 0 [main] ocamlrun 1616 child_info_fork::abort: address space needed > by 'dllunix.so' (0x400000) is already occupied > /cygdrive/g/Cygwin/menhir-20190924/src/_stage1/myocamlbuild: "fork" failed: > Resource temporarily unavailable > ---------------- > > I follow online suggestion to run "/usr/bin/rebaseall -v" using ash.exe. > However, I get another program after that: The dynamic objects for OCaml must not be rebased, they simply stop working if you try. They are specifically exempted from getting picked up by autorebase for this very reason. If you rebased them manually or somehow managed to overwrite them with other versions (opam sometimes does this and it seems you are trying some sort of OCaml build whenjh this happens, which may have done this), you should re-installl all OCaml packages of your installation. > ---------------- > Fatal error: cannot load shared library dllunix > Reason: flexdll error: cannot relocate RELOC_REL32, target is too far: > 0xfffffffc02088b5f 0x2088b5f > ---------------- > > I searched solutions for this new problem. Most solutions are to manually > rebase dllunix to a lower number like 0x06440000. However, I cannot > do that. Here is what I get in Cygwin: > > ---------------- > $ rebase -b 0x06440000 /usr/lib/ocaml/stublibs/dllunix.so > rebase: Invalid Baseaddress 0x06440000, must be > 0x200000000 > ---------------- All of these solutions are wrong, IMHO (even on 32bit). > So, what should I do to this problem? > > Also, if I did not use "/usr/bin/rebaseall -v" using ash.exe, but follow > FAQ's suggestion (run "rebase-trigger fullrebase" in Cygwin), then I cannot > solve the fork problem and still get > ---------------- > 0 [main] ocamlrun 1615 child_info_fork::abort: address space needed by > 'dllunix.so' (0x400000) is already occupied > /usr/bin/ocamldep.opt -modules menhir.ml > menhir.ml.depends > 0 [main] ocamlrun 1616 child_info_fork::abort: address space needed > by 'dllunix.so' (0x400000) is already occupied > /cygdrive/g/Cygwin/menhir-20190924/src/_stage1/myocamlbuild: "fork" failed: > Resource temporarily unavailable > ---------------- This is a very low load address and that indicates there is either BLODA involved or you've managed to have two different versions of dllunix.so loaded into memroy at the same time. Again, it seems you are trying to do a build with OCaml, you must ensure it doesn't create libraries you already have installed from Cygwin packages and certainly to not overwrite them. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |