lua-users home
lua-l archive

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


Brainfart....

objdump -T ./luajit
and
nm -T ./luajit

works just fine!

I got confused that "nm" works always for all symbols...

On 5/16/2011 2:07 PM, Dimiter "malkia" Stanev wrote:
Hm... I can't get any symbols out of luajit and I know it exports them
for linux and other platforms. "nm luajit" just gives "no symbols".

I think it has more to do with Efika MX Ubuntu's 10.10 rather than
luajit's Makefile, as other things are failing too (to find it's symbols).

Or the bintools nm is broken??

malkia@genesibox:~/p/luajit/src$ git log -1
commit dab4bcafba789c7954dc4f90623c81365dcedb7f
Author: Mike Pall <mike>
Date: Mon May 16 02:43:14 2011 +0200

Add target-specific macro for stack alignment in assembler backend.

malkia@genesibox:~/p/luajit/src$ ls -l luajit
-rwxr-xr-x 1 malkia malkia 161556 2011-05-16 13:52 luajit

malkia@genesibox:~/p/luajit/src$ nm luajit
nm: luajit: no symbols

malkia@genesibox:~/p/luajit/src$ size luajit
text data bss dec hex filename
157693 648 20 158361 26a99 luajit

malkia@genesibox:~/p/luajit/src$ ldd luajit
libm.so.6 => /lib/libm.so.6 (0x2aabd000)
libdl.so.2 => /lib/libdl.so.2 (0x2ab2b000)
libc.so.6 => /lib/libc.so.6 (0x2ab37000)
/lib/ld-linux.so.3 (0x54aaa000)

malkia@genesibox:~/p/luajit/src$ uname -a
Linux genesibox 2.6.31.14.20-efikamx #2 PREEMPT Mon Feb 28 21:18:36 CST
2011 armv7l GNU/Linux


On 5/11/2011 10:33 AM, Dimiter "malkia" Stanev wrote:
Some results on Efika MX smartbook (I'm very happy!):

Note: LuaJIT is running with (-joff, e.g. JIT off on this architecture
right now). But even without it, the results are impressive!

I would also test it on the Efika MX smarttop (very small cute device,
but I expect the same results).

This is running on Ubuntu 11.04 (just upgraded it from Ubuntu 10.10).

malkia@genesi:~/p/luajit$ git log -1
commit b79cdba3a06cbabb772535b5bce18d6460135845
Author: Mike Pall <mike>
Date: Tue May 10 16:55:23 2011 +0200

Tuning loop unrolling heuristics again.
malkia@genesi:~/p/luajit$ cat /proc/cpuinfo
Processor : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 799.53
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc08
CPU revision : 5

Hardware : Genesi Efika MX (Smartbook)
Revision : 51030
Serial : 0000000000000000
malkia@genesi:~/p/luajit$ lua ../scimark.lua
Lua SciMark 2010-12-10 based on SciMark 2.0a. Copyright (C) 2006-2010
Mike Pall.

FFT 1.36 [1024]
SOR 2.82 [100]
MC 0.90
SPARSE 1.58 [1000, 5000]
LU 1.89 [100]

SciMark 1.71 [small problem sizes]
malkia@genesi:~/p/luajit$ src/luajit ../scimark.lua
Lua SciMark 2010-12-10 based on SciMark 2.0a. Copyright (C) 2006-2010
Mike Pall.

FFT 2.14 [1024]
SOR 6.49 [100]
MC 1.72
SPARSE 4.70 [1000, 5000]
LU 5.39 [100]

SciMark 4.09 [small problem sizes]
malkia@genesi:~/p/luajit$