Subject: Re: sparc and gcc4?
To: Christos Zoulas <christos@astron.com>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-sparc
Date: 06/27/2006 20:33:20
At 14:57 Uhr +0000 27.6.2006, Christos Zoulas wrote:
>Martin Husemann <martin@NetBSD.org> wrote:
>>That made me curious, and experiments show that a kernel compiled with
>>anything != -O2 crashes with alignment faults or illegal instructions.
>>
>>Maybe we should drop back to gcc 3.3.6 for now as default, untill this
>>code gen issues have been resolved?
>
>I think we should publish that if you compile with -Os or -O3 things might
>not work, but please report bugs. We should create a matrix of what works
>at which compilation level.
FWIW, my crashing kernel was (cross-)built with
makeoptions COPTS="-mcpu=supersparc -O2 -pipe"
hauke
--
"It's never straight up and down" (DEVO)