New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ocamlnat crashes on startup #7254
Comments
Comment author: @hannesm after doing a gmake bootstrap, I get a different error (can't find Topdirs): File "none", line 1:
|
Comment author: @gasche Note that ocamlnat is not officially supported: pull requests to fix it are welcome, but for now there is no guarantee that it will be working -- as you can observe. I think that Thomas "trefis" Refis would be the right person to ask to get it working again, or maybe Jérémie Dimino. |
Comment author: @gasche Also, before jumping to "ocamlnat development", I should have thought about the more likely issues. Have you tried setting "-I stdlib -nostdlib -noinit"? See the "runtop" target in the Makefile that I added for conveniently running a locally-built bytecode toplevel -- feel free to duplicate them into a runnattop target. |
Comment author: @hannesm the makefile target natruntop actually works (documentation about 'how to build and use ocamlnat' might help (sorry if there's some, I wasn't able to find any; did a git grep ocamlnat)?) |
Comment author: @damiendoligez I think you have to |
Comment author: @gasche I'm leaving the issue open because I want to document the fact that:
|
Comment author: @alainfrisch Reducing Severity, since this is only about documentation (of a non-supported tool!). |
Comment author: @mshinwell Superceded by #1096 which addresses the documentation issue. |
If anyone's having the same issue, it can be caused by the presence of |
Original bug ID: 7254
Reporter: @hannesm
Assigned to: @mshinwell
Status: resolved (set by @mshinwell on 2017-03-10T14:56:00Z)
Resolution: duplicate
Priority: normal
Severity: text
Platform: UNIX
OS: FreeBSD
OS Version: CURRENT
Version: 4.03.0
Category: documentation
Monitored by: @diml @hcarty
Bug description
executing ./ocamlnat leads to exception:
Fatal error: exception Cmi_format.Error(_)
Steps to reproduce
check out the 4.03 branch (525799b);
./configure ; gmake world.opt ; gmake ocamlnat
./ocamlnat
Additional information
I also tried trunk/master, and got the same result (a crashing ocamlnat)
The text was updated successfully, but these errors were encountered: