Hi,
Could anyone else using Linux please see if LanguageKit trunk is working for 
you?
TestIntArithmetic fails for me, among other tests. Anything where I send a 
message to a BigInt fails, I think.
Thanks, 
Eric

PS.
On my system, functions with a return type of:

struct { void *ptr; }

are compatible with 

union { void *ptr; }

(but not plain void *ptr)


On 2010-02-02, at 11:27 PM, Eric Wasylishen wrote:

> Hey,
> 
> In the linux x86 ABI, it looks like a function returning a union consisting 
> of a pointer has a different calling convention than a function returning a 
> pointer.
> 
> My test program gives me:
> returnUnion called with 42
> 
> on OS X and
> 
> returnUnion called with 134520820
> Segmentation fault
> 
> on my Linux VM. I think this is why LK isn't working for me :-/
> 
> -Eric
> 
> <unions.c>


_______________________________________________
Etoile-dev mailing list
Etoile-dev@gna.org
https://mail.gna.org/listinfo/etoile-dev

Reply via email to