delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/03/06/12:40:09

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:content-type:content-transfer-encoding;
q=dns; s=default; b=yL4Y/CHw3PheogZXjEaFlRRja487CWXNro+yrFeHxz4
p/5xC1NbEaSRQKaY2hMrOtWh7Vjpa3s/JaBYRCwv/X7X2YpB+DVxEbvYCPeMghTj
8nngFloEx0Lobc2y6FCQ7XgTlaTBwPsLzbrPAp+WRPbjfaeespAGxEbwOfLeCCjA
=
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:content-type:content-transfer-encoding;
s=default; bh=JCrVYUR0A+YKpGATU0aNuoMII5g=; b=E15N2MnDiNSyYKD60
mShj2GiXU+SQR/r04IaVdptSKfVfMY5wO+S+HBEljAV2l4DaKEHAzzQIUU54WS50
aGRrKxSRfDrw4IdKO5EKsQzGrMiNH58OCjAB9Yphdyx6YFjV5chmfnBfn/e6CYjW
IJGvImopyO6ptwhsv2jc35DH44=
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.5 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,GIT_PATCH_2,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=unsubscribesimple, unsubscribe-simple, Room, cao
X-HELO: mail-ot1-f42.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; bh=6bpI59r5qGIickpAuvB8sOFcv/QsFouVvFJ4DaKd2yI=; b=qQ8QaW6ejjtzWJPeij6JzcXRNeIpDRycpIjsd+CzV1oEmuKHYIeJ7t7u3yfxg+4aSD raPIJ+GD2gP1UdSZ2MrocfptyEU/HU98RLoUVcKeb3K5/O4ZxkXspiCwalgU2x49btaI 9heXXxMAxjiF6mciWN7BPtz5mbbsEAYHYRdVdnb0Qo+PPMFZ1kqRJMjJieCWjyzZoNVx wXoVUFPuWQ+Y8rlkA0EJJ6NOLUekyR9mKUZZuGE2z2SFgnYClzOqEmhmZCaWI+xUwLRl DSi2rs/4dr63b4guqQZwOfFuXVPFSBnPoP/z91S1dDSQQim0IJ/1IFfOFIPq+jgAKaM0 LWMw==
MIME-Version: 1.0
References: <CAKAoUeZ3o46hvVkQ1S+ZXX637Mxt41zYSH3u4pHC3FbfkJNWnw AT mail DOT gmail DOT com> <a7c79cdc-9ae3-46ce-5eba-c413a19fad27 AT SystematicSw DOT ab DOT ca> <CAKAoUeasRTycj61MOn6KWWUhhc_3COrQ4-WcoyJKcJZV4HHqRA AT mail DOT gmail DOT com> <6f465767-08af-cb75-8d32-6ba3e6254e72 AT SystematicSw DOT ab DOT ca> <87blpepsqp DOT fsf AT Rainer DOT invalid>
In-Reply-To: <87blpepsqp.fsf@Rainer.invalid>
From: Cao Qinxiang <caoqinxiang AT gmail DOT com>
Date: Sat, 7 Mar 2020 01:38:21 +0800
Message-ID: <CAKAoUean1OPqX=ChmbB731b+h3NONRFrmwiXKrQ-Jaj6dbpSaQ@mail.gmail.com>
Subject: Re: flexdll error: cannot relocate RELOC_REL32
To: cygwin AT cygwin DOT com, Achim Gratz <Stromeko AT nexgo DOT de>,
Brian Inglis <Brian DOT Inglis AT systematicsw DOT ab DOT ca>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 026HdZHj016795

Dear Achim and Brian,

Thank you very much for you suggestions. And as Achim guessed, I was trying
to build a ocaml based library: Menhir. Currently, my problem is still not
solved.

If I try:
-------
    echo /usr/lib/ocaml/stublibs/ > /var/lib/rebase/dynpath.d/ocaml
-------
and then rebase, I get the following error:
-------
  Fatal error: cannot load shared library dllunix
  Reason: flexdll error: cannot relocate RELOC_REL32, target is too far:
0xfffffffc02088b5f  0x2088b5f
-------

I also tried to check whether BLODA is involved. I use
-------
  export CYGWIN=detect_bloda
-------
But when I compile menhir, I get the same error message about fork() and
dllunix.so, but no bloda is detected. Also, if I try to search
"dllunix.so", I find the following instances:
-------
  /lib/ocaml/stublibs/dllunix.so
  /usr/lib/ocaml/stublibs/dllunix.so
  /proc/sys/KernelObjects/HighCommitCondition/dllunix.so
  /proc/sys/KernelObjects/HighMemoryCondition/dllunix.so
  /proc/sys/KernelObjects/LowCommitCondition/dllunix.so
  /proc/sys/KernelObjects/LowMemoryCondition/dllunix.so
  /proc/sys/KernelObjects/MaximumCommitCondition/dllunix.so
  /proc/sys/KernelObjects/MemoryErrors/dllunix.so
  /proc/sys/KernelObjects/PhysicalMemoryChange/dllunix.so
--------
Is there a duplication there? I don't think I manually add any of these.

Best,

Qinxiang Cao
Shanghai Jiao Tong University, John Hopcroft Center
Room 1110-2, SJTUSE Building
800 Dongchuan Road, Shanghai, China, 200240



On Tue, Mar 3, 2020 at 1:33 AM Achim Gratz <Stromeko AT nexgo DOT de> wrote:

> Brian Inglis writes:
> > Try what's documented in /usr/share/doc/Cygwin/_autorebase.README for
> DLLs under
> > non-standard system paths:
>
> …which by some extension  means you shouldn't add system paths.
>
> > create a file /var/lib/rebase/dynpath.d/ocaml containing your .so
> directory path
> > /usr/lib/ocaml/stublibs/:
>
> Don't.  The OCaml stublibs must not be rebased.
>
>
> 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
>
>

--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019