From: Andrew Schulman <schulman.andrew@epa.gov>
To: cygwin-apps@cygwin.com
Subject: Re: unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien)
Date: Fri, 31 Mar 2017 17:00:00 -0000 [thread overview]
Message-ID: <252tdclpluck0js4vmvbjtbs8sr2r7v2eg@4ax.com> (raw)
In-Reply-To: <6add10ed-c67a-d553-ddb6-2d56f20af148@cygwin.com>
> 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:
0xfffffffc185d8b5f 0x185d8b5f
Running
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
curses_assist.ml
>> Fatal error: OCaml and preprocessor have incompatible versions
next prev parent reply other threads:[~2017-03-31 17:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-21 19:17 unison-2.48 build fails with latest ocaml and flexdll Andrew Schulman
2016-04-26 19:47 ` unison-2.48 build fails with latest ocaml and flexdll (ping: Yaakov, Damien) Andrew Schulman
2016-04-26 20:16 ` Achim Gratz
2016-04-27 9:16 ` Andrew Schulman
2016-04-27 11:16 ` Achim Gratz
2016-04-28 8:03 ` Marco Atzeri
2016-04-29 16:03 ` Andrew Schulman
2016-04-29 19:32 ` Mark Geisert
2016-04-29 19:43 ` Mark Geisert
2016-04-30 11:54 ` Andrew Schulman
2017-02-24 18:15 ` Andrew Schulman
2017-03-27 21:50 ` Yaakov Selkowitz
2017-03-31 17:00 ` Andrew Schulman [this message]
2017-04-03 2:23 ` unison-2.48 build fails with latest ocaml and flexdll (attn: Achim) Yaakov Selkowitz
2017-04-03 6:23 ` Achim Gratz
2017-04-08 17:42 ` Achim Gratz
2017-04-03 17:12 ` Andrew Schulman
2017-04-03 17:23 ` Yaakov Selkowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=252tdclpluck0js4vmvbjtbs8sr2r7v2eg@4ax.com \
--to=schulman.andrew@epa.gov \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).