Efika 5200B Project
Video Projector Systemin category Applications & Software
proposed by joslwah on 15th February 2006 (accepted on 20th March 2006)
Fixing callbacks in sbcl/linux/ppc
posted by joslwah on 14th November 2006
Currently fixing the "working port" of sbcl/ppc from darwin to linux. Well. The good news is that where darwin and linux are the same then it works. The bad news is that were they aren't they don't.
Currently seem to be three problems:
1) Callbacks trash the stack. Well, this one is fixed. At least it is fixed as far as I can tell subject to problems 2 and 3.
2) Having more than 8 float args in a callout to C loses those above 8. Ooops. This one is currently at the "lets have a look at the generated assembly". We'll have to see how it goes.
3) Passing long longs to a callout doesn't work. This doesn't actually need to be done for the ABI. It is optional. Have to see how difficult it will be.
Good news is that I now think I've got a grip on the differences between the darwin and linux ABIs. Bad news is that I'm not sure how much use it will be after solving these problems!