Package: kernel-package
Version: 10.068
Severity: important
Tags: none

When doing cross-compilation of kernel and externel modules, I found
that --cross-compile=- option is ignored with targets modules*.  The
compilation fails because it tries to use the "-gcc" compiler.

Example:

cd /usr/src/linux-source-2.6.18 && make 
M=/usr/src/modules/loop-aes/loop-AES/tmp-d-kbuild modules 
make[4]: -gcc: Command not found


When I change the file debian/ruleset/modules.mk, generated by
make-kpkg debian, to add the variable CROSS_ARG to the targets
modules*, It use the correct compiler "gcc".

So I believe the variable CROSS_ARG is missing in the file
/usr/share/kernel-package/ruleset/modules.mk

      José Calhariz

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=C, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8)

Versions of packages kernel-package depends on:
ii  dpkg                         1.13.25     package maintenance system for Deb
ii  dpkg-dev                     1.13.25     package building tools for Debian
ii  file                         4.17-5etch1 Determines file type using "magic"
ii  gcc [c-compiler]             4:4.1.1-15  The GNU C compiler
ii  gcc-3.3 [c-compiler]         1:3.3.6-15  The GNU C compiler
ii  gcc-3.4 [c-compiler]         3.4.6-5     The GNU C compiler
ii  gcc-4.1 [c-compiler]         4.1.1-21    The GNU C compiler
ii  gettext                      0.16.1-1    GNU Internationalization utilities
ii  make                         3.81-2      The GNU version of the "make" util
ii  perl                         5.8.8-7     Larry Wall's Practical Extraction 
ii  po-debconf                   1.0.8       manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2                       1.0.3-6      high-quality block-sorting file co
ii  libc6-dev [libc-dev]        2.3.6.ds1-13 GNU C Library: Development Librari

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to