https://bugzilla.novell.com/show_bug.cgi?id=780612 https://bugzilla.novell.com/show_bug.cgi?id=780612#c2 --- Comment #2 from Tetsuo Handa <from-suse@I-love.SAKURA.ne.jp> 2012-09-17 11:20:13 UTC --- (In reply to comment #1)
I have seen this couple of times already, but I still have no idea what causes this.
Parallel build (i.e. giving -j$NUM (where $NUM > 1)) is causing this problem. In fact, giving -j1 solves this problem. Since Makefile can describe only "whether a file exists or not" rather than "whether a file is executable or not", make process is allowed to continue as soon as scripts/basic/fixdep was created by ld process. I think ways to fix this problem is one of below. (1) Use -j1 until making scripts/basic/fixdep and then continue with -j$NUM afterwards. (2) Modify make rules for scripts/basic/fixdep to do like gcc -o scripts/basic/fixdep.tmp scripts/basic/fixdep.c mv scripts/basic/fixdep.tmp scripts/basic/fixdep in order to pause other make processes waiting for scripts/basic/fixdep to be written. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.