Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Dec 2008 13:50:13 -0600
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Justin Hibbits <jrh29@alumni.cwru.edu>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: Sane CFLAGS.
Message-ID:  <493D7A75.8010308@freebsd.org>
In-Reply-To: <20081208184851.GA42785@narn.knownspace>
References:  <1228748788.1832.18.camel@horst-tla>	<20081208151307.GA41398@narn.knownspace>	<1228755903.1832.21.camel@horst-tla> <493D5AE5.6020002@freebsd.org> <20081208184851.GA42785@narn.knownspace>

next in thread | previous in thread | raw e-mail | index | archive | help
Justin Hibbits wrote:
> On Mon, Dec 08, 2008 at 11:35:33AM -0600, Nathan Whitehorn wrote:
>   
>> Horst Günther Burkhardt III wrote:
>>     
>>> On Mon, 2008-12-08 at 10:13 -0500, Justin Hibbits wrote:
>>>   
>>>       
>>>> 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
>>>>     
>>>>         
>>> Wow, thanks. Dealt with. 
>>>
>>> So... considering I've built most things with those broken CFLAGS, how
>>> do I go about rebuilding everything I have installed ? :\
>>>
>>> (Also, how far along the line is Altivec support expected to be?) :\
>>>
>>> Thanks kindly,
>>> --Horst.
>>>   
>>>       
>> Assuming these are only ports, I would suggest rebuilding ruby by hand, 
>> then doing a portupgrade -fa, which will force rebuild all ports. If you 
>> rebuilt critical system components (gcc for instance) with these CFLAGS, 
>> you might have no option but to reinstall world from CD.
>>
>> Altivec support shouldn't be too very complicated to add to the kernel 
>> (a matter of saving/restoring vector registers and parsing VRSAVE), and 
>> is on my todo list when I have free time again and G5 support is imported.
>> -Nathan
>> _______________________________________________
>> freebsd-ppc@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"
>>     
>
> Nathan,
>
> 	I started working on Altivec support in the kernel, but haven't been
> 	successful.  I mostly started with a port from NetBSD, but if you want the
> 	patches I made, I'll be happy to send them your way.
>   
The "after I do x, y, z" above implies something like March, so please 
continue.
-Nathan



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