[nightly] 11-Oct-2004 build of STABLE on Darwin 7.5.0
wolfgang.thaller at gmx.net
Mon Oct 11 11:54:09 EDT 2004
Simon Marlow wrote:
> On 10 October 2004 21:01, Sean David Seefried wrote:
>> Build description = STABLE on Darwin 7.5.0 powerpc (Stealth.local)
>> Unexpected failures:
> Interesting: all ffi003 failures are via native code. Wolfgang?
Yes... in fact, the test case is wrong here. It calls printf, a
variable-argument function, via the ffi, and passes it a double.
Variable argument functions are officially unsupported by the FFI, and
really unsupported on PPC if you pass them a floating point value.
The calling convention is different in that case, and there's no way
for GHC to know.
> Any idea about this one?
Grmpf. I still only support six parameters for foreign import
"wrapper". Mac OS X's stack alignment requirement of 16 bytes makes
this quite hard to do. I should probably just calculate the exact
[platform-specific] frame size in DsForeign, pass that value to
createAdjustor, and have the adjustor copy & reshuffle the stack frame
using that information. I'd say Won't Fix for the STABLE branch, and
someone please keep mentioning it to me until I do something for the
> Another NCG failure - should we ignore this and claim it's fixed in the
It is. I was not rounding often enough for single-precision floating
point in the old NCG.
> Probably because SIGPOLL is missing, like FreeBSD. Nothing to worry
> about, but you can create a darwin-specific output file to fix the
Right. SIGPOLL? What is SIGPOLL? There is no such thing as SIGPOLL.
SIGPOLL never existed, anywhere, ever. ;-)
> Could someone investigate these please?
I'll have a look...
More information about the Cvs-ghc