| Anonymous | Login | Signup for a new account | 2013-05-25 12:15 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 | |||||||
| 0005696 | OCaml | OCaml tools (ocaml{lex,yacc,dep,browser}) | public | 2012-07-23 03:29 | 2012-07-23 15:48 | |||||||
| Reporter | gerd | |||||||||||
| Assigned To | lefessan | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
| Status | resolved | Resolution | fixed | |||||||||
| Platform | OS | OS Version | ||||||||||
| Product Version | 4.00.0+beta2/+rc1 | |||||||||||
| Target Version | Fixed in Version | 4.00.0+dev | ||||||||||
| Summary | 0005696: ocamldep -native does not print bytecode deps and confuses omake | |||||||||||
| Description | I don't know whether this should be fixed in ocaml or omake. What I've observed is that "ocamldep -native" no longer prints bytecode deps (in contrast to 3.12). Some omake builds are now broken (this only affects the mode when OCAMLDEP_MODULES_ENABLED=false in OMakefile - but this is frequent as the mode using -modules is still "more" broken). Apparently, omake needs the deps for a mixed native/bytecode build. Taken literally, this is a bug in ocaml, "The flag -native causes dependencies on native compiled files (.cmx) to be generated instead of on .cmo files. (This flag makes no difference if all source files have explicit .mli interface files.)" (manual). The spec did not include that the cmo deps are entirely omitted. But, of course, the thinking about that might have changed (but in this case the manual should be updated). Btw, the workaround is to set OCAMLDEPFLAGS=<empty> in OMakefile (defaults to -native if native code is built). | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Notes |
|
|
(0007795) lefessan (developer) 2012-07-23 13:24 |
Hi, this is indeed an unwanted change in the specification. We are going to check if it is still time to fix it before the release (there are just two lines to change in ocamldep.ml, but it's a bit late...) |
|
(0007796) lefessan (developer) 2012-07-23 15:48 |
Fixed in commit 12759. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-07-23 03:29 | gerd | New Issue | |
| 2012-07-23 13:24 | lefessan | Note Added: 0007795 | |
| 2012-07-23 13:24 | lefessan | Assigned To | => lefessan |
| 2012-07-23 13:24 | lefessan | Status | new => confirmed |
| 2012-07-23 15:48 | lefessan | Note Added: 0007796 | |
| 2012-07-23 15:48 | lefessan | Status | confirmed => resolved |
| 2012-07-23 15:48 | lefessan | Fixed in Version | => 4.00.0+dev |
| 2012-07-23 15:48 | lefessan | Resolution | open => fixed |
| Copyright © 2000 - 2011 MantisBT Group |