From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113711 invoked by alias); 27 Apr 2016 09:16:03 -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 113645 invoked by uid 89); 27 Apr 2016 09:16:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=extraordinary 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; Wed, 27 Apr 2016 09:15:51 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1avLZU-0004ZW-2i for cygwin-apps@cygwin.com; Wed, 27 Apr 2016 11:15:48 +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 ; Wed, 27 Apr 2016 11:15:48 +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 ; Wed, 27 Apr 2016 11:15:48 +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: Wed, 27 Apr 2016 09:16:00 -0000 Message-ID: References: <87d1pcp1m6.fsf@Rainer.invalid> 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/msg00043.txt.bz2 > Andrew Schulman writes: > >> 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. > > > > This is still unresolved. I can't build unison-2.48.3 on any of my Cygwin > > hosts. It worked a year ago; now it doesn't. Can you help? > > Well, check where the library you've just compiled has been based to. > You can change the image-base of the compiles, see: > > https://www.cygwin.com/ml/cygwin-apps/2013-05/msg00096.html Thanks, but nothing has been been compiled yet; the build fails immediately. I'm not sure if you meant that as diagnosis or solution. It doesn't seem like a solution. Changing the image base of my compiles seems like an extraordinary measure. Unison has always built just fine OOTB before. Thanks, Andrew