From: Leo White <leo@lpw25.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] parmap package broken in opam switch 4.03.0
Date: Tue, 26 Apr 2016 13:16:23 -0400 [thread overview]
Message-ID: <1461690983.2521722.590256673.26E0228E@webmail.messagingengine.com> (raw)
In-Reply-To: <20160426162143.GA15142@traveler>
> It seems that in 4.03 one needs to add the -opaque flag when compiling
> such stubs, otherwise things go astray, and it seems ocamlbuild does not
> detect automatically such situations, so one needs to explicitly pass
> the -opaque option when compiling setcore.mli (and only it).
I would not have thought that adding `-opaque` would be sufficient. It should get you
past the compilation of modules which depend on `setcore.mli`, but I would expect
linking to fail still. If that is not the case I guess it should be considered a bug because
in 4.03 referencing an `external` is supposed to force linking of the containing module.
The change was made because the existing behaviour was said to confuse people --
using a normal value from a module caused it to get linked whilst using an external value
didn't.
Regards,
Leo
next prev parent reply other threads:[~2016-04-26 17:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 14:35 Sébastien Hinderer
2016-04-26 16:21 ` Roberto Di Cosmo
2016-04-26 17:16 ` Leo White [this message]
2016-04-27 9:49 ` Roberto Di Cosmo
2016-04-27 11:24 ` Sébastien Hinderer
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=1461690983.2521722.590256673.26E0228E@webmail.messagingengine.com \
--to=leo@lpw25.net \
--cc=caml-list@inria.fr \
/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