Summary: | sci-electronics/iverilog failt to compile when usign parallel compile (-j2) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Piotr Stachura <albert1> |
Component: | New packages | Assignee: | The Soldering-Iron Brotherhood <sci-electronics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Proposed patch
Fixe for iverilog-0.9.1.ebuild to fix parallel make issue in Makefile.in |
Description
Piotr Stachura
2009-11-25 08:25:00 UTC
Created attachment 211125 [details, diff]
Proposed patch
Force make to use "-j1"
While I can not reproduce the mentioned problem on some different machines with -j2..-j5 there really is a problem in the Makefile.in. Line 74 from Makefiel.in reads all: dep config.h _pli_types.h version.h ivl In a parallel make it starts the creation of version.h and the compilation of all in parallel. Some of the sources needs version.h (see reported error). The following patch request for all sources (hopefully), that version.h gets build 'before' any compilation of *.cc files to *.o. That fixes the problem for me, but maybe there are some more problems.... Created attachment 222045 [details, diff]
Fixe for iverilog-0.9.1.ebuild to fix parallel make issue in Makefile.in
It was fixed by an -j in versions 0.9.1 and 0.9.3. I've added 0.9.5 today without emake -j1, it doesn't exhibit this problem - so far. |