From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129990 invoked by alias); 31 Mar 2017 17:00:59 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 128845 invoked by uid 89); 31 Mar 2017 17:00:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*Ad:D*gov, H*r:Unknown, gsl X-HELO: blaine.gmane.org Received: from Unknown (HELO blaine.gmane.org) (195.159.176.226) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 31 Mar 2017 17:00:56 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ctzui-00029h-AN for cygwin-apps@cygwin.com; Fri, 31 Mar 2017 19:00:40 +0200 To: cygwin-apps@cygwin.com From: Andrew Schulman Subject: Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien) Date: Fri, 31 Mar 2017 17:00:00 -0000 Message-ID: <252tdclpluck0js4vmvbjtbs8sr2r7v2eg@4ax.com> References: <18002c59-1b77-5912-f5fa-c3e39540b8d8@gmail.com> <41t6ibtbcojbmar8blrc80fk8tmplbbuj3@4ax.com> <41t6ibtbcojbmar8blrc80fk8tmplbbuj3-e09XROE/p8c@public.gmane.org> <5723B6C7.8090100@maxrnd.com> <2169ibt34ifh3cr6s63bovbnb3ed485lj1@4ax.com> <5mt0bcpirrh22jobp0qtm5q0hsfqqncjt8@4ax.com> <5mt0bcpirrh22jobp0qtm5q0hsfqqncjt8-e09XROE/p8c@public.gmane.org> <6add10ed-c67a-d553-ddb6-2d56f20af148@cygwin.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00055.txt.bz2 > On 2017-02-24 12:15, Andrew Schulman wrote: > > So to follow up on this old thread: The commands to make ocaml work again > > in x86_64 are > > > > rebase -b 0x06440000 /usr/lib/ocaml/stublibs/dllunix.so > > rebase -b 0x06510000 /usr/lib/ocaml/stublibs/dllcamlstr.so > > > >> Damien: OCaml is broken OOTB in x86_64. dllunix.so and dllcamlstr.so need to be > >> rebased before it will work. > > > > This is still true today. The above commands will probably have to be rerun > > each time you use ocaml, since updating packages usually runs rebaseall > > which undoes the above. > > Could you try this again with the OCaml 4.04.0 stack I just uploaded, > and see if this is still an issue? Yes, with OCaml 4.04.0 the build of unison2.49 still fails with flexdll error: cannot relocate RELOC_REL32, target is too far: 0xfffffffc185d8b5f 0x185d8b5f Running rebase -b 0x06440000 /usr/lib/ocaml/stublibs/dllunix.so rebase -b 0x06510000 /usr/lib/ocaml/stublibs/dllcamlstr.so as before fixed the flexdll error. Then I got a different build error, but I'll ask on the unison list about that. The build of orpie also failed, but for a different reason. It needed ocaml-camlp4, but when I installed that and tried again I got ocamlopt.opt -c -pp camlp4o -I ./curses -I ./gsl -I ./units -thread curses_assist.ml >> Fatal error: OCaml and preprocessor have incompatible versions