Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005519OCamlback end (clambda to assembly)public2012-03-05 17:042012-03-06 09:56
Assigned To 
StatusclosedResolutionunable to reproduce 
PlatformAmd64OSLinuxOS Version 3.2.0-1-amd64
Product Version3.12.1+dev 
Target VersionFixed in Version 
Summary0005519: Compilation with ocamlopt crashes: Fatal error: Cmmgen.transl_prim_1
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
[ 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
ocamlfind ocamlopt -I ../../src/equeue -I ../../src/netsys -package "unix unix ssl" -c
>> 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'
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0005521closed Fatal error: Cmmgen.transl_prim_1 

-  Notes
mehdi (reporter)
2012-03-05 17:51

Can you please tell us what SVN revision of OCaml you are using?
guesdon (manager)
2012-03-05 18:47

Rev 12191.
mehdi (reporter)
2012-03-05 19:02

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.
guesdon (manager)
2012-03-05 19:23

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.

- Issue History
Date Modified Username Field Change
2012-03-05 17:04 guesdon New Issue
2012-03-05 17:51 mehdi Note Added: 0007002
2012-03-05 18:47 guesdon Note Added: 0007003
2012-03-05 19:02 mehdi Note Added: 0007004
2012-03-05 19:23 guesdon Note Added: 0007005
2012-03-05 19:23 guesdon Status new => closed
2012-03-05 19:23 guesdon Resolution open => unable to reproduce
2012-03-06 09:56 garrigue Relationship added has duplicate 0005521
2017-02-23 16:35 doligez Category OCaml backend (code generation) => Back end (clambda to assembly)
2017-02-23 16:44 doligez Category Back end (clambda to assembly) => back end (clambda to assembly)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker