Subject: Re: gcc3.3, perl, and '-O3 -march=k6-2' -> segfault
To: David , Todd Vierling <tv@pobox.com>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-toolchain
Date: 05/30/2003 04:17:47
On Wed, 28 May 2003, Frederick Bruckman wrote:

> On Wed, 28 May 2003, David wrote:
>
> > 	Tried to compile perl on an AMD K6-2 box here under gcc 3.3
> > 	and the miniperl chokes with a segmentation fault. This is
> > 	with '-O3 -march=k6-2'.
> > 	Interesting the same flags work fine with gcc-3.2, and
> > 	3.3 works fine with '-O3 -march=pentium3' on the next box.
>
> gcc 3.3 can't even build itself with ``gmake BOOT_CFLAGS="-O3 -march=k6-2"''
> (AMD K6-2/533, model 8, stepping 12, underclocked at 500mHz). No such problem
> with gcc-3.2.3.

It take it all back. That was a pre-release 3.3. After updating to the
"gcc_3_3_release" tag, "gcc" bootstrapped fine with "-O3 -march=k6-2
-fomit-frame-pointer", and it built "mplayer" fine.

Frederick