From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds To: apl@alum.mit.edu, gcc@gcc.gnu.org Subject: Re: compiling linux kernels with GCC 3.0 Date: Wed, 10 Oct 2001 09:26:00 -0000 Message-id: <200110101625.f9AGPI302088@penguin.transmeta.com> References: X-SW-Source: 2001-10/msg00666.html In article < p04330101b7e9f054094c@[192.168.1.254] > you write: >Like one of our former presidents, I've been "out of the loop" on this. > >Is it still the case that standard 3.0.x compilers are unable to compile current linux >kernels due to mismatched expectations on optimizations? gcc-3.0.x is supposed to work fine. It's not the recommended compiler for "regular users", but that's not due to known problems, but simply due to lack of history with it. I know several developers who are using current gcc snapshots for kernel compiles, and they have yet to report compiler trouble. (Well, I've actually gotten one report of kernel trouble, but that was from rth with his personal gcc sandbox, and he seemed to fix that ;) So the only caveat is that the kind of developer who has a gcc CVS tree tends to know what to expect, and can make something out of failures if they happen. I'd love for as many people as possible to compile Linux with gcc-3.0.x, but I also want to know about it in any potential bug-reports, in case there is a compiler pattern. In short: go for it. And make a backup first, if you're one of the careful people ;) Linus