[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #31847] Random errors with parallel build
From: |
anonymous |
Subject: |
[bug #31847] Random errors with parallel build |
Date: |
Mon, 24 Oct 2011 17:08:20 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.22) Gecko/2011090705 Firefox/3.6.22ms1 |
Follow-up Comment #4, bug #31847 (project make):
Providing a specific target for each .o seems to workaround the issue. So the
failing example contains this rule...
# Link apps
app%: app%.o lib.a
${CC} ${@:app%=app%.o} lib.a -o $@
The problem is that app1 may be linked before app1.o have been created. The
workaround is to add an explicit target for app1.o...
app1.o:
I think this workaround might be effective because it prevents the file from
being treated as intermediate. The manual says this, "a file cannot be
intermediate if it is mentioned in the makefile as a target or prerequisite."
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31847>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #31847] Random errors with parallel build,
anonymous <=