From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30181 invoked by alias); 8 Feb 2018 15:15:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 30159 invoked by uid 89); 8 Feb 2018 15:15:54 -0000 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 Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 08 Feb 2018 15:15:53 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id 6099D721E281A for ; Thu, 8 Feb 2018 16:15:50 +0100 (CET) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id 179C05E03A7 for ; Thu, 8 Feb 2018 16:15:50 +0100 (CET) Received: by calimero.vinschen.de (Postfix, from userid 500) id 05FCFA80390; Thu, 8 Feb 2018 16:15:50 +0100 (CET) Date: Thu, 08 Feb 2018 15:15:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Regression for OCaml introduced by rebase 4.4.4 Message-ID: <20180208151549.GA32555@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.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) X-SW-Source: 2018-02/txt/msg00084.txt.bz2 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1138 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" Content-length: 833 -----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--