What's the difference betwen GCC 4.0 and 3.4?

Jason Straight jason at jeetkunedomaster.net
Tue Nov 1 05:37:43 UTC 2005


On Saturday 29 October 2005 22:59, Daniel Robitaille wrote:
> On 29/10/05, golfer <golfbuf at gmail.com> wrote:
> > I've already compiled a few programs and kernel modules.  When I
> > installed 'build-essential' it brought in gcc-4, so I thought that was
> > what was used for breezy, but when I tried to compile kernel-modules,
> > it balked and needed gcc-3.4.  I'm not sure now what to think.  It
> > seems my programs were compiled with 4.0 (since that's where
> > /usr/bin/gcc points), but the kernel is 3.4.  So, nothing has crashed
> > yet.
>
> That wiki has some details about this (In Breezy the kernel compiled
> using 3.4, the rest using 4.0):
> https://wiki.ubuntu.com/LinuxKernelRoadmap
>
> The highlight from that wiki page:
>
> [2005-07-22]
>
> The compiler situation is more complex than expected. We can't switch
> to 4.0 and apparently there is some miscompilation with 3.4. We might
> have to revert to 3.3 for all arches other than ppc64 and iseries
> (known to work).
>
> [2005-07-28]
>
> All arches have been verified to be ok with gcc-3.4. We will stay with
> 3.4 for breezy. Switching to 4.0 brings no real advantages.
>
>
>
> --
> Daniel Robitaille

I somehow lucked out in getting my 2.6.14 compiled with 4.0, I didn't even 
realize that's what build-essential installed until I read this thread.

-- 
| Ubuntu Linux
| www.ubuntulinux.org
|
| Kubuntu
| www.kubuntu.org




More information about the ubuntu-users mailing list