Re: pegasosII crash at boot with -current

Michael <[email protected]> Wed, 1 Dec 2010 15:45:39 -0500
Newsgroups gmane.os.netbsd.ports.powerpc,gmane.os.netbsd.ports.ofppc
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 1, 2010, at 3:35 PM, Allen Briggs wrote:

> On Wed, Dec 01, 2010 at 09:29:03PM +0100, Frank Wille wrote:
>> But our G4s should be able to execute AltiVec code (I have a 7447A)  
>> - maybe
>> something is not correctly set up at this early point in main()?
>
> Should the kernel be able to execute AltiVec code?  Or should it be
> treated like the FPU?

I dimly remember running into the same problem years ago when gcc3  
( or was it 4 ? ) started to emit altivec instructions if the CPU  
flags allowed it to. The solution was to build all kernels with -mno- 
altivec when using -mcpu=74xx.
IIRC the consensus back then was to treat altivec like the FPU and  
don't use it in the kernel.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBTPaz9MpnzkX8Yg2nAQLZfwgArkUFaI9N9XR+5JqStitT6cNSTxk365C1
KH9kpRNDO3oTHK2xf0pZWxl3Sux1716SYLuoN5RhEPQAvJXrRAdTOjS5xTpEO00Q
d/v86p/yQGx/P7+t45byfcuAz2hIir8iTtQ2H3uCKRVv9iR5VSOHYzZD96x6swO6
XhdI8NrIPC3I4JzWWe520/ndW2cnMYpF3sDkM2CTN0nZMOZaAtmXiHnC1k564bOq
VKY41Q1dArZ2nt7FgN+2x7zFmVNLpqXDsDbAS2m2bcqBGZsg3F63JKk0BJ9CbYKz
8Ug9mutcsvj0VfzZWs6FVvnBygaN9GXYD0u39QtCn2gmeopiTDuUeg==
=6DGg
-----END PGP SIGNATURE-----