06-30-2020, 06:41 AM
(06-29-2020, 06:20 PM)Tsvi Bar-David Wrote: Tophneal, thanks for you help!
I took your advice, enabled the anbox flags, and recompiled the arch linux kernel, and it looked like it got pretty far along, until it aborted with the following error message about the (mis)location of objtool. Here is the last couple of lines emitted from makepkg:
INSTALL sound/usb/snd-usb-audio.ko
INSTALL sound/usb/snd-usbmidi-lib.ko
INSTALL sound/xen/snd_xen_front.ko
INSTALL virt/lib/irqbypass.ko
DEPMOD 5.7.6-arch1-1-anbox
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "linux-anbox"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_linux-anbox-headers()... # i named my modified kernel: linux-anbox
Installing build files...
install: cannot stat 'tools/objtool/objtool': No such file or directory
==> ERROR: A failure occurred in package_linux-anbox-headers().
Aborting...
---
The line that fails in PKGBUILD seems to be 108:
# add objtool for external module building and enabled VALIDATION_STACK option
108 install -Dt "$builddir/tools/objtool" tools/objtool/objtool
It feels like I am so close ...
Thoughts?
Thanks,
Tsvi
Have you tried looking yet to see if you can find objtool on your system and correcting the PKGBUILD? Likely you just need to make a pull of the kernel repo and try your changes again.