Sane CFLAGS.
Justin Hibbits
jrh29 at alumni.cwru.edu
Mon Dec 8 07:13:49 PST 2008
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
More information about the freebsd-ppc
mailing list