Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package luajit for openSUSE:Factory checked in at 2022-03-28 16:58:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/luajit (Old) and /work/SRC/openSUSE:Factory/.luajit.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "luajit" Mon Mar 28 16:58:13 2022 rev:4 rq:964404 version:2.1.0~beta3+git.1647772157.43ebb949 Changes: -------- --- /work/SRC/openSUSE:Factory/luajit/luajit.changes 2021-10-30 23:14:30.723092904 +0200 +++ /work/SRC/openSUSE:Factory/.luajit.new.1900/luajit.changes 2022-03-28 16:58:15.760782023 +0200 @@ -1,0 +2,86 @@ +Wed Mar 23 21:33:11 UTC 2022 - mc...@cepl.eu + +- Update to version 2.1.0~beta3+git.1647772157.43ebb949: + * Fix soft-float IR_POW splitting. + * Fix BC_UCLO insertion for returns. + * Fix compiler warning. + * Revert to trival pow() optimizations to prevent inaccuracies. + * Fix string buffer COW handling, part 2. + * Fix install docs for Android. + * *BSD: Fix getentropy() declaration. + * Fix string buffer COW handling. + * Fix command-line argv handling. + * Don't export internal symbol. + * Fix pow() optimization inconsistencies. + * Always exit after machine code page protection change fails. + * Fix FOLD rule for BUFHDR append with intervening buffer use. + * Fix compiled error handling for buffer methods. + * Prevent unroll across BC_ITERN. + * Prevent replay of buffer operation for PHI operands. + * Save trace recorder state around VM event call. + * Bump copyright date. + * FFI: Ensure library is loaded before de-serializing FFI types. + * Fix HREFK forwarding vs. table.clear(). + * Fix FOLD rule for BUFHDR append. + * OSX: Disable unreliable assertion for external frame unwinding. + * Limit exponent range in number parsing. + * Fix tonumber("-0") in dual-number mode. + * Limit work done in SINK pass. + * Fix ABC FOLD rule with constants. + * Prevent CSE of a REF_BASE operand across IR_RETF. + * Windows: Fix binary output of jit.bcsave to stdout. + * Fix FOLD rule for x-0. + * Update Android build docs. + * Update Android build docs. + * ARM64: Fix pcall() error case. + * OSX/ARM64: Fix external unwinding. + * Fix string buffer method recording. + * Fix interaction of profiler and ITERN recording. + * Fix compilation of multi-result call to next(). + * ARM64: Fix IR_HREF code generation. + * MIPS64: Fix soft-float IR_TOSTR. + * MIPS: Fix register allocation in assembly of HREF. + * Fix compiler warning. + * Windows/x64: Document MSVC flags for C++ exception interoperability. + * FFI: Ensure returned string is alive in ffi.typeinfo(). + * OSX/ARM64: Disable unwind info. + * Fix stack allocation after on-trace stack check. + * Fix ITERN blacklisting. + * Ensure ITERN forward progress on interpreter bailout. + * ARM64: Reorder interpreter stack frame and fix unwinding. + * Don't bail out to interpreter to JLOOP originating from ITERN. + * FFI: Don't load PC from non-function object in FFI continuation. + * FFI: Don't load PC from non-function object in FFI continuation. + * FFI: Fix missing cts->L initialization in argv2ctype(). + * OSX/ARM64: Disable external unwinding for now. + * Compile table traversals: next(), pairs(), BC_ISNEXT/BC_ITERN. + * Use IR_HIOP for generalized two-register returns. + * Refactor table traversal. + * ARM: Fix symbol display in trace disassembly. + * Refactor IR_TMPREF generation. + * Refactor IR_VLOAD to take an offset. + * MIPS: Fix trace linking. + * String buffers, part 4b: Improve de-serialization checks. + * String buffers, part 4a: Add metatable serialization dictionary. + * Consider slots used by upvalues in use-def analysis. + * Prevent loop in snap_usedef(). + * Fix io.close() error message. + * Fix io.close(). + * Fix minilua vararg stack handling. + * PS4: Fix compile. + * Avoid out-of-range number of results when compiling select(k, ...). + * String buffers, part 3d: Compile string buffer methods and functions. + * Minor improvements of optimizations. + * Fix error message in lj_lib_checkintrange(). + * String buffers, part 2f: Prevent self-put of buffer. + * String buffers, part 3c: Add IRBUFHDR_WRITE mode. + * Fix IRXLOAD_* mode bits description. + * String buffers, part 3b: Change IR_BUFHDR op2 mode bits to mode. + * String buffers, part 3a: Add IR_TMPREF for passing TValues to helpers. + * Add IRCONV_NONE for pass-through INT to I64/U64 type change. + * Fix jit.dump() output for IR_CONV. +- Patches broken in the need of rebase (temporarily switched off): + - 0004-Add-ppc64-support-based-on-koriakin-GitHub-patchset.patch + - luajit-ppc64-replace-asserts.patch + +------------------------------------------------------------------- Old: ---- luajit-2.1.0~beta3+git.1624618403.e9577376.tar.xz New: ---- luajit-2.1.0~beta3+git.1647772157.43ebb949.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ luajit.spec ++++++ --- /var/tmp/diff_new_pack.jsdDZY/_old 2022-03-28 16:58:17.632784566 +0200 +++ /var/tmp/diff_new_pack.jsdDZY/_new 2022-03-28 16:58:17.636784571 +0200 @@ -1,7 +1,7 @@ # # spec file for package luajit # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ %define realver -2.1.0-beta3 Name: luajit -Version: 2.1.0~beta3+git.1624618403.e9577376 +Version: 2.1.0~beta3+git.1647772157.43ebb949 Release: 0 Summary: JIT compiler for Lua language License: MIT @@ -34,11 +34,12 @@ Patch2: 0002-Enable-debugging-symbols-in-the-build.patch # https://salsa.debian.org/lua-team/luajit/-/raw/master/debian/patches/0003-Get-rid-of-LUAJIT_VERSION_SYM-that-changes-ABI-on-ev.patch Patch3: 0003-Get-rid-of-LUAJIT_VERSION_SYM-that-changes-ABI-on-ev.patch -# https://salsa.debian.org/lua-team/luajit/-/raw/master/debian/patches/0004-Add-ppc64-support-based-on-koriakin-GitHub-patchset.patch -Patch4: 0004-Add-ppc64-support-based-on-koriakin-GitHub-patchset.patch -Patch5: luajit-ppc64-replace-asserts.patch # Most recent s390x patches at https://github.com/luajit/luajit/pull/631 -Patch6: luajit-s390x.patch +Patch4: luajit-s390x.patch +# https://salsa.debian.org/lua-team/luajit/-/raw/master/debian/patches/0004-Add-ppc64-support-based-on-koriakin-GitHub-patchset.patch +# Patch again out of sync, gh#LuaJIT/LuaJIT#140 +Patch5: 0004-Add-ppc64-support-based-on-koriakin-GitHub-patchset.patch +Patch6: luajit-ppc64-replace-asserts.patch BuildRequires: pkgconfig Requires: %{name}-%{lib_version}-%{so_version} = %{version} Obsoletes: lua51-luajit <= 2.2.0 @@ -65,7 +66,9 @@ Devel files for luajit package %prep -%autosetup -p1 +%setup -q +# PPC64 patches are out of sync +%autopatch -p1 -M 4 # Fix variables sed -i "s,PREFIX= %{_prefix}/local,PREFIX= %{_prefix}," Makefile ++++++ 0002-Enable-debugging-symbols-in-the-build.patch ++++++ --- /var/tmp/diff_new_pack.jsdDZY/_old 2022-03-28 16:58:17.660784604 +0200 +++ /var/tmp/diff_new_pack.jsdDZY/_new 2022-03-28 16:58:17.664784609 +0200 @@ -3,14 +3,12 @@ Subject: Enable debugging symbols in the build --- - src/Makefile | 4 ++-- + src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -diff --git a/src/Makefile b/src/Makefile -index 8a38efd..6b73a89 100644 --- a/src/Makefile +++ b/src/Makefile -@@ -54,9 +54,9 @@ CCOPT_arm64= +@@ -55,9 +55,9 @@ CCOPT_arm64= CCOPT_ppc= CCOPT_mips= # ++++++ 0003-Get-rid-of-LUAJIT_VERSION_SYM-that-changes-ABI-on-ev.patch ++++++ --- /var/tmp/diff_new_pack.jsdDZY/_old 2022-03-28 16:58:17.676784626 +0200 +++ /var/tmp/diff_new_pack.jsdDZY/_new 2022-03-28 16:58:17.680784631 +0200 @@ -3,16 +3,14 @@ Subject: Get rid of LUAJIT_VERSION_SYM that changes ABI on every patch release --- - src/lj_dispatch.c | 5 ----- - src/luajit.c | 2 -- - src/luajit.h | 3 --- - 3 files changed, 10 deletions(-) + src/lj_dispatch.c | 5 ----- + src/luajit.c | 1 - + src/luajit.h | 3 --- + 3 files changed, 9 deletions(-) -diff --git a/src/lj_dispatch.c b/src/lj_dispatch.c -index 5d6795f..e865a78 100644 --- a/src/lj_dispatch.c +++ b/src/lj_dispatch.c -@@ -319,11 +319,6 @@ int luaJIT_setmode(lua_State *L, int idx, int mode) +@@ -318,11 +318,6 @@ int luaJIT_setmode(lua_State *L, int idx return 1; /* OK. */ } @@ -24,24 +22,19 @@ /* -- Hooks --------------------------------------------------------------- */ /* This function can be called asynchronously (e.g. during a signal). */ -diff --git a/src/luajit.c b/src/luajit.c -index 1ca2430..ccf425e 100644 --- a/src/luajit.c +++ b/src/luajit.c -@@ -516,8 +516,6 @@ static int pmain(lua_State *L) +@@ -515,7 +515,6 @@ static int pmain(lua_State *L) + int argn; + int flags = 0; globalL = L; - if (argv[0] && argv[0][0]) progname = argv[0]; - - LUAJIT_VERSION_SYM(); /* Linker-enforced version check. */ -- + argn = collectargs(argv, &flags); if (argn < 0) { /* Invalid args? */ - print_usage(); -diff --git a/src/luajit.h b/src/luajit.h -index 708a5a1..35ae02c 100644 --- a/src/luajit.h +++ b/src/luajit.h -@@ -73,7 +73,4 @@ LUA_API void luaJIT_profile_stop(lua_State *L); +@@ -73,7 +73,4 @@ LUA_API void luaJIT_profile_stop(lua_Sta LUA_API const char *luaJIT_profile_dumpstack(lua_State *L, const char *fmt, int depth, size_t *len); ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.jsdDZY/_old 2022-03-28 16:58:17.720784686 +0200 +++ /var/tmp/diff_new_pack.jsdDZY/_new 2022-03-28 16:58:17.724784691 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/LuaJIT/LuaJIT.git</param> - <param name="changesrevision">e957737650e060d5bf1c2909b741cc3dffe073ac</param></service></servicedata> + <param name="changesrevision">43ebb949a249a16c49d232ad24dc9127cc4302bb</param></service></servicedata> (No newline at EOF) ++++++ luajit-2.1.0~beta3+git.1624618403.e9577376.tar.xz -> luajit-2.1.0~beta3+git.1647772157.43ebb949.tar.xz ++++++ ++++ 9222 lines of diff (skipped) ++++++ luajit-lua-versioned.patch ++++++ --- /var/tmp/diff_new_pack.jsdDZY/_old 2022-03-28 16:58:17.984785044 +0200 +++ /var/tmp/diff_new_pack.jsdDZY/_new 2022-03-28 16:58:17.988785050 +0200 @@ -1,28 +1,12 @@ -Index: LuaJIT-2.1.0-beta3/src/Makefile -=================================================================== ---- LuaJIT-2.1.0-beta3.orig/src/Makefile -+++ LuaJIT-2.1.0-beta3/src/Makefile -@@ -15,6 +15,7 @@ MINVER= 1 - RELVER= 0 - ABIVER= 5.1 - NODOTABIVER= 51 -+SUFFIX= 5_1 - - ############################################################################## - ############################# COMPILER OPTIONS ############################# -@@ -512,7 +513,7 @@ LIB_VMDEFP= $(LIB_VMDEF) - LUAJIT_O= luajit.o - LUAJIT_A= libluajit.a - LUAJIT_SO= libluajit.so --LUAJIT_T= luajit -+LUAJIT_T= luajit-$(SUFFIX) - - ALL_T= $(LUAJIT_T) $(LUAJIT_A) $(LUAJIT_SO) $(HOST_T) - ALL_HDRGEN= lj_bcdef.h lj_ffdef.h lj_libdef.h lj_recdef.h lj_folddef.h \ -Index: LuaJIT-2.1.0-beta3/Makefile -=================================================================== ---- LuaJIT-2.1.0-beta3.orig/Makefile -+++ LuaJIT-2.1.0-beta3/Makefile +--- + Makefile | 15 ++++++++------- + etc/luajit.pc | 2 +- + src/Makefile | 3 ++- + src/luaconf.h | 2 +- + 4 files changed, 12 insertions(+), 10 deletions(-) + +--- a/Makefile ++++ b/Makefile @@ -19,6 +19,7 @@ RELVER= 0 PREREL= -beta3 VERSION= $(MAJVER).$(MINVER).$(RELVER)$(PREREL) @@ -56,7 +40,7 @@ INSTALL_ANAME= libluajit-$(ABIVER).a INSTALL_SOSHORT1= libluajit-$(ABIVER).so INSTALL_SOSHORT2= libluajit-$(ABIVER).so.$(MAJVER) -@@ -79,7 +80,7 @@ LDCONFIG= ldconfig -n +@@ -79,7 +80,7 @@ LDCONFIG= ldconfig -n 2>/dev/null SED_PC= sed -e "s|^prefix=.*|prefix=$(PREFIX)|" \ -e "s|^multilib=.*|multilib=$(MULTILIB)|" @@ -74,10 +58,8 @@ cd etc && $(SED_PC) $(FILE_PC) > $(FILE_PC).tmp && \ $(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \ $(RM) $(FILE_PC).tmp -Index: LuaJIT-2.1.0-beta3/etc/luajit.pc -=================================================================== ---- LuaJIT-2.1.0-beta3.orig/etc/luajit.pc -+++ LuaJIT-2.1.0-beta3/etc/luajit.pc +--- a/etc/luajit.pc ++++ b/etc/luajit.pc @@ -10,7 +10,7 @@ multilib=lib exec_prefix=${prefix} libdir=${exec_prefix}/${multilib} @@ -87,10 +69,27 @@ INSTALL_LMOD=${prefix}/share/lua/${abiver} INSTALL_CMOD=${prefix}/${multilib}/lua/${abiver} -Index: LuaJIT-2.1.0-beta3/src/luaconf.h -=================================================================== ---- LuaJIT-2.1.0-beta3.orig/src/luaconf.h -+++ LuaJIT-2.1.0-beta3/src/luaconf.h +--- a/src/Makefile ++++ b/src/Makefile +@@ -15,6 +15,7 @@ MINVER= 1 + RELVER= 0 + ABIVER= 5.1 + NODOTABIVER= 51 ++SUFFIX= 5_1 + + ############################################################################## + ############################# COMPILER OPTIONS ############################# +@@ -512,7 +513,7 @@ LIB_VMDEFP= $(LIB_VMDEF) + LUAJIT_O= luajit.o + LUAJIT_A= libluajit.a + LUAJIT_SO= libluajit.so +-LUAJIT_T= luajit ++LUAJIT_T= luajit-$(SUFFIX) + + ALL_T= $(LUAJIT_T) $(LUAJIT_A) $(LUAJIT_SO) $(HOST_T) + ALL_HDRGEN= lj_bcdef.h lj_ffdef.h lj_libdef.h lj_recdef.h lj_folddef.h \ +--- a/src/luaconf.h ++++ b/src/luaconf.h @@ -37,7 +37,7 @@ #endif #define LUA_LROOT "/usr/local" ++++++ luajit-ppc64-replace-asserts.patch ++++++ --- /var/tmp/diff_new_pack.jsdDZY/_old 2022-03-28 16:58:18.004785072 +0200 +++ /var/tmp/diff_new_pack.jsdDZY/_new 2022-03-28 16:58:18.004785072 +0200 @@ -1,23 +1,4 @@ -Index: luajit-2.1.0~beta3+git.1624618403.e9577376/src/lj_ccallback.c -=================================================================== ---- luajit-2.1.0~beta3+git.1624618403.e9577376.orig/src/lj_ccallback.c -+++ luajit-2.1.0~beta3+git.1624618403.e9577376/src/lj_ccallback.c -@@ -216,7 +216,7 @@ static void *callback_mcode_init(global_ - *p++ = (uint64_t)vm_toc; - *p++ = (uint64_t)g | ((uint64_t)slot << 47); - } -- lua_assert(p - page <= CALLBACK_MCODE_SIZE / 8); -+ lj_assertG_(g, p - page <= CALLBACK_MCODE_SIZE / 8, "CALLBACK_MCODE_SIZE too small for CALLBACK_MAX_SLOT"); - return p; - } - #else -@@ -227,7 +227,7 @@ static void *callback_mcode_init(global_ - MSize slot; - #if LJ_ARCH_PPC_ELFV2 - // Needs to be in sync with lj_vm_ffi_callback. -- lua_assert(CALLBACK_MCODE_SIZE == 4096); -+ lj_assertG_(g, CALLBACK_MCODE_SIZE == 4096, "CALLBACK_MCODE_SIZE has unexpected size"); - for (slot = 0; slot < CALLBACK_MAX_SLOT; slot++) { - *p = PPCI_B | (((page+CALLBACK_MAX_SLOT-p) & 0x00ffffffu) << 2); - p++; +--- + 0 files changed + ++++++ luajit-s390x.patch ++++++ ++++ 1400 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/luajit/luajit-s390x.patch ++++ and /work/SRC/openSUSE:Factory/.luajit.new.1900/luajit-s390x.patch