Cross compiled headers package breaks DKMS compilation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DKMS |
Won't Fix
|
Undecided
|
Unassigned | ||
Linaro Ubuntu |
Fix Released
|
Medium
|
Avik Sil | ||
linux-linaro-mx51 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
linux-ti-omap4 (Ubuntu) |
Fix Released
|
Medium
|
Bryan Wu |
Bug Description
When cross-compiling headers package on a PC, some x86 programs get shipped in the .deb.
Those programs get called during later compilation of DKMS modules, breaking the build.
Faulty binaries are:
scripts/
scripts/
scripts/
scripts/
scripts/
scripts/
scripts/bin2c
scripts/kallsyms
scripts/pnmtologo
scripts/
scripts/
scripts/
Starting with, for example:
https:/
https:/
https:/
Extract with 'dpkg-source -x linux-ti-
Cross compilation is done with:
fakeroot debian/rules clean
export $(dpkg-architecture -aarmel)
CROSS_
To obtain cross compilers, add the following line to your '/etc/apt/
deb http://
Then install 'gcc-4.
After cross build, the resulting .deb are:
linux-
linux-
One can check the shipped x86 binaries by extracting the .deb:
dpkg -x linux-headers-
...and searching for x86 executables:
find extract/
Some more details on cross compiling can be found at 'http://
Changed in linux-ti-omap4 (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Bryan Wu (cooloney) |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in linux-linaro-mx51 (Ubuntu): | |
status: | New → Fix Released |
Vincent,
Could you please help us to do a testing?
Just remove all the faulty binaries which you listed here and try to native install/build your DKMS packages. To see whether it is works.
After some discussion with Andy and Tim, we think linux-header package should not ship those binaries and DKMS building will regenerate those binaries natively.
If it works, we probably need to check linux-header packaging later.
Thanks,
-Bryan