Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: macppc vs evbppc binary packages



On Apr 18, 2012, at 10:23 AM, Greg Troxel wrote:

> 
> Matt Thomas <matt%3am-software.com@localhost> writes:
> 
>> On Apr 18, 2012, at 9:29 AM, Greg Troxel wrote:
>> 
>>> 
>>> We are trying to build packages on some evbppc systems (under
>>> -6/current) and finding them a bit crashy under load.  So I am wondering
>>> to what extent packages built on a macppc (that's from 2001 or so,
>>> dual-core 500 Mhz G3) will run on an evbppc.   I would expect all the
>>> instructions in the G3 to be present in the new chips (although I
>>> understand the memory management architecture is different).   But, I
>>> wonder if the ABI is somehow different.  I'd appreciate advice voting
>>> for:
>> 
>> The problem is your evbppc systems don't emulate the OEA FP instructions.
>> So when it encounters one, it will get a SIGILL.
>> 
>> We could put the fpemul code in the kernel but that code isn't that
>> modular and need some help to work on non-IBM4xx.
> 
> So if I modified the compiler on the macppc to have soft-float as
> default, it might work?

Yes.  Use -msoft-float


Home | Main Index | Thread Index | Old Index