From: Goswin von Brederlow <goswin-v-b@web.de>
To: caml-list@yquem.inria.fr
Subject: Segfault if *.ml is named the same as the pack
Date: Sun, 23 May 2010 10:49:20 +0200 [thread overview]
Message-ID: <87y6fbdmun.fsf@frosties.localdomain> (raw)
Hi,
I have a file Gate/Gate.ml that I compile with
ocamlopt -for-pack Gate -I Gate -c Gate/gate.ml
Calling 'new Gate.Gate.wire' then segfauts.
If I rename Gate/gate.ml to Gate/base.ml everything works. Also if I
compile for bytecode everything works.
Any ideas why?
You can download the source and test yourself from
http://mrvn.homeip.net/ologic/
make && ./ologic segfaults
make MODE=Byte && ./ologic works
You can quit the program by pressing 'q' in the window.
MfG
Goswin
reply other threads:[~2010-05-23 8:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87y6fbdmun.fsf@frosties.localdomain \
--to=goswin-v-b@web.de \
--cc=caml-list@yquem.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