From: Michael Browne <mcbrowne@hotmail.com>
To: <caml-list@inria.fr>
Subject: RE: [Caml-list] ocaml-memprof for Mac OS X?
Date: Tue, 8 Jan 2013 17:00:15 -0800 [thread overview]
Message-ID: <BLU171-W361B1621FD4F0023728E2DC22B0@phx.gbl> (raw)
In-Reply-To: <sympa.1357621614.18112.884@inria.fr>
[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]
Actually, now I see that this has nothing to do with Mac OS X. I fail in the same way on a linux system when I try to compile:
type foo = NAME of string
class bar = object (self)
method baz = NAME "test"
end
If baz has an argument, it compiles without any problem. Similarly, if baz returns a Big_int or just an integer, no problem.
Any suggestions?
--Mike
> I'm attempting to use the ocaml-memprof patch for OCaml 3.12.0 on Mac OS X,
> but using the resulting ocamlopt often fails with an assertion:
>
> Fatal error: exception Assert_failure("bytecomp/typeopt.ml", 569, 9)
>
> This is an assertion in record_representation when the type parameter's desc
> field does not match what is expected (Tconstr).
>
> Has anyone gotten ocaml-memprof to work on Mac OSX? Otherwise, is there a
> description of the internals of this patch somewhere and/or a description of
> how the code generation differs between Mac OS X and Linux so I could get some
> idea of where to go from here?
[-- Attachment #2: Type: text/html, Size: 1505 bytes --]
prev parent reply other threads:[~2013-01-09 1:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-08 5:15 mcbrowne
2013-01-09 1:00 ` Michael Browne [this message]
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=BLU171-W361B1621FD4F0023728E2DC22B0@phx.gbl \
--to=mcbrowne@hotmail.com \
--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