lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Apr 19, 2011 at 11:14:03AM +0100, David Given wrote:
> Josh Haberman wrote:
> [...]
> > Here's nsieve:
> 
> I've just tried building head-of-git on my SheevaPlug to see what the
> benchmarks are like; the SheevaPlug is interesting because its processor
> is a different genus from most other ARMs out there, being descended
> from the old StrongARM architecture.
> 
> Unfortunately after building it just fails:
> 
> $ luajit-2.0.0-beta6
> LuaJIT 2.0.0-beta6 -- Copyright (C) 2005-2011 Mike Pall. http://luajit.org/
> luajit-2.0.0-beta6: attempt to call a nil value

Having just tried myself, snap.  Identical hardware, but a different
compiler and distribution:

# gcc -v
Using built-in specs.
Target: arm-linux-gnueabi
Configured with: ../../configure --prefix=/.pkg/gcc4.3
--enable-languages=c,c++ --disable-nls --disable-multilib
--disable-sjlj-exceptions --build=arm-linux-gnueabi
--host=arm-linux-gnueabi --target=arm-linux-gnueabi
Thread model: posix
gcc version 4.3.2 (GCC)

Additionally:

# ./luajit -e 'print("hello")'
./luajit: (command line):1: attempt to call global 'print' (a nil value)
stack traceback:
	(command line):1: in main chunk
		[C]: ?

B.