* [bug report] selftests: futex: warning during build with multiple jobs
@ 2022-03-13 16:09 Muhammad Usama Anjum
2022-03-22 20:46 ` Shuah Khan
0 siblings, 1 reply; 2+ messages in thread
From: Muhammad Usama Anjum @ 2022-03-13 16:09 UTC (permalink / raw)
To: KERNEL SELFTEST FRAMEWORK
Cc: usama.anjum, Shuah Khan,
kernelci@groups.io >> "kernelci@groups.io",
Collabora Kernel ML
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.
--
Muhammad Usama Anjum
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [bug report] selftests: futex: warning during build with multiple jobs
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
0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2022-03-22 20:46 UTC (permalink / raw)
To: Muhammad Usama Anjum, KERNEL SELFTEST FRAMEWORK
Cc: Shuah Khan,
kernelci@groups.io >> "kernelci@groups.io",
Collabora Kernel ML, Shuah Khan
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-22 20:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox