Has anyone had problems with GCC 4.0 and the kernel?
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... ;)
..Scott
Quoted 6 lines · Scott Robert Ladd
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:
Quoted 6 lines
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.
Quoted 2 lines · Mikael Pettersson
gcc-4.0.0 vanilla is broken and miscompiles some ipv4/sysctl stuff. More recent 4.0.1 snapshots are OK.
They're rolling release candidates for GCC 4.0.1 at the moment, so I expect it to be out early next week. I'll simply recommend people wait for the 4.0.1 release.
I get 2-3 messages per day, steadily, from people with various kernel and GCC problems. Since I'm not exactly a kernel developer, I wonder why they think *I* have answers.
Must be Google's fault... ;)
..Scott