Hi, all,
I've created a pull request in LuaJIT upstream for fixing lightud for 48
bit VA:
https://www.freelists.org/post/luajit/fix-lightud-type-for-48bit-virtual-ad…
Please help take a look if you have time, thanks!
Because this issue introduces changes in generic code base and may also
affect other platform with 48 bit virtual address configuration, I feel
discuss it in upstream may be more appropriate.
--
Best regards,
Zhongwei
Hi everyone,
Will anyone be going to FOSDEM 2017? We plan to propose a talk (current
state, improvements for selected 64-bit architecures) for the lua-devroom,
if you are there and interested, that would be a good time to discuss LuaJIT
limits and future work (in case you plan any).
Regards,
Petar
Hi Petar, Djordje, Stefan,
Could you update is on the progress of the clean up work you are doing
to prepare the ARM64 Luajit port for upstreaming?
Thanks
Charles
Hi all,
So far we found 2 issues in the LuaJIT project :
- light userdata problem on 48-bit VA kernel.
- Currently, Zhongwei is looking into it. The plan is to get a
workable solution and push to upstream to discuss the problem.
- wrk doesn't work with LuaJIT.(Unknown cause, reproduced on SoftIron)
- Currently, we don't have bandwidth to look into that.
So for the wrk related issue, it would be very appreciated if anyone can
take a look.
Steps to reproduce the problem :
- Build and install wrk
echo "===== Install libssl-dev which is needed by wrk"
apt-get -y install libssl-dev
echo "===== Download, build and install LuaJIT-2.1 which is also needed by
wrk"
wget -O /root/LuaJIT-2.1.zip
https://github.com/LuaJIT/LuaJIT/archive/v2.1.zip # having problems with
both on upstream and linaro branches
unzip /root/LuaJIT-2.1.zip -d /root/
make PREFIX=/usr install -C /root/LuaJIT-2.1
ln -sf luajit-2.1.0-beta2 /usr/bin/luajit
echo "===== Download wrk"
wget -O /root/wrk-4.0.2.zip https://github.com/wg/wrk/archive/4.0.2.zip
unzip /root/wrk-4.0.2.zip -d /root/
echo "===== Patch wrk to use luajit-2.1 rather than luajit-2.0"
sed -i 's/luajit-2.0/luajit-2.1/g' /root/wrk-4.0.2/src/*
echo "===== Build and install wrk"
make WITH_LUAJIT=/usr WITH_OPENSSL=/usr -C /root/wrk-4.0.2
cp /root/wrk-4.0.2/wrk /usr/bin/
- run
wrk -d 1s -c 1 http://www.google.com
PANIC: unprotected error in call to Lua API
Regards,
Zheng