* Build failure in v5.15.133
@ 2023-09-27 13:37 Guenter Roeck
2023-09-28 11:04 ` Sasha Levin
2023-09-29 15:48 ` Nick Desaulniers
0 siblings, 2 replies; 3+ messages in thread
From: Guenter Roeck @ 2023-09-27 13:37 UTC (permalink / raw)
To: stable; +Cc: Greg Kroah-Hartman, Rob Clark
Hi,
I see the following build failure with v5.15.133.
Build reference: v5.15.133
Compiler version: aarch64-linux-gcc (GCC) 11.4.0
Assembler version: GNU assembler (GNU Binutils) 2.40
Building arm64:allnoconfig ... passed
Building arm64:tinyconfig ... passed
Building arm64:defconfig ... failed
--------------
Error log:
drivers/interconnect/core.c: In function 'icc_init':
drivers/interconnect/core.c:1148:9: error: implicit declaration of function 'fs_reclaim_acquire' [-Werror=implicit-function-declaration]
1148 | fs_reclaim_acquire(GFP_KERNEL);
| ^~~~~~~~~~~~~~~~~~
drivers/interconnect/core.c:1150:9: error: implicit declaration of function 'fs_reclaim_release' [-Werror=implicit-function-declaration]
1150 | fs_reclaim_release(GFP_KERNEL);
| ^~~~~~~~~~~~~~~~~~
This also affects alpha:allmodconfig and m68k:allmodconfig. The problem
was introduced with 'interconnect: Teach lockdep about icc_bw_lock order'.
#include <linux/sched/mm.h> is missing. Presumably that is included
indirectly in the upstream kernel, but I wasn't able to determine which
commit added it.
Guenter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Build failure in v5.15.133
2023-09-27 13:37 Build failure in v5.15.133 Guenter Roeck
@ 2023-09-28 11:04 ` Sasha Levin
2023-09-29 15:48 ` Nick Desaulniers
1 sibling, 0 replies; 3+ messages in thread
From: Sasha Levin @ 2023-09-28 11:04 UTC (permalink / raw)
To: Guenter Roeck; +Cc: stable, Greg Kroah-Hartman, Rob Clark
On Wed, Sep 27, 2023 at 06:37:10AM -0700, Guenter Roeck wrote:
>Hi,
>
>I see the following build failure with v5.15.133.
>
>Build reference: v5.15.133
>Compiler version: aarch64-linux-gcc (GCC) 11.4.0
>Assembler version: GNU assembler (GNU Binutils) 2.40
>
>Building arm64:allnoconfig ... passed
>Building arm64:tinyconfig ... passed
>Building arm64:defconfig ... failed
>--------------
>Error log:
>drivers/interconnect/core.c: In function 'icc_init':
>drivers/interconnect/core.c:1148:9: error: implicit declaration of function 'fs_reclaim_acquire' [-Werror=implicit-function-declaration]
> 1148 | fs_reclaim_acquire(GFP_KERNEL);
> | ^~~~~~~~~~~~~~~~~~
>drivers/interconnect/core.c:1150:9: error: implicit declaration of function 'fs_reclaim_release' [-Werror=implicit-function-declaration]
> 1150 | fs_reclaim_release(GFP_KERNEL);
> | ^~~~~~~~~~~~~~~~~~
>
>This also affects alpha:allmodconfig and m68k:allmodconfig. The problem
>was introduced with 'interconnect: Teach lockdep about icc_bw_lock order'.
>
>#include <linux/sched/mm.h> is missing. Presumably that is included
>indirectly in the upstream kernel, but I wasn't able to determine which
>commit added it.
Yeah, I added a fixup commit for the next release to address that issue,
thanks for the report!
--
Thanks,
Sasha
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Build failure in v5.15.133
2023-09-27 13:37 Build failure in v5.15.133 Guenter Roeck
2023-09-28 11:04 ` Sasha Levin
@ 2023-09-29 15:48 ` Nick Desaulniers
1 sibling, 0 replies; 3+ messages in thread
From: Nick Desaulniers @ 2023-09-29 15:48 UTC (permalink / raw)
To: Guenter Roeck; +Cc: stable, Greg Kroah-Hartman, Rob Clark, llvm
On Wed, Sep 27, 2023 at 06:37:10AM -0700, Guenter Roeck wrote:
> Hi,
>
> I see the following build failure with v5.15.133.
>
> Build reference: v5.15.133
> Compiler version: aarch64-linux-gcc (GCC) 11.4.0
> Assembler version: GNU assembler (GNU Binutils) 2.40
>
> Building arm64:allnoconfig ... passed
> Building arm64:tinyconfig ... passed
> Building arm64:defconfig ... failed
> --------------
> Error log:
> drivers/interconnect/core.c: In function 'icc_init':
> drivers/interconnect/core.c:1148:9: error: implicit declaration of function 'fs_reclaim_acquire' [-Werror=implicit-function-declaration]
> 1148 | fs_reclaim_acquire(GFP_KERNEL);
> | ^~~~~~~~~~~~~~~~~~
> drivers/interconnect/core.c:1150:9: error: implicit declaration of function 'fs_reclaim_release' [-Werror=implicit-function-declaration]
> 1150 | fs_reclaim_release(GFP_KERNEL);
> | ^~~~~~~~~~~~~~~~~~
>
> This also affects alpha:allmodconfig and m68k:allmodconfig. The problem
> was introduced with 'interconnect: Teach lockdep about icc_bw_lock order'.
>
> #include <linux/sched/mm.h> is missing. Presumably that is included
> indirectly in the upstream kernel, but I wasn't able to determine which
> commit added it.
>
> Guenter
Thanks for the report, our CI is also pretty red for ARCH=arm64
linux-5.15.y builds. Also one ARCH=arm build we have that's using
Alpine's config is hitting the same issue. Making note of this with our
ML CC'ed so that other folks don't potentially re-triage. Happy to hear
there's already a fix inbound.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-29 15:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-27 13:37 Build failure in v5.15.133 Guenter Roeck
2023-09-28 11:04 ` Sasha Levin
2023-09-29 15:48 ` Nick Desaulniers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).