Re: [tip: locking/futex] selftests: kselftest: Create ksft_print_dbg_msg()
From: Mark Brown
Date: Thu Sep 25 2025 - 07:48:01 EST
On Sat, Sep 20, 2025 at 04:27:55PM -0000, tip-bot2 for André Almeida wrote:
> The following commit has been merged into the locking/futex branch of tip:
>
> Commit-ID: f2662ec26b26adb71783fa5e5ee75aff6f18a940
> Gitweb: https://git.kernel.org/tip/f2662ec26b26adb71783fa5e5ee75aff6f18a940
> Author: André Almeida <andrealmeid@xxxxxxxxxx>
> AuthorDate: Wed, 17 Sep 2025 18:21:40 -03:00
> Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> CommitterDate: Sat, 20 Sep 2025 18:11:53 +02:00
>
> selftests: kselftest: Create ksft_print_dbg_msg()
>
> Create ksft_print_dbg_msg() so testers can enable extra debug messages
> when running a test with the flag -d.
I'm seeing build failures on a wide range of the selftests in -next due
to this patch. The build fails with:
aarch64-linux-gnu-gcc -fno-asynchronous-unwind-tables -fno-ident -s -Os -nostdli
b \
-include ../../../../include/nolibc/nolibc.h -I../..\
-static -ffreestanding -Wall za-fork.c /build/stage/build-work/kselftest
/arm64/fp/za-fork-asm.o -o /build/stage/build-work/kselftest/arm64/fp/za-fork
In file included from za-fork.c:12:
../../kselftest.h:108:8: error: unknown type name ‘bool’
108 | static bool ksft_debug_enabled;
| ^~~~
../../kselftest.h:1:1: note: ‘bool’ is defined in header ‘<stdbool.h>’; this is
probably fixable by adding ‘#include <stdbool.h>’
+++ |+#include <stdbool.h>
1 | /* SPDX-License-Identifier: GPL-2.0 */
I'm using gcc-14, full build log at:
https://builds.sirena.org.uk/f2662ec26b26adb71783fa5e5ee75aff6f18a940/arm64/defconfig/build.log
Attachment:
signature.asc
Description: PGP signature