[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6.12 upload



On Tue, Jul 19, 2005 at 09:56:01AM -0400, Andres Salomon wrote:
> On Sat, 16 Jul 2005 16:55:42 +0300, Horms wrote:
> 
> [...]
> 
> > I need to do something about the fact that users go and
> > grab kernel-source-2.4.27 and it doesn't compile with the
> > default gcc any more. Here are three solutions I have thought.
> > 
> > 1. Document this somewhere
> > 2. Change the makefile to default to gcc-3.3
> > 3. Change the makefile to print out a nice error if gcc version >=4.0
> 
> 
> #3 would be my preference; however, you still have the problem that people
> may attempt to compile a vanilla 2.4 kernel w/ gcc-3.3.  IMO, this is
> something that should be checked for by kernel-package; only allow certain
> kernel versions to be compiled w/ certain versions of gcc, or even
> override the version of gcc that it's compiling w/.  That is, if 2.4.27 is
> being compiled, kernel-package internally sets CC=gcc-3.3.


That still doesn't prevent users from falling into the trap of
uncompiling the source, running configure, and then being presented with
some entirely non-obvious errors becaus they are running the default
GCC. I think it might be better to buld this logic into the Makefule
of each kernel version, could you give some specific gcc/kernel version
combinations that you are thinking about. Also, do you know if this
varies from arch to arch?

-- 
Horms



Reply to: