From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49848 invoked by alias); 29 Apr 2016 16:03:21 -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 49838 invoked by uid 89); 29 Apr 2016 16:03:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=30k, 23k, 375k, 35k X-HELO: plane.gmane.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 29 Apr 2016 16:03:05 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1awAsd-0001ew-Na for cygwin-apps@cygwin.com; Fri, 29 Apr 2016 18:02:59 +0200 Received: from c-69-140-37-22.hsd1.md.comcast.net ([69.140.37.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2016 18:02:59 +0200 Received: from schulman.andrew by c-69-140-37-22.hsd1.md.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Apr 2016 18:02:59 +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, 29 Apr 2016 16:03:00 -0000 Message-ID: <41t6ibtbcojbmar8blrc80fk8tmplbbuj3@4ax.com> References: <18002c59-1b77-5912-f5fa-c3e39540b8d8@gmail.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: 2016-04/txt/msg00046.txt.bz2 > On 26/04/2016 21:47, Andrew Schulman wrote: > >> I'm trying to build unison 2.48.3, which worked fine the last time I tried > >> it, in June 2015. Today the build fails, with "flexdll error: cannot > >> relocate": > >> > >>>>> Compiling unison2.48-2.48.3-2.x86_64 > >> ocamlc -o mkProjectInfo unix.cma str.cma mkProjectInfo.ml > >> File "mkProjectInfo.ml", line 1: > >> Error: Error on dynamically loaded library: > >> /usr/lib/ocaml/stublibs/dllunix.so: flexdll error: cannot relocate > >> RELOC_REL32, target is too far: 0xfffffffc0f997112 0xf997112 > >> > >> I ran /bin/rebaseall and tried again, with the same result. > > There was an issue rebasing that file some time ago. > > https://cygwin.com/ml/cygwin/2016-02/msg00410.html > > I suggest at least to try a full rebase with > /usr/bin/rebase-trigger full > and re-running setup. Thanks for the pointer. I tried that, but unfortunately it didn't help. The error is the same as before. rebaseall apparently did run: $ ll /var/cache/rebase total 375K -rw-r--r-- 1 ASchulma Domain Users 115 Apr 29 10:27 fullrebase.done -rw-r--r-- 1 ASchulma Domain Users 35K Apr 29 10:29 rebase_all -r--r--r-- 1 ASchulma Domain Users 2.3K Apr 29 10:29 rebase_dyn -rw-r--r-- 1 ASchulma Domain Users 2.3K Apr 29 10:29 rebase_dyn.old -r--r--r-- 1 ASchulma Domain Users 30K Apr 29 10:29 rebase_exe -rw-r--r-- 1 ASchulma Domain Users 30K Apr 29 10:29 rebase_exe.old -r--r--r-- 1 ASchulma Domain Users 35K Apr 29 10:29 rebase_lst -rw-r--r-- 1 ASchulma Domain Users 35K Apr 29 10:29 rebase_lst.old -r--r--r-- 1 ASchulma Domain Users 96K Apr 29 10:29 rebase_pkg -rw-r--r-- 1 ASchulma Domain Users 96K Apr 29 10:29 rebase_pkg.old -r--r--r-- 1 ASchulma Domain Users 31 Apr 29 10:29 rebase_user -rw-r--r-- 1 ASchulma Domain Users 0 Jan 1 1970 rebase_user.old -r--r--r-- 1 ASchulma Domain Users 31 Apr 29 10:29 rebase_user_exe -rw-r--r-- 1 ASchulma Domain Users 0 Jan 1 1970 rebase_user_exe.old And dllunix.so does seem to have been rebased: $ grep dllunix /var/cache/rebase/rebase_all /usr/lib/ocaml/stublibs/dllunix.so $ rebase -i /usr/lib/ocaml/stublibs/dllunix.so /usr/lib/ocaml/stublibs/dllunix.so base 0x0003eff30000 size 0x0004b000 But still every ocaml run fails with Error: Error on dynamically loaded library: /usr/lib/ocaml/stublibs/dllunix.so: flexdll error: cannot relocate RELOC_REL32, target is too far: 0xfffffffc0f997112 0xf997112 Any other ideas for how I can get ocaml to work? Thanks! Andrew