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

Re: libffi on m68k failures



On Mon, Jan 16, 2012 at 12:37:49PM +0000, Alan Hourihane wrote:
On 14/01/12 20:04, Thorsten Glaser wrote:
>Andreas Schwab dixit:
>
>>Thorsten Glaser<tg@mirbsd.de>  writes:
>>
>>>The floating point errors are to be expected (on the emulator),
>>No, they aren't.
>OK. With that patch, we’re here:

Attached a patch to fix the err_bad_abi.c failure.

The return_sc problem looks like it could be a GCC bug with
optimizations as it doesn't happen with -O0.

this could also mean the function was returning a  pointer and there
was some mismatch where calling function expected integer value in d0 while pointers return in a0. With -O0 this often happens to work as the compiler generates an intermediate move to d0 which would be optimised away with -O2.


Richard

---
Name and OpenPGP keys available from pgp key servers


Reply to: