Thread (15 messages) flat view 15 messages, 1 author, 2015-04-02

[Buildroot] [Bug 7844] New: Lua with hard-float on MIPS by buildroot doesn't work

From: bugzilla at busybox.net <hidden>
Date: 2015-01-29 00:04:18

https://bugs.busybox.net/show_bug.cgi?id=7844

           Summary: Lua with hard-float on MIPS by buildroot doesn't work
           Product: buildroot
           Version: 2014.11
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: brotherjinho at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


I found something strange.

I wrote simple script that print the variable in Lua. It worked on x86 on
linux. I tried to run it on my target device that is MIPS little endian. I
prepared the lua by buildroot. I used 'hard-float' option for performance
issue. But this simple script doesn't work. I used Sourcery CodeBench.

I tested it with 'soft-float' option. Then lua worked correctly. Have you the
experience like that?

The lua code is like below.

=================
local var = 131523;
print(var);
=================

It must print 131523. But my target printed 0 . What's wrong?

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help