lkml.org 
[lkml]   [2022]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: build failure after merge of the kbuild tree
Hi,

On Fri, 9 Sep 2022 15:24:53 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> On Fri, 9 Sep 2022 14:10:06 +0900 Masahiro Yamada <masahiroy@kernel.org> wrote:
> >
> > Hmm, I am testing allmodconfig in my tree,
> > but it is not reproducible so far.
> >
> > Do you have any more hint?
> > (which commit exactly?, and what build command did you use? etc.)
>
> I was trying your top of tree commit
>
> 99ea8da56dca "kbuild: use objtool-args-y to clean up objtool arguments"
>
> (merged with Linus' tree and some fix patches).
>
> I am doing a cross build with an out of tree object directory:
>
> $ make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- O=../x86_64_allmodconfig -s allmodconfig
> $ make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- O=../x86_64_allmodconfig -j100 -O -s

So it seems to be related to doing an incremental build. I have just
built my "pending-fixes" branch (which I have pushed out to the
linux-next tree on git.kernel.org), then merged your tree and then
built again:

$ make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- O=../obj -j15 -O
make[1]: Entering directory '/home/sfr/kernels/obj'
GEN Makefile
make[1]: Leaving directory '/home/sfr/kernels/obj'
make[1]: Entering directory '/home/sfr/kernels/obj'
UPD include/generated/compile.h
make[1]: Leaving directory '/home/sfr/kernels/obj'
DESCEND objtool
make[2]: *** No rule to make target 'objtool/objtool'. Stop.
make[1]: *** [/home/sfr/kernels/test/Makefile:1361: tools/objtool/objtool] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:222: __sub-make] Error 2

(I actually did this on my laptop rather than my build machine, but the
compiles are still cross compiles - just from arm64 instead of
powerpc64le).
--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-09-09 08:14    [W:0.055 / U:1.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site