Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2008 10:13:08 -0500
From:      Justin Hibbits <jrh29@alumni.cwru.edu>
To:        freebsd-ppc@freebsd.org
Subject:   Re: Sane CFLAGS.
Message-ID:  <20081208151307.GA41398@narn.knownspace>
In-Reply-To: <1228748788.1832.18.camel@horst-tla>
References:  <1228748788.1832.18.camel@horst-tla>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 09, 2008 at 02:06:28AM +1100, Horst Günther Burkhardt III wrote:
> Hey y'all.
> 
> FreeBSD is working a treat. 
> 
> Except for one little thing.
> 
> I changed my CFLAGS in make.conf - then compiled a HEAP of stuff. Which
> mostly now just spits out SIGILL.
> 
> I have a PowerMac3,3 - Power Macintosh G4, 400MHz with 1MB cache.
> 
> my CFLAGS were -Os -pipe -mcpu=7400 -mtune=7400 -maltivec -mabi=altivec
> 
> I later changed that -Os to -O2 to no effect.
> 
> What happened? Can I please have some advice regarding CFLAGS to set?
> 
> (I'm contemplating removing altivec but would like advice from those
> more experienced than I.)
> 
> Thanks,
> -- Horst.

Your problem is Altivec - there is no altivec support in the kernel yet, so
you'll get SIGILL whenever it hits an altivec instruction.

- Justin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081208151307.GA41398>