Package: kernel-package
Version: 12.031
Severity: normal

Hi,

I compile an i386 kernel on an amd64 system with the following command:
DEB_HOST_ARCH=i386 make-kpkg --rootcmd fakeroot --initrd --cross_compile - 
--arch i386 ...

The kernel_image works fine. However, all the ELF executables in the scripts/ 
directory of the
the kernel_headers package are 64 bit executable. E.g.:
$ file scripts/genksyms/genksyms
scripts/genksyms/genksyms: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), 
...

Therefore building modules on the target host (i386) using the kernel_headers 
package fails,
because these scripts can't be executed.

Cheers,
harry

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.2-hb (SMP w/1 CPU core)
Locale: LANG=POSIX, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kernel-package depends on:
ii  binutils                      2.20-4     The GNU assembler, linker and bina
ii  build-essential               11.4       Informational list of build-essent
ii  debianutils                   3.2.2      Miscellaneous utilities specific t
ii  file                          5.03-5     Determines file type using "magic"
ii  gettext                       0.17-8     GNU Internationalization utilities
ii  make                          3.81-7     An utility for Directing compilati
ii  module-init-tools             3.11-1     tools for managing Linux kernel mo
ii  po-debconf                    1.0.16     tool for managing templates file t
ii  util-linux                    2.16.2-0   Miscellaneous system utilities

Versions of packages kernel-package recommends:
ii  cpio                          2.10-1     GNU cpio -- a program to manage ar

Versions of packages kernel-package suggests:
ii  bzip2                     1.0.5-3        high-quality block-sorting file co
pn  docbook-utils             <none>         (no description available)
ii  e2fsprogs                 1.41.9-1       ext2/ext3/ext4 file system utiliti
ii  initramfs-tools [linux-in 0.93.4         tools for generating an initramfs
pn  libdb3-dev                <none>         (no description available)
ii  libncurses5-dev [libncurs 5.7+20090803-2 developer's libraries and docs for
ii  linux-source-2.6.31.4-i38 sbs173.02      Linux kernel source for version 2.
pn  xmlto                     <none>         (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to