| Anonymous | Login | Signup for a new account | 2013-06-20 01:34 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 | |||
| 0005165 | OCaml | OCamlbuild (the tool) | public | 2010-10-16 00:05 | 2012-03-24 15:01 | |||
| Reporter | hcarty | |||||||
| Assigned To | xclerc | |||||||
| Priority | normal | Severity | minor | Reproducibility | always | |||
| Status | closed | Resolution | fixed | |||||
| Platform | OS | OS Version | ||||||
| Product Version | 3.12.0 | |||||||
| Target Version | Fixed in Version | 3.12.1+dev | ||||||
| Summary | 0005165: ocamlbuild does not provide "-thread" option to ocamlfind when compiling with ocamlfind | |||||||
| Description | The command ocamlfind -tag thread -use-ocamlfind -pkg threads ... should call ocamlfind with "-thread" or "-vmthread", otherwise the threads package can not be used. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Notes |
|
|
(0005686) hcarty (reporter) 2010-10-19 23:22 |
An example foo.ml: open Thread let () = print_endline "Hello world" Compile with: ocamlbuild -use-ocamlfind -pkg threads foo.native or ocamlbuild -use-ocamlfind -pkg threads foo.byte or ocamlbuild -use-ocamlfind -pkg threads foo.inferred.mli to see the problem. It looks like the "-thread" option should be passed to ocamlfind for linking and inferring the interface. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-10-16 00:05 | hcarty | New Issue | |
| 2010-10-19 23:22 | hcarty | Note Added: 0005686 | |
| 2010-11-29 11:09 | xclerc | Status | new => resolved |
| 2010-11-29 11:09 | xclerc | Fixed in Version | => 3.12.1+dev |
| 2010-11-29 11:09 | xclerc | Resolution | open => fixed |
| 2010-11-29 11:09 | xclerc | Assigned To | => xclerc |
| 2012-02-02 15:17 | protz | Category | OCamlbuild => OCamlbuild (the tool) |
| 2012-03-24 15:01 | xleroy | Status | resolved => closed |
| Copyright © 2000 - 2011 MantisBT Group |