Closed GorilaMond closed 10 months ago
I don't know, I'm not familiar with building or working on Android.
I note there are some similarities with https://github.com/libbpf/bpftool/issues/77 / https://github.com/libbpf/libbpf/issues/720. Although in that other report, the issue was that bpftool 7.1.0 doesn't compile (but 7.0.0 does), whereas in your case 7.0.0 compiles but the binaries don't run. Cc @kochia5 just in case.
I'm not sure this has much to do with bpftool itself though, it seems to me that this is related to libbpf
I have same problem, I think it's more about libbpf What's best way to ask questions there? Github doesn't seem to be active.
GitHub repositories for libbpf and bpftool are active, Andrii replied on the libbpf issue but didn't get any follow-up by the poster. You posted your own comment only three minutes before asking here.
Both repositories are mostly about tasks related to mirroring libbpf and bpftool, and running the CI. The preferred way to report issues is usually through the BPF mailing list - this one has a lot more people looking at it, if this was what you meant.
GitHub repositories for libbpf and bpftool are active, Andrii replied on the libbpf issue but didn't get any follow-up by the poster. You posted your own comment only three minutes before asking here.
Both repositories are mostly about tasks related to mirroring libbpf and bpftool, and running the CI. The preferred way to report issues is usually through the BPF mailing list - this one has a lot more people looking at it, if this was what you meant.
OK, I will report issues through the mailing list, thanks for your advice.
try xmake f -p android -c --require-bpftool=y
?
Yes, I have tried but with on.
---Original--- From: @.> Date: Thu, Nov 2, 2023 09:35 AM To: @.>; Cc: @.>;"State @.>; Subject: Re: [libbpf/bpftool] "libbpf: map 'xxx': unsupported map linkagestatic" in Android (Issue #120)
try xmake f -p android -c --require-bpftool=y?
see libbpf/libbpf-bootstrap#130
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>
I have fixed this error. https://github.com/libbpf/libbpf-bootstrap/pull/237
we can use bpftool 7.2.0 now.
On the system there is bpftool v7.0.0 installed:
Get libbpf-bootstrap repo
try to compile for Android via xmake according to the readme file:
These code were compiled successfully. But when the binaries of bootstrap and minimal_legency run in Android phone, it report some err:
The version of the Android is 13 and its kernel version is 5.4.210.
How could I run them successfully?