This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Is there a site for unofficail patches?
> * jfm2@club-internet.fr (jfm2@club-internet.fr) [20000822 00:32]:
>
> > I have found that gcc 2.95.2 tends to coredump in Linux (RedHat 6.2)
> > when compiling with -O3 -mcpu=i686 -mpreferred-stack-boundary=2
> ^^^
> This won't buy you anything! -O3 only gets you automatic inlining which is
> useless for the Linux kernel as functions are explicitely marked inline
> where necessary for speed. There's a reason why the kernel makefiles use -O2
> by default.
>
I knew this. I was using the above flags to recompile gcc 2.95.2 with
itself not the kernel. And it coredumped. Since it works for
Mnadrake people with difference that they use -march=i586 then
conclusion is that the crash is due to use of -mcpu=i686 in conjuction
with preferred-stack-boundary.
--
Jean Francois Martinez
Project Independence: Linux for the Masses
http://www.independence.seul.org