Re: [isabelle-dev] Problem with ocaml nums.cma on Cygwin64
On 06/10/17 16:38, Makarius wrote: > > Presently (e.g. in Isabelle/0b3fa8e22f22) this causes a new problem with > OCaml, see also my thread on the Cygwin mailing list: > https://cygwin.com/ml/cygwin/2017-10/msg00037.html > > $ ocaml nums.cma > Cannot load required shared library dllnums. > Reason: /usr/lib/ocaml/stublibs/dllnums.so: flexdll error: cannot > relocate RELOC_REL32, target is too far: 0xfffc02c4c753 0x2c4c753. After studying the hints provided here and on the Cygwin mailing list, I have now rebuilt OCaml from the official sources provided by Cygwin: cd /usr/src/ocaml-4.04.2-1.src/ocaml-4.04.2 ./configure make world.opt make install The resulting /usr/local/bin/ocaml appears to work for now, and is probably outside the auto rebase mechanism. Makarius ___ isabelle-dev mailing list isabelle-...@in.tum.de https://mailmanbroy.informatik.tu-muenchen.de/mailman/listinfo/isabelle-dev
Re: [isabelle-dev] Problem with ocaml nums.cma on Cygwin64
I am not using Cygwin, but would it be related with this: https://caml.inria.fr/mantis/view.php?id=7268 https://github.com/alainfrisch/flexdll (Alain Frisch seems to be one of the persons maintaining flexdll...) Frédéric Fri, 6 Oct 2017 16:38:54 +0200, Makarius : > We are moving towards uniform x86_64 support in Windows, including > x86_64-cygwin (which is likely to behave better concerning infamous "DLL > rebase" problems). > > Presently (e.g. in Isabelle/0b3fa8e22f22) this causes a new problem with > OCaml, see also my thread on the Cygwin mailing list: > https://cygwin.com/ml/cygwin/2017-10/msg00037.html > > $ ocaml nums.cma > Cannot load required shared library dllnums. > Reason: /usr/lib/ocaml/stublibs/dllnums.so: flexdll error: cannot > relocate RELOC_REL32, target is too far: 0xfffc02c4c753 0x2c4c753. > > > I am unsure what the situation of OCaml on Cygwin64 really is. > > Maybe some OCaml expert can say more about it. > > > Makarius > ___ > isabelle-dev mailing list > isabelle-...@in.tum.de > https://mailmanbroy.informatik.tu-muenchen.de/mailman/listinfo/isabelle-dev signature.asc Description: OpenPGP digital signature ___ isabelle-dev mailing list isabelle-...@in.tum.de https://mailmanbroy.informatik.tu-muenchen.de/mailman/listinfo/isabelle-dev
[isabelle-dev] Problem with ocaml nums.cma on Cygwin64
We are moving towards uniform x86_64 support in Windows, including x86_64-cygwin (which is likely to behave better concerning infamous "DLL rebase" problems). Presently (e.g. in Isabelle/0b3fa8e22f22) this causes a new problem with OCaml, see also my thread on the Cygwin mailing list: https://cygwin.com/ml/cygwin/2017-10/msg00037.html $ ocaml nums.cma Cannot load required shared library dllnums. Reason: /usr/lib/ocaml/stublibs/dllnums.so: flexdll error: cannot relocate RELOC_REL32, target is too far: 0xfffc02c4c753 0x2c4c753. I am unsure what the situation of OCaml on Cygwin64 really is. Maybe some OCaml expert can say more about it. Makarius ___ isabelle-dev mailing list isabelle-...@in.tum.de https://mailmanbroy.informatik.tu-muenchen.de/mailman/listinfo/isabelle-dev