WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@florianl
Copy link
Contributor

@florianl florianl commented Nov 1, 2025

Update versions accroding to https://kernel.org/ (on 2025-11-01).

@ti-mo
Copy link
Contributor

ti-mo commented Nov 3, 2025

@florianl Looks like torvalds/linux@b720903 added a dependency on xxd during selftest builds, would you be able to add it as a dependency in the builder?

@florianl
Copy link
Contributor Author

florianl commented Nov 3, 2025

Looks like, we have to create a dedicated PR for d8b4e39 first.

I will remove this commit from this PR once #85 landed.

@ti-mo ti-mo mentioned this pull request Nov 3, 2025
1 task
@ti-mo
Copy link
Contributor

ti-mo commented Nov 3, 2025

Gave this a rebase after merging #85.

@ti-mo
Copy link
Contributor

ti-mo commented Nov 3, 2025

6.18-rc3 selftests are failing to build:

#18 72.54 In file included from progs/stream.c:8:
#18 72.54 /usr/src/linux/tools/testing/selftests/bpf/bpf_arena_common.h:47:15: error: conflicting types for 'bpf_arena_alloc_pages'
#18 72.54    47 | void __arena* bpf_arena_alloc_pages(void *map, void __arena *addr, __u32 page_cnt,
#18 72.54       |               ^
#18 72.54 /usr/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:105176:14: note: previous declaration is here
#18 72.54  105176 | extern void *bpf_arena_alloc_pages(void *p__map, void *addr__ign, u32 page_cnt, int node_id, u64 flags) __weak __ksym;
#18 72.54         |              ^
#18 72.54 In file included from progs/stream.c:8:
#18 72.54 /usr/src/linux/tools/testing/selftests/bpf/bpf_arena_common.h:49:5: error: conflicting types for 'bpf_arena_reserve_pages'
#18 72.54    49 | int bpf_arena_reserve_pages(void *map, void __arena *addr, __u32 page_cnt) __ksym __weak;
#18 72.54       |     ^
#18 72.54 /usr/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:105178:12: note: previous declaration is here
#18 72.54  105178 | extern int bpf_arena_reserve_pages(void *p__map, void *ptr__ign, u32 page_cnt) __weak __ksym;
#18 72.54         |            ^
#18 72.54 In file included from progs/stream.c:8:
#18 72.54 /usr/src/linux/tools/testing/selftests/bpf/bpf_arena_common.h:50:6: error: conflicting types for 'bpf_arena_free_pages'
#18 72.54    50 | void bpf_arena_free_pages(void *map, void __arena *ptr, __u32 page_cnt) __ksym __weak;
#18 72.54       |      ^
#18 72.54 /usr/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:105177:13: note: previous declaration is here
#18 72.54  105177 | extern void bpf_arena_free_pages(void *p__map, void *ptr__ign, u32 page_cnt) __weak __ksym;
#18 72.54         |             ^
#18 72.54 3 errors generated.
#18 72.55 make: *** [Makefile:760: /usr/src/linux/tools/testing/selftests/bpf/stream.bpf.o] Error 1
#18 72.55 make: *** Waiting for unfinished jobs....
#18 73.03 make: Leaving directory '/usr/src/linux/tools/testing/selftests/bpf'
#18 ERROR: process "/bin/sh -c ccache -z;     ./build-selftests.sh &&     ccache -s" did not complete successfully: exit code: 2
------
 > [build-selftests 3/5] RUN --mount=type=cache,target=/ccache     ccache -z;     ./build-selftests.sh &&     ccache -s:
72.54 /usr/src/linux/tools/testing/selftests/bpf/bpf_arena_common.h:50:6: error: conflicting types for 'bpf_arena_free_pages'
72.54    50 | void bpf_arena_free_pages(void *map, void __arena *ptr, __u32 page_cnt) __ksym __weak;
72.54       |      ^
72.54 /usr/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h:105177:13: note: previous declaration is here
72.54  105177 | extern void bpf_arena_free_pages(void *p__map, void *ptr__ign, u32 page_cnt) __weak __ksym;
72.54         |             ^
72.54 3 errors generated.

I've bumped to -rc4 but don't see any changes that could've fixed this; let's see if this one succeeds. It's usually better to skip rc's for this reason.

@florianl
Copy link
Contributor Author

florianl commented Nov 3, 2025

I see the issue with the rc. Should we set mainline to 6.17.7 and stable to 6.16.12?

@ti-mo
Copy link
Contributor

ti-mo commented Nov 3, 2025

Let's see if we can fix upstream, don't think we're in a big rush to get this merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants