| Anonymous | Login | Signup for a new account | 2013-05-23 02:19 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 | ||||||
| 0004657 | OCaml | OCaml general | public | 2008-11-29 15:36 | 2009-06-08 18:13 | ||||||
| Reporter | glondu | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | feature | Reproducibility | always | ||||||
| Status | acknowledged | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 3.11.0+beta | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0004657: Compilation of ocaml fails in labltk with parallel jobs | ||||||||||
| Description | On my computer, the compilation of ocaml always fails when called this way: { ./configure && MAKEFLAGS=-j3 make world; } > /tmp/build.log 2>&1 Attached is the build.log file produced by the command above. I guess it is because of some missing dependency in labltk Makefiles. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0004779) glondu (reporter) 2008-11-29 15:48 |
When redirecting the output, the failure is not systematic. I managed to get a failure log with the following command: { ./configure && MAKEFLAGS=-j3 make world; } 2>&1|tee /tmp/build-failure.log |
|
(0004781) garrigue (manager) 2008-11-30 02:33 |
The Objective Caml distribution has never supported parallel make. You can see it by looking at the target "all" in the main Makefile, which includes no sequencing whatsoever. You can try to use parallel make, but you are on your own when it fails... |
|
(0004782) glondu (reporter) 2008-11-30 15:47 |
If dependencies between targets were properly defined, "all" as it is now doesn't startle me (but of course, it wouldn't do the same as "world"). Nonetheless, the explicit sequencing in other targets (world, coreboot, etc.) suggests some support for parellel make. And it seems to me that ocamlbuild also supports parallel builds. Do you have any idea on how hard it would be to make OCaml parallel-build-safe? |
|
(0004787) doligez (manager) 2008-12-03 14:16 |
It's not hard to twiddle the makefiles to get a parallel make to work, but it's very hard to have any level of confidence about the parallel-safety. I don't know if there are tools to analyze makefiles for this. So maybe someday our makefiles will be parallelizable but don't hold your breath. |
|
(0004984) pipping (reporter) 2009-06-07 11:08 |
This is a duplicate of bug 0004243. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2008-11-29 15:36 | glondu | New Issue | |
| 2008-11-29 15:36 | glondu | File Added: build.log | |
| 2008-11-29 15:48 | glondu | Note Added: 0004779 | |
| 2008-11-29 15:48 | glondu | File Added: build-failure.log | |
| 2008-11-30 02:33 | garrigue | Note Added: 0004781 | |
| 2008-11-30 15:47 | glondu | Note Added: 0004782 | |
| 2008-12-03 14:16 | doligez | Note Added: 0004787 | |
| 2008-12-03 14:16 | doligez | Severity | major => feature |
| 2008-12-03 14:16 | doligez | Status | new => acknowledged |
| 2009-06-07 11:08 | pipping | Note Added: 0004984 | |
| 2009-06-08 18:13 | doligez | Relationship added | duplicate of 0004243 |
| Copyright © 2000 - 2011 MantisBT Group |