lua-users home
lua-l archive

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


> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
> Behalf Of Luiz Henrique de Figueiredo
> Sent: donderdag 11 december 2014 17:46
> To: lua-l@lists.lua.org
> Subject: [ANN] Lua 5.3.0 (rc0) now available
> 
> Lua 5.3.0 (rc0) is now available for testing at
> 	http://www.lua.org/work/lua-5.3.0-rc0.tar.gz
> 
> MD5	4692ad494c1d597888c03c5d6f278c40  -
> SHA1	5da073fe552a9f2e2da57be3cec32378a4c902e0  -
> 
> This is the first release candidate for the final release of Lua 5.3.0.
> 
> A few things have changed since beta that we'd like to test in the wild,
> hence rc0 instead of rc1. In particular, we made some changes in luaconf.h
> and in the Makefile that we'd like to test. Please try compiling the
> current code in as many platforms as possible. We expect the compilation to
> go smoothly as usual but please report any warnings or other glitches.
> 

I tested building it on Windows using my Windows build script/batchfile [1].

MinGW32 - Ok
MS Win7SDK 32 - Ok
MS Win7SDK 64 - Ok
TDM32 - Ok
TDM64 - Several warnings see below for details

These warnings are new to RC0, both Work3 and Alpha versions did not generate those warnings.

Note: I only build them and ran the interpreter once. Didn't run any tests.

Thijs

[1] https://github.com/Tieske/luawinmake


Full build log TDM 64;


Setting up environment for using MinGW with GCC from C:\TDM-GCC-64\.

C:\TDM-GCC-64>cd\temp\lua-5.3.0-rc0

C:\Temp\lua-5.3.0-rc0>etc\winmake clean
Cleaning...
Done.

C:\Temp\lua-5.3.0-rc0>etc\winmake

Checking source code to extract Lua version...
Lua version found: 5.3

Testing for MS...
cl wordt niet herkend als een interne
of externe opdracht, programma of batchbestand.
Testing for GCC...
gcc (tdm64-2) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Using GCC toolchain...

Now compiling CORE file set...
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lapi.o lapi.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lcode.o lcode.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lctype.o lctype.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o ldebug.o ldebug.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o ldo.o ldo.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o ldump.o ldump.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lfunc.o lfunc.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lgc.o lgc.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o llex.o llex.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lmem.o lmem.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lobject.o lobject.c
lobject.c: In function 'luaO_tostring':
lobject.c:327:5: warning: format '%d' expects argument of type 'int', but argume
nt 3 has type 'lua_Integer' [-Wformat=]
     len = lua_integer2str(buff, ivalue(obj));
     ^
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lopcodes.o lopcodes.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lparser.o lparser.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lstate.o lstate.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lstring.o lstring.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o ltable.o ltable.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o ltm.o ltm.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lundump.o lundump.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lvm.o lvm.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lzio.o lzio.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lauxlib.o lauxlib.c
Now compiling LIB file set...
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lbaselib.o lbaselib.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lbitlib.o lbitlib.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lcorolib.o lcorolib.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o ldblib.o ldblib.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o liolib.o liolib.c
liolib.c: In function 'g_write':
liolib.c:612:17: warning: format '%d' expects argument of type 'int', but argume
nt 3 has type 'lua_Integer' [-Wformat=]
                 ? fprintf(f, LUA_INTEGER_FMT, lua_tointeger(L, arg))
                 ^
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lmathlib.o lmathlib.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o loslib.o loslib.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lstrlib.o lstrlib.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o ltablib.o ltablib.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lutf8lib.o lutf8lib.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o loadlib.o loadlib.c
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o linit.o linit.c
Now compiling DLL file set...
gcc -O2 -Wall -DLUA_BUILD_AS_DLL -DLUA_COMPAT_ALL -c -o lua.o lua.c
Now compiling OTH file set...
gcc -O2 -Wall  -DLUA_COMPAT_ALL -c -o luac.o luac.c
luac.c: In function 'PrintConstant':
luac.c:269:2: warning: format '%d' expects argument of type 'int', but argument
2 has type 'lua_Integer' [-Wformat=]
  printf(LUA_INTEGER_FMT,ivalue(o));
  ^
gcc -shared -o lua53.dll  lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o
 lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o
ltm.o lundump.o lvm.o lzio.o lauxlib.o  lbaselib.o lbitlib.o lcorolib.o ldblib.o
 liolib.o lmathlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o loadlib.o linit.o
strip --strip-unneeded lua53.dll
gcc -o lua.exe -s lua.o lua53.dll -lm
ar rcu liblua53.a  lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o
llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o l
undump.o lvm.o lzio.o lauxlib.o  lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib
.o lmathlib.o loslib.o lstrlib.o ltablib.o lutf8lib.o loadlib.o linit.o
ranlib liblua53.a
gcc -o luac.exe   luac.o liblua53.a -lm

Build completed.

C:\Temp\lua-5.3.0-rc0>