[LLVMbugs] [Bug 983] llvm-config build order can break build with parallel build
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Nov 6 09:38:09 PST 2006
http://llvm.org/bugs/show_bug.cgi?id=983
rspencer at x10sys.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
Summary|Tool dependencies are broken|llvm-config build order can
| |break build with parallel
| |build
------- Additional Comments From rspencer at x10sys.com 2006-11-06 11:38 -------
There actually is a problem, but its not exactly the one I thought. If you do this:
make -C lib/Target/CBackend
make -j 3 -C tools
Then you can end up with a broken build. The CBackend library gets updated which
means that llvm-config needs to rebuild. However, that rebuild is normally done
at the end of building lib. With a parallel build llvm-config gets rebuilt at
the same time as other things. However the tools depend on llvm-config to build.
If timing is just right, llvm-config will produce no output (error) and the link
command line for one of the tools will not contain any libraries (or worse)
consequently the tool link either fails outright or you end up with unresolved
symbols (lots of them).
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list