* Segfault if *.ml is named the same as the pack
@ 2010-05-23 8:49 Goswin von Brederlow
0 siblings, 0 replies; only message in thread
From: Goswin von Brederlow @ 2010-05-23 8:49 UTC (permalink / raw)
To: caml-list
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-23 8:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-23 8:49 Segfault if *.ml is named the same as the pack Goswin von Brederlow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox