From: Shuah Khan <skhan@linuxfoundation.org>
To: Muhammad Usama Anjum <usama.anjum@collabora.com>,
KERNEL SELFTEST FRAMEWORK <linux-kselftest@vger.kernel.org>
Cc: Shuah Khan <shuah@kernel.org>,
"kernelci@groups.io >> \"kernelci@groups.io\""
<kernelci@groups.io>, Collabora Kernel ML <kernel@collabora.com>,
Shuah Khan <skhan@linuxfoundation.org>
Subject: Re: [bug report] selftests: futex: warning during build with multiple jobs
Date: Tue, 22 Mar 2022 14:46:15 -0600 [thread overview]
Message-ID: <73470cb9-bb3c-eb4a-a1af-d15f6e15a60b@linuxfoundation.org> (raw)
In-Reply-To: <8907d4a9-2a3f-3442-2c5e-6c34f196d2a8@collabora.com>
On 3/13/22 10:09 AM, Muhammad Usama Anjum wrote:
> Hi,
>
> On linux-next
> cd tools/testing/selftests/futex && make clean -j 32
> gives warning
> make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent
> make rule.
> The full logs with with different reproduction steps can be found here:
> https://storage.staging.kernelci.org/next/master/next-20220310/x86_64/x86_64_defconfig+kselftest/gcc-10/logs/kselftest.log.
> Usually this type of warning shouldn't come when $MAKE is being used
> instead of make in Makefile.
>
> Maybe `define CLEAN` inside override construct defined in parent
> makefile is not getting jobsever information when child make process
> executes. I've enabled verbose mode and tried with other makefile flags
> (-p, -d etc) as well. Documentation mentions that if make is unable to
> identify the child process correctly, this warning will appear.
>
> Please share if you have any thoughts on it.
>
futex test defines its own clean to catch all the sub-directories
overriding common clean. Changing it not override won't do the
clean properly.
Propose a fix that works for -j build as well keeping override in
place.
thanks,
-- Shuah
prev parent reply other threads:[~2022-03-22 20:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-13 16:09 [bug report] selftests: futex: warning during build with multiple jobs Muhammad Usama Anjum
2022-03-22 20:46 ` Shuah Khan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=73470cb9-bb3c-eb4a-a1af-d15f6e15a60b@linuxfoundation.org \
--to=skhan@linuxfoundation.org \
--cc=kernel@collabora.com \
--cc=kernelci@groups.io \
--cc=linux-kselftest@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=usama.anjum@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox