Subject: Re: gcc3.3, perl, and '-O3 -march=k6-2' -> segfault
To: Frederick Bruckman <fredb@immanent.net>
From: David Brownlee <abs@netbsd.org>
List: tech-toolchain
Date: 06/03/2003 15:32:38
On Fri, 30 May 2003, Frederick Bruckman wrote:

> 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.

	The plot (or possibly the smoke) thickens: gcc-3.3 from outside
	pkgsrc builds perl-5.8 outside pkgsrc fine with '-O3 -march=k6-2'.
	Next to try a pkgsrc gcc-3.3 building a non pkgsrc perl-5.8...


-- 
		David/absolute          -- www.netbsd.org: No hype required --