I know that these mainline builds are unsupported in any way, but there have been some efforts to quickly patch this problem for cross- compiling.
Examples: https://bugs.launchpad.net/ubuntu/+source/linux-ti- omap4/+bug/666267/comments/16 Also, I wrote up a quick hacky post-install script to workaround this issue, which works for arm64 mainline builds, here: https://gist.github.com/satmandu/b60a804fa2275615c88367bc68e4bad0 As a quick summary of the problem, it appears that these files are needed in the target architecture to build modules, but are in the cross-compile host architecture: scripts/recordmcount scripts/mod/modpost scripts/basic/fixdep "make scripts" does everything except make modpost, so I use "make modules_prepare" which errors out, but does make everything one needs. Oh, and unfortunately the packaging scripts seem to leave out these header files which are needed for the aforementioned compile process: security/selinux/include/classmap.h security/selinux/include/initial_sid_to_string.h tools/include/tools/be_byteshift.h tools/include/tools/le_byteshift.h So I download those first too. If any of that process could be eliminated, it would be appreciated. :) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1665447 Title: kernel ppa is building amd64 files inside mainline ppc64el package Status in linux package in Ubuntu: Incomplete Bug description: Kernel PPA contains a files that are compiled against amd64 instead of ppc64el. This makes this kernel unusable: Example: PPA: http://kernel.ubuntu.com/~kernel-ppa/mainline/ Kernel: http://kernel.ubuntu.com/\~kernel-ppa/mainline/v4.10-rc8 /linux- headers-4.10.0-041000rc8-generic_4.10.0-041000rc8.201702121731_ppc64el.deb ➜ ppa dpkg-deb -x linux- headers-4.10.0-041000rc8-generic_4.10.0-041000rc8.201702121731_ppc64el.deb . ➜ ppa find . -name fixdep ./usr/src/linux-headers-4.10.0-041000rc8-generic/scripts/basic/fixdep ➜ ppa file ./usr/src/linux-headers-4.10.0-041000rc8-generic/scripts/basic/fixdep ./usr/src/linux-headers-4.10.0-041000rc8-generic/scripts/basic/fixdep: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=438d1c0255e4943c4af1b9568a4cbe83d9034737, not stripped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1665447/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp