linux-next: build failure after merge of the tip tree
Hi all,
After merging the tip tree, today's linux-next build (powerpc64le perf) failed like this:
LINK /home/sfr/next/perf/fixdep/bin/sh: 1: /home/sfr/next/perf//fixdep: Permission denied tools/build/Makefile.build:91: recipe for target '/home/sfr/next/perf/pmu-events/jevents.o' failed
$ ls -l /home/sfr/next/perf/fixdep -rwxr-xr-x 1 sfr users 71104 Dec 7 12:26 /home/sfr/next/perf/fixdep
I am not sure what caused this, but redoing the build succeeded, so I have just filed this report and left it for today.
Signature · 2 lines
Cheers, Stephen Rothwell
This bug/race might have been introduced in the latest tooling bits:
34c4a42791bb Merge tag 'perf-core-for-mingo-20161205' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Which included these build system changes:
triton:~/tip> gll 78987584de42..perf/core34c4a42791bb Merge tag 'perf-core-for-mingo-20161205' ofgit://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core bec60e50af83 perf annotate: Show raw form for jump instruction with indirect target d4dcadec43de perf tools: Add non config targets207da4739e3e perf tools: Cleanup build directory before each test 0b4d4b076251 perf tools: Move python/perf.so target into rules area 5c319a67b13d perf tools: Move install-gtk target into rules area 2fedf79b69cf tools build: Move tabs to spaces where suitable a5ba0a1a5af3 tools build: Make the .cmd file more readable edd695b032ba perf clang: Compile BPF script using builtin clang support 5e08a76525b8 perf clang: Support compile IR to BPF object and add testcase e67d52d411c3 perf clang: Update test case to use real BPF script a9495fe9dc63 perf clang: Allow passing CFLAGS to builtin clang 77dfa84a843c perf clang: Use real file system for #include 00b86691c77c perf clang: Add builtin clang support ant test case d58ac0bf8d1e perf build: Add clang and llvm compile and linking support c7fb4f62e2a9 tools build: Add feature detection for clangcb40d55b595c tools build: Add feature detection for LLVM2bd42de0e196 perf llvm: Extract helpers in llvm-utils.c8ad85e9e6fda perf tools: Pass context to perf hook functions baa1973ebcf6 tools build: Fix objtool build with clang1cd6472e3f8d tools build: Make fixdep parsing wait for last target
Thanks,
Ingo
Quoted 14 lines · Stephen Rothwell
Hi all,
After merging the tip tree, today's linux-next build (powerpc64le perf) failed like this:
LINK
/home/sfr/next/perf/fixdep/bin/sh: 1:/home/sfr/next/perf//fixdep: Permission deniedtools/build/Makefile.build:91: recipe for target '/home/sfr/next/perf/pmu-events/jevents.o' failed$ ls -l /home/sfr/next/perf/fixdep -rwxr-xr-x 1 sfr users 71104 Dec 7 12:26 /home/sfr/next/perf/fixdepI am not sure what caused this, but redoing the build succeeded, so I have just filed this report and left it for today.
On Wed, Dec 07, 2016 at 08:45:14AM +0100, Ingo Molnar wrote:
SNIP
Quoted 11 lines · Stephen Rothwell
Quoted 10 lines
Hi all,
After merging the tip tree, today's linux-next build (powerpc64le perf) failed like this:
LINK
/home/sfr/next/perf/fixdep/bin/sh: 1:/home/sfr/next/perf//fixdep: Permission deniedtools/build/Makefile.build:91: recipe for target '/home/sfr/next/perf/pmu-events/jevents.o' failed
Quoted 5 lines
Quoted 5 lines
$ ls -l /home/sfr/next/perf/fixdep -rwxr-xr-x 1 sfr users 71104 Dec 7 12:26 /home/sfr/next/perf/fixdepI am not sure what caused this, but redoing the build succeeded, so I have just filed this report and left it for today.
this seems to be the rare race issue caused by missing fixdep dependency, caused probably by recompiling of fixdep because of its change in the merge
Arnaldo already carries a fix for this in his latest perf/core, where we moved the fixdep compilation on top of everything to kill any future race due to missing fixdep dependency
thanks,
jirka
Em Wed, Dec 07, 2016 at 09:12:15AM +0100, Jiri Olsa escreveu:
Quoted 21 lines · Ingo Molnar
SNIP
Quoted 11 lines · Stephen Rothwell
Quoted 10 lines
Hi all,
After merging the tip tree, today's linux-next build (powerpc64le perf) failed like this:
LINK
/home/sfr/next/perf/fixdep/bin/sh: 1:/home/sfr/next/perf//fixdep: Permission deniedtools/build/Makefile.build:91: recipe for target '/home/sfr/next/perf/pmu-events/jevents.o' failedQuoted 5 lines
Quoted 5 lines
$ ls -l /home/sfr/next/perf/fixdep -rwxr-xr-x 1 sfr users 71104 Dec 7 12:26 /home/sfr/next/perf/fixdepI am not sure what caused this, but redoing the build succeeded, so I have just filed this report and left it for today.
Quoted 6 lines
this seems to be the rare race issue caused by missing fixdep dependency, caused probably by recompiling of fixdep because of its change in the merge
Arnaldo already carries a fix for this in his latest perf/core, where we moved the fixdep compilation on top of everything to kill any future race due to missing fixdep dependency
I'll push it today, will stop processing other stuff now and prepare a pull request,
- Arnaldo
Quoted 2 lines
thanks,
jirka
Quoted 25 lines · Arnaldo Carvalho de Melo
Em Wed, Dec 07, 2016 at 09:12:15AM +0100, Jiri Olsa escreveu:
Quoted 24 lines · Ingo Molnar
SNIP
Quoted 11 lines · Stephen Rothwell
Quoted 10 lines
Hi all,
After merging the tip tree, today's linux-next build (powerpc64le perf) failed like this:
LINK
/home/sfr/next/perf/fixdep/bin/sh: 1:/home/sfr/next/perf//fixdep: Permission deniedtools/build/Makefile.build:91: recipe for target '/home/sfr/next/perf/pmu-events/jevents.o' failedQuoted 5 lines
Quoted 5 lines
$ ls -l /home/sfr/next/perf/fixdep -rwxr-xr-x 1 sfr users 71104 Dec 7 12:26 /home/sfr/next/perf/fixdepI am not sure what caused this, but redoing the build succeeded, so I have just filed this report and left it for today.
this seems to be the rare race issue caused by missing fixdep dependency, caused probably by recompiling of fixdep because of its change in the merge
Quoted 6 lines
Quoted 3 lines
Arnaldo already carries a fix for this in his latest perf/core, where we moved the fixdep compilation on top of everything to kill any future race due to missing fixdep dependency
I'll push it today, will stop processing other stuff now and prepare a pull request,
Thanks - I pushed the fixes towards linux-next, so tomorrow's (today's) linux-next build should not trigger this build race.
Thanks,
Ingo
Hi all,
Quoted 8 lines · On Wed, 7 Dec 2016 19:56:32 +0100 Ingo Molnar <[email protected]> wrote:
Quoted 2 lines · Arnaldo Carvalho de Melo
I'll push it today, will stop processing other stuff now and prepare a pull request,
Thanks - I pushed the fixes towards linux-next, so tomorrow's (today's) linux-next build should not trigger this build race.
Thanks for the quick response.
Signature · 2 lines
Cheers, Stephen Rothwell