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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=SH4FpIY9T2mcGYWP8IzqWiw4n1PyqwJ/YrydvamQ/cEotm+fU7J2Z r1BgMnIcGCqkBCV3pAPuCB4sRIE+Dzni3IMgSIdWYxySlEtVmE1SCDci/6UxTnjI 72WB/4TbO4d1RwbtVB4vlTnWYpKc+/ULx57rC2OR5T4xnyOhdu4zAs= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=SoI6asETbK2Gvh5ZiQWp1+qWzSM=; b=XTd04USKtayU8xhAX2udGpx9aS68 jt8n7Pbr/nO57zR/7DZTZ/aTtarv0vl/Ut1qFxYlkK3CUKnGWTC4Q+7EuZ2jFsJn ZvDVS6H93FxryVUx83UzeiPAT/L9EtPftg/xzzfP9W5V3iYyg6eGyJse72FsOGRn jdxJHkLf4jDVaM4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-101.4 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=80000000 X-HELO: drew.franken.de Date: Thu, 8 Feb 2018 16:15:49 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Regression for OCaml introduced by rebase 4.4.4 Message-ID: <20180208151549.GA32555@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <000001d3a0d2$9f604860$de20d920$@cl.cam.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <000001d3a0d2$9f604860$de20d920$@cl.cam.ac.uk> User-Agent: Mutt/1.9.2 (2017-12-15) --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Feb 8 11:47, David Allsopp wrote: > TL;DR flexlink-compiled DLLs (i.e. ocaml libraries) are broken by the > 0x200000000 base address requirement added in rebase 4.4.4. Possible fixes > for this at the bottom. > [...] > $ ocaml > OCaml version 4.04.2 >=20 > # #load "unix.cma";; > Cannot load required shared library dllunix. > Reason: /usr/lib/ocaml/stublibs/dllunix.so: flexdll error: cannot reloc= ate > RELOC_REL32, target is too far: 0xfffffffc013d8b5f 0x13d8b5f.=20 >=20 > This is a known problem and fundamental limitation of flexdll (there is no > RELOC_REL64 in COFF). Apart from that, not only Cygwin DLLs but also the Windows system DLLs are all loaded and relocated to the area beyond 0x1:80000000, so relocation beyond the 32 bit address space is no generic problem in Windows. Why isn't that possible in FlexDLL? I don't understand this. To me this looks like a bug in FlexDLL, not a requirement to let certain DLLs slip through the cracks. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlp8aaUACgkQ9TYGna5E T6BJ5Q/8D8LfhurgQOVI2HocTxKerODEuzVej3zH8BJLcymoPYIqI3yEII4e2ALL /FC3VV6EF97E3wlRyW4ezC9uYMZey4vpM9uAFOhhEbuZVPi7qFrs0elAPi/ChcS1 sqCA+OggsStHhVgLjjJs3J9sUc61JxtDcPDISQR1xqFQPLSUusOPE0uE9u/ZwNU9 ee+A4H410RQrRWgPJyT6rfSFofgToaTElxsV/FpHxM7LLxZyJ07OCbxI4L9yr1uE OQudz/O1PD7bNZwyoGvJIEflRC59LuA3GjVL6kCukHR59uAXOAeTzhAtR2pupe5N NzXwXRanfeUr0Et20gNMWnAuA96N6baBDNUkYnV40zf6k7XiXVcHc5PEdBaD/27f hDxPXzIc2UUV7t/zgEk2uE11aPYdZr1gma+xQcJkZKrQNnB619QRe7bKQRo0yFCB FdthCYOH6NLqtKdy3XWEAeYpOgq+vBoz7dvjEXghSBFC+zB5wSunphePHaY8Gy6q mHKMp6Rn9mVGzuj2MsXK76FPhxT4LBe4aP3n3/40VIl0GI+Ik23YMMCFLUr7btBy JJHHA1m0agJj5+tQlHyDEtKZlyEsPprgmW+i6mtgJrcbKc5bfOVpSx7glmppypf8 Ytg9RTclLGu9MlVwAsF1YGiTGBj3cLBD55Rbp9p+MNgJl/dlEzw= =w3rJ -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6--