.btf.vmlinux.bin.o: file not recognized: file format not recognized
Options used:
_localmodcfg=1
_subarch=3
Additional info:
- https://bugs.archlinux.org/task/78955
- https://bugs.archlinux.org/task/78973
- https://bugzilla.mozilla.org/show_bug.cgi?id=1835488
@Luyu - if you're using a dkms package that means that module is out-of-tree, ie cannot ship it. Why doesn't the dkms package work?
Maybe I should seek help from waydroid developers.
]]>6.1.1-1 should ship that needed file; the memory burst is no longer present on my system it seems.
Many thanks!
]]>@zebulon - yes, see line 266 which is currently commented out. I need to see about enabling that without the full blown CONFIG_DEBUG_INFO. As I recall, building with that enabled blows up my build system's RAM.
Probably unrelated but is your BUILDDIR set to a tmpfs in RAM? Before kernel 6.x I was able to build in RAM using a 8GB tmpfs, but this is not possible anymore. And increasing tmpfs size leads to the console where I build crashing (my system has 16GB physical RAM). I now need to set BUILDDIR to a directory on a large, "real" hard drive and this works fine. But this may not be your issue there.
]]>I don't use dkms, not sure what is driving the error. I can just say I tested it on a clean install with linux-ck and it worked. Maybe open a new thread focusing on dkms and someone can help you.
Hi graysky: I may have an answer to this problem. I have the same issue when compiling nvidia via nvidia-dkms, with this error in nvidia make log file:
/bin/sh: line 1: ./tools/bpf/resolve_btfids/resolve_btfids: No such file or directory
This does not happen with other linux header packages (original archlinux and linux-lqx) so I had a look at the file list of linux-headers, linux-lqx-headers and linux-ck packages. linux-headers and linux-lqx-headers have these files:
linux-headers /usr/lib/modules/6.0.12-arch1-1/build/tools/bpf/
linux-headers /usr/lib/modules/6.0.12-arch1-1/build/tools/bpf/resolve_btfids/
linux-headers /usr/lib/modules/6.0.12-arch1-1/build/tools/bpf/resolve_btfids/resolve_btfids
linux-headers /usr/lib/modules/6.0.12-arch1-1/build/tools/objtool/
linux-headers /usr/lib/modules/6.0.12-arch1-1/build/tools/objtool/objtool
and
linux-lqx-headers /usr/lib/modules/6.1.0-lqx2-1-lqx/build/tools/bpf/
linux-lqx-headers /usr/lib/modules/6.1.0-lqx2-1-lqx/build/tools/bpf/resolve_btfids/
linux-lqx-headers /usr/lib/modules/6.1.0-lqx2-1-lqx/build/tools/bpf/resolve_btfids/resolve_btfids
linux-lqx-headers /usr/lib/modules/6.1.0-lqx2-1-lqx/build/tools/objtool/
linux-lqx-headers /usr/lib/modules/6.1.0-lqx2-1-lqx/build/tools/objtool/objtool
However, linux-ck-headers is missing the bpf directory entirely:
linux-ck-headers /usr/lib/modules/6.1.0-1-ck/build/tools/
linux-ck-headers /usr/lib/modules/6.1.0-1-ck/build/tools/objtool/
linux-ck-headers /usr/lib/modules/6.1.0-1-ck/build/tools/objtool/objtool
Only the objtool directory is available, not bpf. This is the root cause of the problem. Maybe packaging has some error?
]]>