Re: Check handling of kernel build output directory

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Markus Elfring <Markus.Elfring@...>
Cc: <linux-kernel@...>
Date: Saturday, October 27, 2007 - 3:23 am

Hi Markus.

Please do not edit cc: and to: - it is easy to miss out a mail on lkml.

On Sat, Oct 27, 2007 at 07:07:55AM +0200, Markus Elfring wrote:

From the above we can see that two make's are running in parallel here
where only one should run.
I have seen this before but only in cases where you specified several targets
on the make commandline - which you do not do in the make invocation.
Just to check it you could do a:
$(warning CMD=$(MAKECMDFLAGS)) around the place where SUBARCH is assigned in the
top-level Makefile.

Does the issue by any chance go away if you refrain from the
command && command && command && command && command && command
way of doing things?

The shell _shall_ serialize it - but..



If you look at the top-level Makefile you will see:

        @echo '  Using $(srctree) as source for kernel'
        $(Q)if [ -f $(srctree)/.config -o -d $(srctree)/include/config ]; then \
                echo "  $(srctree) is not clean, please run 'make mrproper'";\
                echo "  in the '$(srctree)' directory.";\
                /bin/false; \
        fi;

So you either a .config file or the config directory. Older kernels also tested
that the asm symlink in include/ was not present.
You should check that all these indeed are gone when you do "make mrproper" - you
can have been hit by a privilige issue too. But that should not be the case if
you copied the full tree to another place (and of course did not use cp -a).
You did this - yes? And the result?

If you now say this is a SUSE specific problem then I suggest asking SUSE for help.
At least I have not built a distribution kernel the last year or more - and I
do not follow what kind of patches they apply.

	Sam
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Check handling of kernel build output directory, Markus Elfring, (Fri Oct 26, 1:31 pm)
Re: Check handling of kernel build output directory, Jan Engelhardt, (Sat Oct 27, 7:33 am)
Re: Check handling of kernel build output directory, Markus Elfring, (Sat Oct 27, 8:41 am)
Re: Check handling of kernel build output directory, Sam Ravnborg, (Fri Oct 26, 3:05 pm)
Re: Check handling of kernel build output directory, Markus Elfring, (Fri Oct 26, 3:25 pm)
Re: Check handling of kernel build output directory, Sam Ravnborg, (Fri Oct 26, 3:47 pm)
Re: Check handling of kernel build output directory, Markus Elfring, (Sat Oct 27, 1:07 am)
Re: Check handling of kernel build output directory, Sam Ravnborg, (Sat Oct 27, 3:23 am)
Re: Check handling of kernel build output directory, Markus Elfring, (Sat Oct 27, 12:00 pm)
Re: Check handling of kernel build output directory, Markus Elfring, (Sat Oct 27, 8:30 am)
Re: Check handling of kernel build output directory, Vegard Nossum, (Fri Oct 26, 1:36 pm)
Re: Check handling of kernel build output directory, Markus Elfring, (Fri Oct 26, 2:40 pm)
Re: Check handling of kernel build output directory, Markus Elfring, (Fri Oct 26, 3:05 pm)
Re: Check handling of kernel build output directory, Jan Engelhardt, (Sat Oct 27, 7:32 am)
Re: Check handling of kernel build output directory, Sam Ravnborg, (Sat Oct 27, 8:21 am)