This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiling linux kernels with GCC 3.0


Someone asked:
> Is it still the case that standard 3.0.x compilers are unable to compile current linux
> kernels due to mismatched expectations on optimizations?

Linus Torvalds writes:
> 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.

There have been some AMD processor-specific issues.  I'm not sure if they
are all behind us now or not.

Since we've had some issues with performance regressions, but also have
some performance improvements especially for x86, it would be interesting
to see any applicable kernel performance benchmarks, to see whether
Linux compiled with gcc 3.0.x is better or worse than with gcc-2.95.x.

Has anyone done any experiments?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]