[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANpmjNMEyvL3SKMF3Za7vgQ=zYujDmJiR_s0KUcyC-3EHMdhsw@mail.gmail.com>
Date: Mon, 26 Jan 2026 12:54:24 +0100
From: Marco Elver <elver@...gle.com>
To: kernel test robot <oliver.sang@...el.com>
Cc: oe-lkp@...ts.linux.dev, lkp@...el.com, linux-kernel@...r.kernel.org,
x86@...nel.org, Peter Zijlstra <peterz@...radead.org>
Subject: Re: [tip:locking/core] [cleanup] 3931d4b980: ktools.maple.make.fail
On Mon, 26 Jan 2026 at 08:37, kernel test robot <oliver.sang@...el.com> wrote:
> Hello,
>
> kernel test robot noticed "ktools.maple.make.fail" on:
>
> commit: 3931d4b980398012b66c8ff203bfa2ab3df71a71 ("cleanup: Basic compatibility with context analysis")
> https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git locking/core
>
> in testcase: ktools
> version:
> with following parameters:
>
> test: radix-tree/maple
>
> config: x86_64-rhel-9.4-func
> compiler: gcc-14
> test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-9980XE CPU @ 3.00GHz (Skylake) with 32G memory
>
> (please refer to attached dmesg/kmsg for entire log/backtrace)
>
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <oliver.sang@...el.com>
> | Closes: https://lore.kernel.org/oe-lkp/202601261546.d7ae2447-lkp@intel.com
>
> KERNEL SELFTESTS: linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-9.4-func-3931d4b980398012b66c8ff203bfa2ab3df71a71
>
> Generating generated/map-shift.h
> Generating generated/bit-length.h
> cp ../shared/autoconf.h generated/autoconf.h
> cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o main.o main.c
> cc -c -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined ../shared/xarray-shared.c -o xarray-shared.o
> sed -e 's/^static //' -e 's/__always_inline //' -e 's/inline //' < ../../../lib/radix-tree.c > radix-tree.c
> cc -I../shared -I. -I../../include -I../../arch/x86/include -I../../../lib -g -Og -Wall -D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o radix-tree.o radix-tree.c
> In file included from ../shared/linux/cleanup.h:2,
> from ../shared/linux/../../../../include/linux/idr.h:18,
> from ../shared/linux/idr.h:5,
> from radix-tree.c:18:
> ../shared/linux/../../../../include/linux/idr.h: In function ‘class_idr_alloc_destructor’:
> ../shared/linux/../../../../include/linux/cleanup.h:283:9: error: expected declaration specifiers before ‘__no_context_analysis’
> 283 | __no_context_analysis \
> | ^~~~~~~~~~~~~~~~~~~~~
Sigh, apparently user space code in tools/ now liberally uses headers
from include/linux/ directly. E.g. see previous fixup be8254f69446
("radix-tree: add missing cleanup.h"). I guess we have to somehow
import some of these definitions into tools/testing/shared/linux until
it works.
Powered by blists - more mailing lists