This is the mail archive of the
mailing list for the GCC project.
Re: compiling linux kernels with GCC 3.0
- To: torvalds at transmeta dot com (Linus Torvalds)
- Subject: Re: compiling linux kernels with GCC 3.0
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Wed, 10 Oct 2001 11:08:23 -0700 (PDT)
- Cc: apl at alum dot mit dot edu, gcc at gcc dot gnu dot org
> 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?