Bug#705392: kernel-package: fails to build RC-kernel 3.2 with clang

2014-05-05 Thread Manoj Srivastava
Hi,

kernel-package does nothing special with the C compiler. If you
 can use clang to build the kernel, you can use kernel-package to
 package it. There is othing that kernel-package can do to make kernel
 building with clang easier.

In any case, what are the errors you saw?

manoj
-- 
Have you seen the latest Japanese camera? Apparently it is so fast it
can photograph an American with his mouth shut!
Manoj Srivastava sriva...@acm.org http://www.golden-gryphon.com/  
4096R/C5779A1C E37E 5EC5 2A01 DA25 AD20  05B6 CF48 9438 C577 9A1C


signature.asc
Description: PGP signature


Bug#705392: kernel-package: fails to build RC-kernel 3.2 with clang

2013-04-14 Thread Andreas Glaeser
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Package: kernel-package
Version: 12.036+nmu3
Severity: wishlist

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***
Upon searching online, I found this:
http://clang.debian.net/
I set up clang and made symlinks to replace gcc by clang, as outlined there, see
attachments. Next everything was set up in order to build a kernel-package, but 
this
failed as expected. I thought for some time, whether this is a minor issue, but 
then
realized, that this is experimental, that it is bad style to just remove gcc 
and other
executables and replace them by symlinks, so it is a wishlist item.
Most of the debian archive seems to build fine already with the latest clang 
3.2, it
seems that some work has to be done in order to make kernel-package, i.e. 
make-kpkg
clang-compatible. It would not even be necessary to do this symlink thing in 
order to do
so.

- -- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kernel-package depends on:
ii  binutils   2.22-8
ii  build-essential11.5
ii  debianutils4.3.2
ii  file   5.11-2
ii  gettext0.18.1.1-9
ii  make   3.81-8.2
ii  module-init-tools  9-2
ii  po-debconf 1.0.16+nmu2
ii  util-linux 2.20.1-5.3

Versions of packages kernel-package recommends:
ii  cpio  2.11+dfsg-0.1

Versions of packages kernel-package suggests:
pn  btrfs-tools none
ii  bzip2   1.0.6-4
pn  docbook-utils   none
ii  e2fsprogs   1.42.5-1.1
pn  grub | grub2none
ii  initramfs-tools [linux-initramfs-tool]  0.109
pn  jfsutilsnone
pn  libncurses-dev  none
ii  linux-source3.2+46
ii  linux-source-3.2 [linux-source] 3.2.41-2
pn  mcelog  none
pn  oprofilenone
pn  pcmciautils none
ii  ppp 2.4.5-5.1+b1
ii  procps  1:3.3.3-3
pn  quota   none
pn  reiserfsprogs   none
pn  squashfs-tools  none
ii  udev175-7.1
ii  xfsprogs3.1.7+b1
pn  xmlto   none

- -- no debconf information
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlFqb8sACgkQ5+rBHyUt5wuA1ACgkfH3RyeJi4Ss/zPV0LLTl0mb
hTQAniO/8HhIh4Sgp3Ve0XGI9jZKsoDY
=i0ME
-END PGP SIGNATURE-


gcc-clang.txt.gz
Description: GNU Zip compressed data


c-build.txt.gz
Description: GNU Zip compressed data