Skip to content
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

Compilation with ocamlopt crashes: Fatal error: Cmmgen.transl_prim_1 #5519

Closed
vicuna opened this issue Mar 5, 2012 · 4 comments
Closed

Compilation with ocamlopt crashes: Fatal error: Cmmgen.transl_prim_1 #5519

vicuna opened this issue Mar 5, 2012 · 4 comments

Comments

@vicuna
Copy link

vicuna commented Mar 5, 2012

Original bug ID: 5519
Reporter: @zoggy
Status: closed (set by @zoggy on 2012-03-05T18:23:40Z)
Resolution: unable to duplicate
Priority: high
Severity: crash
Platform: Amd64
OS: Linux
OS Version: 3.2.0-1-amd64
Version: 3.12.1+dev
Category: back end (clambda to assembly)
Has duplicate: #5521
Monitored by: mehdi @glondu

Bug description

uname -a

Linux alcazar 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/Linux

ocamlopt -version

3.12.2+dev6 (2012-01-10)

When I compile ocamlnet-3.5.1, make opt ends with the following error:
ocamlfind ocamlopt -I ../../src/equeue -I ../../src/netsys -package "unix unix ssl" -c ssl_exts.ml
[ 1 -eq 0 ] || ocamlfind ocamlopt -I ../../src/equeue -I ../../src/netsys -package "unix unix ssl" -c -p -o basename ssl_exts.cmx .cmx.p.cmx ssl_exts.ml
ocamlfind ocamlopt -I ../../src/equeue -I ../../src/netsys -package "unix unix ssl" -c uq_ssl.ml

Fatal error: Cmmgen.transl_prim_1
Fatal error: exception Misc.Fatal_error
make[1]: *** [uq_ssl.cmx] Error 2
make[1]: Leaving directory `/home/guesdon/compils/ocamlnet-3.5.1/src/equeue-ssl'

@vicuna
Copy link
Author

vicuna commented Mar 5, 2012

Comment author: mehdi

Can you please tell us what SVN revision of OCaml you are using?

@vicuna
Copy link
Author

vicuna commented Mar 5, 2012

Comment author: @zoggy

Rev 12191.

@vicuna
Copy link
Author

vicuna commented Mar 5, 2012

Comment author: mehdi

Just a wild guess: looking at your uname -a output, I beleive you're using Debian testing (or a bit laggish Debian unstable). If my theory is correct, could you please test compiling ocamlnet again using ocaml from experimental? It is a snapshot from SVN r12112.

@vicuna
Copy link
Author

vicuna commented Mar 5, 2012

Comment author: @zoggy

It compiles fine with r12112... and now also with 12191 :-/
I re-compiled and reinstalled the libraries I needed, so this could have been caused by a not up-to-date library when I compiled ocamlnet.
I can't reproduce it now :-(
I close the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant