Messages in this thread | | | Date | Thu, 9 Jun 2005 16:47:16 +0200 | From | Mikael Pettersson <> | Subject | Re: Has anyone had problems with GCC 4.0 and the kernel? |
| |
Scott Robert Ladd writes: > Hello, > > I've had several inquiries recently in regard to compiling the kernel > with GCC 4.0. It seems folk are having problems, do a Google search, and > find my capsule review of GCC 4.0 at: > > http://www.coyotegulch.com/reviews/gcc4/index.html > > I'm not running a GCC 4.0-created kernel, but I had no problems > compiling it and running one a few weeks ago. Before I start looking > into this further, has anyone here had problems with GCC 4? Maybe I just > hallucinated that it compiled and booted... ;)
gcc-4.0.0 vanilla is broken and miscompiles some ipv4/sysctl stuff. More recent 4.0.1 snapshots are OK.
I've been using gcc4 for 2.6 and 2.4 kernels since late January, for both desktops and servers, and for i386/x86-64/ppc/ppc64. Recent 2.6 kernels should work as-is, except perhaps in poorly maintained drivers. The 2.4 kernels need fair amounts of patching, 99% of which is to prevent compile-time errors. These patches are not yet merged into the standard 2.4 tree and may never be. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |