From mboxrd@z Thu Jan 1 00:00:00 1970 From: jfm2@club-internet.fr To: pthomas@suse.de Cc: jfm2@club-internet.fr, gcc@gcc.gnu.org Subject: Re: Is there a site for unofficail patches? Date: Wed, 23 Aug 2000 16:55:00 -0000 Message-id: <20000824000325.13F7EF427@agnes.fremen.dune> References: <20000821223929.1E811F426@agnes.fremen.dune> <20000824002023.A12445@Jeffreys.suse.de> X-SW-Source: 2000-08/msg00490.html > * 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