Re: gcc and 2.6 kernel



Nix wrote:
>
> On Sat, 10 Dec 2005, Kasper Dupont whispered secretively:
> > Bill Cunningham wrote:
> >>
> >> Which is the best gcc version to compile the 2.6 kernel with?
> >
> > Documentation/Changes
>
> That info is *grossly* outdated,

If you think so, then why not submit a patch?

The git history shows that file has been updated six times
in the last eight months. Though the part about gcc version
has not been modified.

> and outright wrong for numerous
> architectures. In practice, for i386 and recent 2.6 kernels, any version
> from 2.95 up to 4.0 is likely to work (skipping GCC 4.0.0 and 3.0.x
> where x<4 because they had serious bugs which the kernel tripped).

The documentation doesn't say it will not work. It just
says 2.95 is recommended because it is the best tested.

--
Kasper Dupont
Note to self: Don't try to allocate
256000 pages with GFP_KERNEL on x86.
.



Relevant Pages

  • Re: gcc and 2.6 kernel
    ... > Which is the best gcc version to compile the 2.6 kernel with? ... Documentation/Changes ... Kasper Dupont ...
    (comp.os.linux.development.system)
  • Re: system gets stuck in a lock during boot
    ... on the latest kernel and seeing whether that fixes the lockup? ... 'backtrack' the bisection, ... At the moment I don't have a problem applying a patch to the ... gcc version: 4.5.0 20090730 ...
    (Linux-Kernel)
  • Re: system gets stuck in a lock during boot
    ... on the latest kernel and seeing whether that fixes the lockup? ... 'backtrack' the bisection, ... At the moment I don't have a problem applying a patch to the ... gcc version: 4.5.0 20090730 ...
    (Linux-Kernel)
  • Re: system gets stuck in a lock during boot
    ... on the latest kernel and seeing whether that fixes the lockup? ... 'backtrack' the bisection, ... At the moment I don't have a problem applying a patch to the ... gcc version: 4.5.0 20090730 ...
    (Linux-Kernel)
  • Re: [patch] measurements, numbers about CONFIG_OPTIMIZE_INLINING=y impact
    ... Maybe the kernel's backtrace code should be fixed instead of blaming ... Guess how big it is for the kernel? ... after I saw the gcc people talking negatively about the latest brouhaha. ... kernel backtrace debugging is different from regular user mode debugging? ...
    (Linux-Kernel)