Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2016-04-26 Thread Andrew Schulman
> 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

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2016-04-26 Thread Achim Gratz
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 >

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2016-04-27 Thread Andrew Schulman
> 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 mkPr

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2016-04-27 Thread Achim Gratz
Andrew Schulman writes: > 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. Well, then just manually rebase unixdll.so (whatever

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2016-04-28 Thread Marco Atzeri
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

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2016-04-29 Thread Andrew Schulman
> 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 uni

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2016-04-29 Thread Mark Geisert
Andrew Schulman wrote: 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

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2016-04-29 Thread Mark Geisert
Mark Geisert wrote: the relocation error is different in a 5.3.0 object than a 4.9.2 object such as ^ 4.8.2 So for your case I'd first try rebasing flexdll.so down to 0xeff3 (you may collide with something else so pay att

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2016-04-30 Thread Andrew Schulman
> A bald xpdf run failed with... > Cygwin runtime failure: /usr/bin/xpdf.exe: Invalid relocation. Offset > 0x2fb02bad9 at address 0x100494523 doesn't fit into 32 bits > I rebased /usr/bin/cygXt-6.dll from 0x0003fb48 down to 0xfb48, > i.e. > just turn the first 3 in the address to 0,

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2017-02-24 Thread Andrew Schulman
> > A bald xpdf run failed with... > > Cygwin runtime failure: /usr/bin/xpdf.exe: Invalid relocation. Offset > > 0x2fb02bad9 at address 0x100494523 doesn't fit into 32 bits > > I rebased /usr/bin/cygXt-6.dll from 0x0003fb48 down to 0xfb48, > > i.e. > > just turn the first 3 in the a

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2017-03-27 Thread Yaakov Selkowitz
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 0x0644 /usr/lib/ocaml/stublibs/dllunix.so rebase -b 0x0651 /usr/lib/ocaml/stublibs/dllcamlstr.so Damien: OCaml is broken OOTB in x86_64. dllunix

Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)

2017-03-31 Thread Andrew Schulman
> 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 0x0644 /usr/lib/ocaml/stublibs/dllunix.so > > rebase -b 0x0651 /usr/lib/ocaml/stublibs/dllcamlstr.so > > > >> Damien: OCaml is brok