Re: [Pharo-project] NativeBoost linux 8 byte structures

2013-01-28 Thread Eliot Miranda
On Sun, Jan 27, 2013 at 2:26 PM, Ciprian Teodorov < ciprian.teodo...@gmail.com> wrote: > Hi Guys, > > Today I wanted to test my TalkFFI project on linux, and I run into some NB > issue. > It seems that the VM crashes when trying to invoke a function returning a > 8 byte structure. > I have tried w

Re: [Pharo-project] NativeBoost linux 8 byte structures

2013-01-28 Thread Nicolas Cellier
See also this thread http://lists.gforge.inria.fr/pipermail/pharo-project/2012-May/064140.html, and this link http://www.shell-storm.org/papers/files/657.pdf to give you an idea of how messy every-one-else-but-your-own low level code can be... Nicolas 2013/1/28 Eliot Miranda : > > > On Sun, Jan 2

Re: [Pharo-project] NativeBoost linux 8 byte structures

2013-01-29 Thread Igor Stasenko
i guess bets would be to detect that programmatically, i.e. make a function which returns struct (inside VM/plugin) and check the result, instead of relying on ifdefs.. and yes, this is a mess :) On 28 January 2013 23:58, Ciprian Teodorov wrote: > Thank you guys, > > you got me started... I've s