On 2012-02-24 11:24, Gustavo Zacarias wrote:
On 2012-02-23 20:31, Charles Krinke wrote:
quoted
I am working with buildroot and a powerpc 8321 and have a question
about Lua. I can select it and compile it into the rootfs.jffs2, but
when run, it says "lua: table index is Nan" and I am told this has
to
do with soft float not being supported in Lua.
Is there a way to get Lua to work in a MPC8323 environment. A follow
on question is if there are any pitfalls to be expected with the
other
scripting languages microperl, php, python, tcl or ruby.
I'm using it on a MPC8315, which is basically the same processor,
without any issues.
Maybe some toolchain snafu?
In my case it's internal with uclibc-0.9.33, gcc-4.6.2 and
binutils-2.22 optimized for an e300c3 core.
All of this would amount to hard float.
Any special test case to trigger it or just starting up lua?
Regards.
Crazy man answers to his own mail... ;)
Ok, the mpc8323 is e300c2 which lacks hard float, so make sure you:
* Select e300c2 core
* Select BR2_SOFT_FLOAT
* -msoft-float is in BR2_TARGET_OPTIMIZATION
And try again if not, and let us know.