On Mon, 2008-10-27 at 16:42 +0100, Nicolas Cannasse wrote:
> 
> Seems strange. Can you try to compile with -g , then use gdb to get a 
> backtrace to check where it's occurring.

sorry, i can't. the box running it is an asus wl500gp router box, with
very limited resources, and primarily, no gdb package. and packaging
neko was hard enough ;)

i found -Os to be the cause after i've inserted some printfs into
load_primitive() and it suddenly started working. so i expected some
part of it would be wrongly optimized away by -Os (though, of course, in
a beautiful world, that shouldnt happen).

> Neko definitely benefits from -O3

sure. but even though those router boxes have very little power cpus
(mines a 200 or 300Mhz i think), storage and memory space is even more
constrained... that's why all packages on OpenWRT default to compilation
with -Os (optimize for size).

-dan



-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to