Public bug reported:
The resulting package that came from cross-compilation of current master
kernel (4.10-rc4+ or more precisely:
0aa0313f9d576affd7747cc3f179feb097d28990) using this command:
make-kpkg --rootcmd fakeroot --arch arm --cross-compile arm-linux-
gnueabihf- --revision=1.0 kernel_image kernel_headers
contained files in /usr/src/linux-headers-<version>/scripts/mod/ that
have been compiled for the host architecture, not for the target one. It
complicates building new modules with the libraries.
There were many x86_64 binaries, so here is only and example from my
test:
root@turris:~# file /usr/src/linux-headers-4.10.0-rc4+/scripts/mod/modpost
/usr/src/linux-headers-4.10.0-rc4+/scripts/mod/modpost: 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]=bd976cc4c263e4ebd659ce143d8f9eebcb39b518, stripped
** Affects: kernel-package (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1658756
Title:
Cross-compiled kernel package contains host binaries
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/1658756/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs