Open galenzhao opened 2 years ago
build LFS image success with multi Lua files.
./luac.cross.int -f -l ****1.lua ****2.lua function <./display.lua:124,126> (5 instructions, 20 bytes at 0x1b0f620) 2 params, 5 slots, 1 upvalue, 0 locals, 1 constant, 0 functions 1 [125] GETUPVAL 2 0 ; - 2 [125] SELF 2 2 -1 ; "setPowerSave" 3 [125] MOVE 4 1 4 [125] CALL 2 3 1 5 [126] RETURN 0 1 ASSERT@../lapi.c(639): L->top < L->ci->top
it works well when I try to compile Lua files one by one
./luac.cross.int -f -l ****1.lua ./luac.cross.int -f -l ****2.lua function <./display.lua:124,126> (5 instructions, 20 bytes at 0x15c77a0) 2 params, 5 slots, 1 upvalue, 0 locals, 1 constant, 0 functions 1 [125] GETUPVAL 2 0 ; - 2 [125] SELF 2 2 -1 ; "setPowerSave" 3 [125] MOVE 4 1 4 [125] CALL 2 3 1 5 [126] RETURN 0 1 [root@instance-20210429-1058-centos srv]# ls -l
.
roll back to commit 136e0973 works well.
136e0973
Expected behavior
build LFS image success with multi Lua files.
Actual behavior
it works well when I try to compile Lua files one by one
.
roll back to commit
136e0973
works well.