From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48051 invoked by alias); 3 Apr 2017 02:23:20 -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 48040 invoked by uid 89); 3 Apr 2017 02:23:19 -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,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=4040, gsl, cgit, Hx-languages-length:1524 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 03 Apr 2017 02:23:18 +0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 46C757E9C2 for ; Mon, 3 Apr 2017 02:23:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 46C757E9C2 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=none smtp.mailfrom=yselkowitz@cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 46C757E9C2 Received: from [10.10.120.19] (ovpn-120-19.rdu2.redhat.com [10.10.120.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 009DF9CE73 for ; Mon, 3 Apr 2017 02:23:17 +0000 (UTC) Subject: Re: unison-2.48 build fails with latest ocaml and flexdll (attn: Achim) To: cygwin-apps@cygwin.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> <252tdclpluck0js4vmvbjtbs8sr2r7v2eg@4ax.com> From: Yaakov Selkowitz Message-ID: <841a950b-57dd-337f-4eb9-f76f053f0c06@cygwin.com> Date: Mon, 03 Apr 2017 02:23:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <252tdclpluck0js4vmvbjtbs8sr2r7v2eg@4ax.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-04/txt/msg00003.txt.bz2 On 2017-03-31 12:00, Andrew Schulman wrote: >> On 2017-02-24 12:15, Andrew Schulman wrote: >> 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. Achim, I think /usr/lib/ocaml needs to be ignored by autorebase; flexlink'ed DLLs are loaded very differently, and rebasing seems to break them. > Then I got a different build error, but > I'll ask on the unison list about that. Is 2.49 a stable version? It seems neither Fedora nor Debian have packaged it. I was able to build the latest 2.48 OOTB, and 2.40 and 2.45 with this patch: http://pkgs.fedoraproject.org/cgit/rpms/unison240.git/tree/unison-2.40.128-ocaml-4.04.patch > 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 Oops, it seems there were some old curr:/prev: tags on ocaml-camlp4. I removed those, so please try again with 4.04+1-1. -- Yaakov