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:mime-version:references:in-reply-to:from:date | |
:message-id:subject:to:cc:content-type; q=dns; s=default; b=vY0P | |
yG5YtDcJTbhQ3V8lsaf3rCHQz2bl75aHXOzWJuWL24qukVwqsSN/+aBGhP+Nd6Dl | |
p0kbDgTJoIj9TxqJOhTjhox1vxv/3SqF0URG5N673jj9e7xyynjYOSgShqHvXJ23 | |
2BhMrQbvy067v0g//on6zRDTtFgnDB0fYKsqBt4= | |
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:mime-version:references:in-reply-to:from:date | |
:message-id:subject:to:cc:content-type; s=default; bh=Qjp8Qw+xbK | |
D3GA7YQ+DDicqokc4=; b=a4h7aTr1biQhjTFYA2a7mbZEWjcifgmawNvW3sR3n2 | |
VnLxzDhRk108eaDC7b5Q5Ab5bhzt1GbK4p9giqNq0S9ixlSx7Ff38+vdyT+j3Cg7 | |
1B8X+eIbHk6rTuUyyloebUDaAL4dXo0UfzzjR5+Ud7dtFRX+pZuxwxzkLr61/TEW | |
M= | |
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=-4.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=China, HTo:D*shaw.ca, china, H*c:alternative |
X-HELO: | mail-oi1-f169.google.com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2N1CrDocew1ELuud9qbrs3UalmFegmmfGXHkvLl6FVY=; b=PyPkZorut1zueWepk1YPrFBc5jOx3B1pU53R+GDyvY8A8YgSekZNoZDMjCLXxFNGIe Xs4dDuQMtWs7n6JCq3yB03Z4WCI5TRuf17LW4c3I7Ne1nCtxIMrOA7ZvgnUUOKyBZ8Kw tUIRBZNcfb2isUti+kNoqNJ088qeAl6hmtP10m+natxSGi7NQUmmvA/vM7porthM+2Zg d7W/u63ABgL4y1U0eIaigf+8NA2nFYfK9Ovwcg2pirdhfwgy0XDiyMGP4gkyYU5Vdb+Z OZcq/5f2uLrGULleHfHswxoDBGBSx1ER8JUWIGPAnaTQh727XimrmpOnK2J8kAEoep4C mW+A== |
MIME-Version: | 1.0 |
References: | <CAKAoUeZ3o46hvVkQ1S+ZXX637Mxt41zYSH3u4pHC3FbfkJNWnw AT mail DOT gmail DOT com> <798a55b4-8511-1999-75cd-9ac781ebc8a3 AT Shaw DOT ca> |
In-Reply-To: | <798a55b4-8511-1999-75cd-9ac781ebc8a3@Shaw.ca> |
From: | Cao Qinxiang <caoqinxiang AT gmail DOT com> |
Date: | Mon, 2 Mar 2020 21:18:48 +0800 |
Message-ID: | <CAKAoUeZTr4n6=w4=zqWMJPowUMTHCTqESCHr9rzG1VW0__amMQ@mail.gmail.com> |
Subject: | Re: flexdll error: cannot relocate RELOC_REL32 |
To: | Brian DOT Inglis AT shaw DOT ca |
Cc: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Dear Brian, Thank you for you reply. But it does not solve my problem. When I run "rebase-trigger full", I get the following message: ----- Note: _autorebase will do a full rebase the next time setup is run. ----- If I check /var/cache/rebase/fullrebase at this time, it contains the follow information: ----- # _autorebase will do a rebuild of the rebase database if this file # exists and then rename it to fullrebase.done ----- Then I closed Cygwin and checked Task Manager Details (found no exe in cygwin folder). Then I run Cygwin setup. But after I rerun Cygwin again, I get the same error message about dllunix.so. BTW, in /var/cache/rebase/rebase_all, I found nothing related to dllunix.so. Is a the reason? I put my /var/cache/rebase/ folder in this git repo " https://github.com/QinxiangCao/CygwinDebug" and hope it can help detect the problem. Thank you very much! Best regards, Qinxiang Cao Shanghai Jiao Tong University, John Hopcroft Center Room 1110-2, SJTUSE Building 800 Dongchuan Road, Shanghai, China, 200240 On Mon, Mar 2, 2020 at 3:58 PM Brian Inglis <Brian DOT Inglis AT shaw DOT ca> wrote: > On 2020-03-01 11:35, Cao Qinxiang wrote: > > Dear Cygwin development team and Cygwin experts, > > > > 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: > > > > > > ---------------- > > 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 > > ---------------- > > > > 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 > > ---------------- > > Run rebase-trigger full then shut down *ALL* Cygwin processes: check Task > Manager Details tab Image path name column for process paths under Cygwin > root > and kill. > If rebase-trigger full fails, create /var/cache/rebase/fullrebase. > Then download and run Cygwin setup and let all the postinstall scripts > complete. > > -- > Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada > > This email may be disturbing to some readers as it contains > too much technical detail. Reader discretion is advised. > -- 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 |