| Anonymous | Login | Signup for a new account | 2013-06-19 08:22 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0004574 | OCaml | OCamlbuild (the tool) | public | 2008-07-01 13:24 | 2013-06-16 21:25 | ||||||
| Reporter | Radzevich Belevich | ||||||||||
| Assigned To | xclerc | ||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||
| Status | assigned | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | |||||||||||
| Target Version | 4.02.0+dev | Fixed in Version | |||||||||
| Summary | 0004574: Profiling | ||||||||||
| Description | [test]$ ls mod mod.mlpack [test]$ cat mod.mlpack Base M1 [test]$ ls mod base.ml m1.ml _tags [test]$ cat mod/base.ml let register o = print_int o#id [test]$ cat m1.ml class o = object method id = Random.int 10000 end let _ = begin Random.self_init(); Base.register (new o); end [test]$ ocamlbuild mod.p.cmx + touch mod.mli ; if /usr/local/bin/ocamlopt.opt -pack -I mod mod/base.p.cmx mod/m1.p.cmx -o mod.p.cmx ; then rm -f mod.mli ; else rm -f mod.mli ; exit 1; fi File "mod.p.cmx", line 1, characters 0-1: Error: File mod/m1.p.cmx was compiled without access to the .cmx file for module Base, which was produced by `ocamlopt -for-pack'. Please recompile mod/m1.p.cmx with the correct `-I' option so that Base.cmx is found. ======================================= Ocamlbuild compile m1.cmx with base.cmi from compilation of base.cmo. While compile base.p.cmx it's produce base.p.cmi, but ocamlopt get the base.cmi - it's wrong. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2008-07-01 13:24 | Radzevich Belevich | New Issue | |
| 2008-08-01 16:13 | xleroy | Assigned To | => ertai |
| 2008-08-01 16:13 | xleroy | Status | new => assigned |
| 2008-08-01 16:13 | xleroy | Description Updated | |
| 2010-07-22 11:45 | ertai | Assigned To | ertai => xclerc |
| 2012-02-02 15:17 | protz | Category | OCamlbuild => OCamlbuild (the tool) |
| 2012-07-06 16:39 | doligez | Target Version | => 4.01.0+dev |
| 2012-07-06 16:39 | doligez | Description Updated | View Revisions |
| 2012-07-31 13:36 | doligez | Target Version | 4.01.0+dev => 4.00.1+dev |
| 2012-09-10 14:05 | frisch | Target Version | 4.00.1+dev => 4.00.2+dev |
| 2013-06-16 18:47 | gasche | Note Added: 0009516 | |
| 2013-06-16 18:47 | gasche | Target Version | 4.00.2+dev => 4.02.0+dev |
| 2013-06-16 21:25 | gasche | Severity | major => minor |
| Copyright © 2000 - 2011 MantisBT Group |