FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 06-28-2008, 06:04 AM
Ian Zimmerman
 
Default Bug#488343: linux-headers-2.6.24-1-686: useless dependency on gcc-4.1

Package: linux-headers-2.6.24-1-686
Version: 2.6.24-7
Severity: minor

Why? Eevn if you must depend on a compiler (and I don't see that, either),
why won't just any version of gcc do?

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

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-headers-2.6.24-1-686 depends on:
ii gcc-4.1 4.1.2-22 The GNU C compiler
ii linux-headers-2.6.24-1-common 2.6.24-7 Common header files for Linux 2.6.
ii linux-kbuild-2.6.24 2.6.24-1 Kbuild infrastructure for Linux 2.

linux-headers-2.6.24-1-686 recommends no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-28-2008, 06:49 AM
Martin Michlmayr
 
Default Bug#488343: linux-headers-2.6.24-1-686: useless dependency on gcc-4.1

* Ian Zimmerman <itz@buug.org> [2008-06-27 23:04]:
> Why? Eevn if you must depend on a compiler (and I don't see that, either),
> why won't just any version of gcc do?

Because you have to use the same compiler version that was used to
compile the kernel in order to compile modules. And the linux-headers
package allows you to compile modules, so it makes sense to depend on
the gcc version used to compile the kernel.

You don't have to install linux-headers though. The linux-image
package doesn't depend on it.
--
Martin Michlmayr
http://www.cyrius.com/



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 06-28-2008, 08:12 AM
Daniel Baumann
 
Default Bug#488343: linux-headers-2.6.24-1-686: useless dependency on gcc-4.1

Ian Zimmerman wrote:
> Why? Eevn if you must depend on a compiler (and I don't see that, either),
> why won't just any version of gcc do?

because you need to use the same compiler version that was used to build
the kernel in order to build modules against the headers.

--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann@panthera-systems.net
Internet: http://people.panthera-systems.net/~daniel-baumann/



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-03-2008, 07:11 AM
Ian Zimmerman
 
Default Bug#488343: linux-headers-2.6.24-1-686: useless dependency on gcc-4.1

Daniel> because you need to use the same compiler version that was used
Daniel> to build the kernel in order to build modules against the
Daniel> headers.

I didn't know that. Since when is this the case? Is this enforced by
the upstream kernel, or is it an artifact of the Debian infrastructure?

If I do build modules from source (in my case, alsa, which was
recommended to me by the Debian alsa maintainers) this seems to give me
the choice between:

1/ build the entire kernel from source as well,

or

2/ keep an open-ended set of GCC versions around just in case a packaged
kernel comes around that was compiled with it and I have to recompile
the modules with the same version.

Am I missing something?

i



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 12:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org