Cross-building Kernel packages for linux-headers adds x86 binaries

Andreas Schwab schwab at linux-m68k.org
Mon Apr 12 15:57:50 BST 2021


On Apr 12 2021, Carlos Eduardo de Paula wrote:

> I've been cross-building .deb Kernel packages

Looks like you should ask that the debian developers.

> ❯ file scripts/basic/fixdep
> scripts/basic/fixdep: ELF 64-bit LSB pie executable, x86-64, version 1
> (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
> BuildID[sha1]=fc5b93fa068bb02ca6fa1f1e2eeb99fa74a19c84, for GNU/Linux
> 3.2.0, not stripped

That file needs to be executed on the build system, so it is compiled
with the host compiler.  The bug appears to be that it is part of the
package in the first place.

Andreas.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the linux-riscv mailing list