unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)
Fri Mar 31 17:00:00 GMT 2017
> 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:
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
>> Fatal error: OCaml and preprocessor have incompatible versions
More information about the Cygwin-apps