* [Build Error Report] Implicit Function declaration for bpf-next tree
@ 2025-06-12 2:52 Tiezhu Yang
2025-06-12 5:41 ` Alexei Starovoitov
0 siblings, 1 reply; 2+ messages in thread
From: Tiezhu Yang @ 2025-06-12 2:52 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko; +Cc: bpf
There exists the following build error for bpf-next tree on LoongArch:
CC drivers/acpi/numa/srat.o
drivers/acpi/numa/srat.c: In function ‘acpi_parse_cfmws’:
drivers/acpi/numa/srat.c:467:13: error: implicit declaration of function
‘numa_add_reserved_memblk’ [-Wimplicit-function-declaration]
467 | if (numa_add_reserved_memblk(node, start, end) < 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[5]: *** [scripts/Makefile.build:203: drivers/acpi/numa/srat.o] Error 1
make[4]: *** [scripts/Makefile.build:470: drivers/acpi/numa] Error 2
make[3]: *** [scripts/Makefile.build:470: drivers/acpi] Error 2
make[2]: *** [scripts/Makefile.build:470: drivers] Error 2
This is because the following two commits are not in bpf-next tree:
commit 9559d5806319 ("LoongArch: Increase max supported CPUs up to 2048")
commit a24f2fb70cb6 ("LoongArch: Introduce the numa_memblks conversion")
Is it possible to update bpf-next tree based on 6.16-rc1 or at least
apply the above two commits to avoid the build error?
Thanks,
Tiezhu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Build Error Report] Implicit Function declaration for bpf-next tree
2025-06-12 2:52 [Build Error Report] Implicit Function declaration for bpf-next tree Tiezhu Yang
@ 2025-06-12 5:41 ` Alexei Starovoitov
0 siblings, 0 replies; 2+ messages in thread
From: Alexei Starovoitov @ 2025-06-12 5:41 UTC (permalink / raw)
To: Tiezhu Yang; +Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, bpf
On Wed, Jun 11, 2025 at 7:52 PM Tiezhu Yang <yangtiezhu@loongson.cn> wrote:
>
> There exists the following build error for bpf-next tree on LoongArch:
>
> CC drivers/acpi/numa/srat.o
> drivers/acpi/numa/srat.c: In function ‘acpi_parse_cfmws’:
> drivers/acpi/numa/srat.c:467:13: error: implicit declaration of function
> ‘numa_add_reserved_memblk’ [-Wimplicit-function-declaration]
> 467 | if (numa_add_reserved_memblk(node, start, end) < 0) {
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> make[5]: *** [scripts/Makefile.build:203: drivers/acpi/numa/srat.o] Error 1
> make[4]: *** [scripts/Makefile.build:470: drivers/acpi/numa] Error 2
> make[3]: *** [scripts/Makefile.build:470: drivers/acpi] Error 2
> make[2]: *** [scripts/Makefile.build:470: drivers] Error 2
>
> This is because the following two commits are not in bpf-next tree:
>
> commit 9559d5806319 ("LoongArch: Increase max supported CPUs up to 2048")
> commit a24f2fb70cb6 ("LoongArch: Introduce the numa_memblks conversion")
>
> Is it possible to update bpf-next tree based on 6.16-rc1 or at least
> apply the above two commits to avoid the build error?
perf_event-s are broken in Linus's tree. There is a fix in tip.git.
We're waiting for the fix to land through.
Then we will merge perf_event fix and all other fixes into bpf and bpf-next.
Hopefully in a day or two.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-12 5:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-12 2:52 [Build Error Report] Implicit Function declaration for bpf-next tree Tiezhu Yang
2025-06-12 5:41 ` Alexei Starovoitov
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).