SHA256
10
0
forked from pool/luajit

68 Commits
devel ... main

Author SHA256 Message Date
0777392b5a - Don't do "buildtime" services for openSUSE packages, they are not permitted.
- Update to version 5.1.2.1.0+git.1753364724.871db2c8:
  * Windows: Add lua52compat option to msvcbuild.bat.
  * x86/x64: Don't use undefined MUL/IMUL zero flag.
  * Avoid out-of-range PC for stack overflow error from snapshot restore.
  * FFI: Fix dangling CType references (again).
  * Fix JIT slot overflow during up-recursion.
  * Avoid out-of-range PC for stack overflow error from snapshot restore.
  * FFI: Fix dangling CType references.
  * Prevent Clang UB 'optimization' which breaks integerness checks.
  * ARM: Fix soft-float math.min()/math.max().
  * ARM64: Fix pass-by-value struct calling conventions.
  * Fix error generation in load*.
  * Initialize unused value when specializing to cdata metatable.
2025-08-05 17:59:02 +02:00
0eca886cbd Update to version 5.1.2.1.0+git.1741730670.538a821:
* Change handling of nil value markers in template tables.
  * REVERT: Change handling of nil value markers in template tables.
  * macOS: Fix Apple hardened runtime support and put behind build option.
  * macOS: Fix support for Apple hardened runtime.
  * Fix handling of nil value markers in template tables.
  * Avoid unpatching bytecode twice after a trace flush.
  * Fix state restore when recording __concat metamethod.
  * Windows: Allow mixed builds with msvcbuild.bat.
  * macOS: Add suport for Apple hardened runtime.
  * Add compatibility string coercion for fp:seek() argument.
  * Windows: Clarify installation directory layout.
  * Remove Cygwin from docs, since it's not a supported target.
  * Improve CLI signal handling on POSIX.
  * FFI: Add pre-declared int128_t, uint128_t, __int128 types.
  * Use dylib extension for iOS installs, too.
  * Change handling of nil value markers in template tables.
  * Fix recording of BC_VARG.
  * Reject negative getfenv()/setfenv() levels to prevent compiler warning.
  * Bump copyright date.
  * Force fallback source name for stripped bytecode.
  * Remove dependency on <limits.h>.
  * Restore state when recording __concat metamethod throws OOM.
  * MIPS64: Fix pcall() error case.
  * Fix detection of inconsistent renames due to sunk values.
2025-03-27 13:37:04 +01:00
Muhammad Akbar Yanuar Mantari
ef41560105 Enable lua 5.2 compatibility (Needed for build aegisubs) 2025-03-27 13:37:04 +01:00
66244414a2 Accepting request 1228734 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/1228734
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=16
2024-12-08 10:36:22 +00:00
faead3941c Accepting request 1225213 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1731601260.fe71d0f:
  * Windows: Allow amalgamated static builds with msvcbuild.bat.
  * Always close profiler output file.
  * Fix override of INSTALL_LJLIBD in the presence of DESTDIR.
  * Fix bit op coercion for shifts in DUALNUM builds.

OBS-URL: https://build.opensuse.org/request/show/1225213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=15
2024-11-21 14:13:04 +00:00
62dd22d926 - Update to version 5.1.2.1.0+git.1731601260.fe71d0f:
* Windows: Allow amalgamated static builds with msvcbuild.bat.
  * Always close profiler output file.
  * Fix override of INSTALL_LJLIBD in the presence of DESTDIR.
  * Fix bit op coercion for shifts in DUALNUM builds.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=65
2024-11-20 07:25:55 +00:00
6a409334d8 Accepting request 1221954 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1727870382.97813fb:
  * macOS: Remove obsolete -single_module flag.
  * macOS: Workaround for buggy XCode 15.0 - 15.2 linker.
  * macOS: Fix macOS 15 / Clang 16 build.
  * Fix bit op coercion in DUALNUM builds.
  * Fix compiliation of getmetatable() for UDTYPE_IO_FILE.
  * Remove ancient RtlUnwindEx workaround for MinGW64.
  * Drop unused function wrapper.
- Update luajit-s390x.patch from
  gh#openresty/luajit2!195 (following the advice on
  gh#LuaJIT/LuaJIT!631#issuecomment-2459913131).

OBS-URL: https://build.opensuse.org/request/show/1221954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=14
2024-11-07 15:23:57 +00:00
9e9d7c2e53 Use obs_scm service instead.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=63
2024-11-06 21:04:02 +00:00
2bdc4eec01 Fir tarball name
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=62
2024-11-06 17:06:57 +00:00
9a90b953a6 - Update to version 5.1.2.1.0+git.1727870382.97813fb:
* macOS: Remove obsolete -single_module flag.
  * macOS: Workaround for buggy XCode 15.0 - 15.2 linker.
  * macOS: Fix macOS 15 / Clang 16 build.
  * Fix bit op coercion in DUALNUM builds.
  * Fix compiliation of getmetatable() for UDTYPE_IO_FILE.
  * Remove ancient RtlUnwindEx workaround for MinGW64.
  * Drop unused function wrapper.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=61
2024-11-06 17:05:33 +00:00
9cc6da6233 - Update luajit-s390x.patch from
gh#openresty/luajit2!195 (following the advice on
  gh#LuaJIT/LuaJIT!631#issuecomment-2459913131).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=60
2024-11-06 16:26:54 +00:00
01bfef0131 Accepting request 1196125 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1724512491.f725e44:
  * Fix limit check in narrow_conv_backprop().
  * Always use IRT_NIL for IR_TBAR.
  * ARM64: Use ldr literal to load FP constants.
  * FFI: Add missing coercion when recording 64-bit bit.*().
  * ARM64: Make tobit conversions match JIT backend behavior.
  * ARM: Make hard-float tobit conversions match JIT backend behavior.
  * FFI: Drop finalizer table rehash after GC cycle.
  * Fix another potential file descriptor leak in luaL_loadfile*().
  * MIPS32: Fix little-endian IR_RETF.
  * Correctly close VM state after early OOM during open.
  * Fix potential file descriptor leak in luaL_loadfile*().
  * Reflect override of INSTALL_LJLIBD in package.path.
  * ARM64: Use movi to materialize FP constants.
  * Add more FOLD rules for integer conversions.
  * Different fix for partial snapshot restore due to stack overflow.
  * Fix IR_ABC hoisting.
  * Limit CSE for IR_CARG to fix loop optimizations.
  * Call math.randomseed() without arguments to seed from system entropy.
  * Restore state when recording __concat metamethod throws an error.
  * Add build flag LUAJIT_DISABLE_TAILCALL to disable tailcall generation.
  * Clarify that lj_buf_shrink() does not keep any buffer data.
  * OSX: Fix installed luajit.pc.
  * FFI: Fix various issues in recff_cdata_arith.
  * Fix predict_next() in parser (for real now).
  * FFI: Fix __tostring metamethod access to enum cdata value.
  * Fix typo.
  * Handle partial snapshot restore due to stack overflow.
  * Update Nintendo Switch build script.
  * Prevent sanitizer warning in snap_restoredata().
  * Typo.
  * Limit number of string format elements to compile.
  * FFI: Clarify scalar boxing behavior.
  * Fix internal link in docs.
  * OSX/iOS: Fix SDK incompatibility.
  * Windows/MSVC: Cleanup msvcbuild.bat and always generate PDB.
  * Fix segment release check in internal memory allocator.
  * Fix compiler warning.
  * FFI: Turn FFI finalizer table into a proper GC root.
  * OSX/iOS: Always generate 64 bit non-FAT Mach-O object files.
  * Show name of NYI bytecode in -jv and -jdump.
  * Use generic trace error for OOM during trace stitching.
  * Fix serialization format docs.
  * Handle all types of errors during trace stitching.
  * Fix recording of __concat metamethod.
  * Prevent down-recursion for side traces.
  * Check frame size limit before returning to a lower frame.
  * FFI: Treat cdata finalizer table as a GC root.
  * Handle stack reallocation in debug.setmetatable() and lua_setmetatable().
- Update patches:
  - luajit-lua-versioned.patch
  - luajit-s390x.patch (update to the latest base code)

OBS-URL: https://build.opensuse.org/request/show/1196125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=13
2024-08-27 17:38:35 +00:00
6d7baaa627 - Update to version 5.1.2.1.0+git.1724512491.f725e44:
* Fix limit check in narrow_conv_backprop().
  * Always use IRT_NIL for IR_TBAR.
  * ARM64: Use ldr literal to load FP constants.
  * FFI: Add missing coercion when recording 64-bit bit.*().
  * ARM64: Make tobit conversions match JIT backend behavior.
  * ARM: Make hard-float tobit conversions match JIT backend behavior.
  * FFI: Drop finalizer table rehash after GC cycle.
  * Fix another potential file descriptor leak in luaL_loadfile*().
  * MIPS32: Fix little-endian IR_RETF.
  * Correctly close VM state after early OOM during open.
  * Fix potential file descriptor leak in luaL_loadfile*().
  * Reflect override of INSTALL_LJLIBD in package.path.
  * ARM64: Use movi to materialize FP constants.
  * Add more FOLD rules for integer conversions.
  * Different fix for partial snapshot restore due to stack overflow.
  * Fix IR_ABC hoisting.
  * Limit CSE for IR_CARG to fix loop optimizations.
  * Call math.randomseed() without arguments to seed from system entropy.
  * Restore state when recording __concat metamethod throws an error.
  * Add build flag LUAJIT_DISABLE_TAILCALL to disable tailcall generation.
  * Clarify that lj_buf_shrink() does not keep any buffer data.
  * OSX: Fix installed luajit.pc.
  * FFI: Fix various issues in recff_cdata_arith.
  * Fix predict_next() in parser (for real now).
  * FFI: Fix __tostring metamethod access to enum cdata value.
  * Fix typo.
  * Handle partial snapshot restore due to stack overflow.
  * Update Nintendo Switch build script.
  * Prevent sanitizer warning in snap_restoredata().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=58
2024-08-26 19:34:29 +00:00
18c0c7198a Accepting request 1154166 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1707061634.0d313b2:
  * Rework stack overflow handling.
  * Preserve keys with dynamic values in template tables when saving bytecode.
  * Prevent include of luajit_rolling.h.
  * Fix documentation bug about '\z' string escape.
  * Fix zero stripping in %g number formatting.
  * Fix unsinking of IR_FSTORE for NULL metatable.
  * DynASM/x86: Add endbr instruction.
  * MIPS64 R2/R6: Fix FP to integer conversions.
  * Add cross-32/64 bit and deterministic bytecode generation.
  * DynASM/x86: Allow [&expr] operand.
  * Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.
  * Respect jit.off() on pending trace exit.
  * Simplify handling of instable types in TNEW/TDUP load forwarding.
  * Only emit proper parent references in snapshot replay.
  * Fix anchoring for string buffer set() method (again).
  * ARM: Fix stack restore for FP slots.
  * Document workaround for multilib vs. cross-compiler conflict.
  * Fix anchoring for string buffer set() method.
  * Fix runtime library flags for MSVC debug builds.
  * Fix .debug_abbrev section in GDB JIT API.
  * Optimize table.new() with constant args to (sinkable) IR_TNEW.
  * Emit sunk IR_NEWREF only once per key on snapshot replay.
  * Fix last commit.
  * x86/x64: Don't fuse loads across IR_NEWREF.
  * Improve last commit.
  * x86/x64: Don't fuse loads across table.clear.
  * x86/x64: Add more red zone checks to assembler backend.
  * Add stack check to pcall/xpcall.
  * Invalidate SCEV entry when returning to lower frame.
  * FFI: Fix pragma push stack limit check and throw on overflow.
  * ARM64: Fix disassembly of ldp/stp offsets.
  * Check for upvalue state transition in IR_UREFO.
  * x64: Properly fix __call metamethod return dispatch.
  * Windows/x86: _BitScan*64 are only available on 64 bit archs.
  * Add 'cc' file type for saving bytecode.
  * FFI/Windows: Fix type declaration for int64_t and uint64_t.
  * FFI: Fix dangling reference to CType in carith_checkarg().
  * DynASM/ARM64: Support ldp/stp of q registers.
  * ARM64: Use ADR and ADRP to form constants.
  * ARM64: Fix disassembly of U12 loads.
  * ARM64: Unify constant register handling in interpreter.
  * ARM: Fix register hint for FFI calls with FP results.
  * ARM64: Fix register hint for FFI calls with FP results.
  * ARM64: Restore fp before sp in C stack unwinders.
  * FFI: Fix ffi.abi("pauth").
  * Maintain chain invariant in DCE.
  * LJ_FR2: Fix stack checks in vararg calls.
  * Follow-up fix for stack overflow handling cleanup.
  * Handle OOM error on stack resize in coroutine.resume and lua_checkstack.
  * Restore cur_L for specific Lua/C API use case.
  * Consistently use 64 bit constants for 64 bit IR instructions.
  * ARM64: Fix IR_HREF code generation for constant FP keys.
  * ARM64: Fuse negative 32 bit constants into arithmetic ops again.
  * Handle all stack layouts in (delayed) TRACE vmevent.
  * Add missing coercion when recording select(string, ...)
  * Cleanup stack overflow handling.
  * Windows/ARM64: Add MSVC cross-build support for x64 to ARM64.
  * IR_MIN/IR_MAX is non-commutative due to underlying FPU ops.
  * ARM64: Set fixed interpreter registers before rethrow.
  * Windows/ARM64: Update install docs.
  * Windows: Call C++ destructors without compiling with /EHa.
  * Windows: Pass scratch CONTEXT record to RtlUnwindEx.
  * ARM64: External unwinder already restores non-volatile registers.
  * Windows/ARM64: Fix exception unwinding (again).
  * Windows/ARM64: Fix typo in exception unwinding.
  * FFI: Fix 64 bit shift fold rules.
  * Windows/ARM64: Support Windows calling conventions.
  * Windows/ARM64: Fix exception unwinding.
  * ARM64: Remove unneeded IRCALL_* defs for math intrinsics.
  * Fix Cygwin build.
  * Allow path overrides in genversion.lua with minilua, too.
  * Windows/ARM64: Add initial support.
  * Improve architecture detection error messages.
  * ARM64: Fuse rotates into logical operands.
  * ARM64: Don't fuse sign extensions into logical operands.
  * ARM64: Disassemble rotates on logical operands.
  * ARM: Fix stack check code generation.
  * ARM64: Fix LDP/STP fusion (again).
  * ARM64: Ensure branch is in range before emitting TBZ/TBNZ.
  * Fix mcode limit check for non-x86 archs.
  * ARM64: Improve BC_JLOOP.
  * ARM64: Improve integer IR_MUL code generation.
  * ARM64: Simplify code generation for IR_STRTO.
  * ARM64: Use RID_TMP instead of scratch register in more places.
  * ARM64: Improve IR_OBAR code generation.
  * ARM64: Improve IR_UREF code generation.
  * ARM64: Improve IR_HREF code generation.
  * ARM64: Reload BASE via GL instead of spilling it.
  * ARM64: Consolidate 32/64-bit constant handling in assembler.
  * ARM64: Tune emit_lsptr. Avoid wrong load for asm_prof.
  * ARM64: Inline only use of emit_loada.
  * ARM64: Improve K13 constant rematerialization.
  * Add NaN check to IR_NEWREF.
  * Allow override of paths for genversion.lua.
  * Fix native MinGW build.
- Also refresh luajit-s390x.patch from the rebased pull request.

OBS-URL: https://build.opensuse.org/request/show/1154166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=12
2024-03-03 19:19:31 +00:00
83ff1ccb7d Update patches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=56
2024-03-01 20:09:44 +00:00
c538190c10 - Also refresh luajit-s390x.patch from the rebased pull request.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=55
2024-03-01 20:06:49 +00:00
75817bd8f4 - Update to version 5.1.2.1.0+git.1707061634.0d313b2:
* Rework stack overflow handling.
  * Preserve keys with dynamic values in template tables when saving bytecode.
  * Prevent include of luajit_rolling.h.
  * Fix documentation bug about '\z' string escape.
  * Fix zero stripping in %g number formatting.
  * Fix unsinking of IR_FSTORE for NULL metatable.
  * DynASM/x86: Add endbr instruction.
  * MIPS64 R2/R6: Fix FP to integer conversions.
  * Add cross-32/64 bit and deterministic bytecode generation.
  * DynASM/x86: Allow [&expr] operand.
  * Check for IR_HREF vs. IR_HREFK aliasing in non-nil store check.
  * Respect jit.off() on pending trace exit.
  * Simplify handling of instable types in TNEW/TDUP load forwarding.
  * Only emit proper parent references in snapshot replay.
  * Fix anchoring for string buffer set() method (again).
  * ARM: Fix stack restore for FP slots.
  * Document workaround for multilib vs. cross-compiler conflict.
  * Fix anchoring for string buffer set() method.
  * Fix runtime library flags for MSVC debug builds.
  * Fix .debug_abbrev section in GDB JIT API.
  * Optimize table.new() with constant args to (sinkable) IR_TNEW.
  * Emit sunk IR_NEWREF only once per key on snapshot replay.
  * Fix last commit.
  * x86/x64: Don't fuse loads across IR_NEWREF.
  * Improve last commit.
  * x86/x64: Don't fuse loads across table.clear.
  * x86/x64: Add more red zone checks to assembler backend.
  * Add stack check to pcall/xpcall.
  * Invalidate SCEV entry when returning to lower frame.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=54
2024-03-01 20:06:14 +00:00
fc766da5f0 Accepting request 1116533 from devel:languages:lua
- Adjust luajit-lua-versioned.patch to have correct LUA_LJDIR
  (bsc#1215592).

OBS-URL: https://build.opensuse.org/request/show/1116533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=11
2023-10-10 18:52:06 +00:00
3b5b98bc15 - Adjust luajit-lua-versioned.patch to have correct LUA_LJDIR
(bsc#1215592).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=52
2023-10-09 20:11:56 +00:00
679fa05527 Accepting request 1109627 from devel:languages:lua
- Update to version 5.1.2.1.0+git.1693350652.41fb94d:
  * Add randomized register allocation for fuzz testing.
  * ARM64: Improve register allocation for integer IR_MUL/IR_MULOV.
  * ARM64: Fix register allocation for IR_*LOAD.
  * Update external MSDN URL in code.
  * FFI/ARM64/OSX: Handle non-standard OSX C calling conventions.
  * FFI: Unify stack setup for C calls in interpreter.
  * ARM64: Prevent STP fusion for conditional code emitted by TBAR.
  * ARM64: Fix LDP/STP fusing for unaligned accesses.
  * Handle table unsinking in the presence of IRFL_TAB_NOMM.
  * Use fallback name for install files without valid .git or .relver.
  * Handle non-.git checkout with .relver in .bat-file builds.
  * Fix external C call stack check when using LUAJIT_MODE_WRAPCFUNC.
  * Fix predict_next() in parser (again).
- Update luajit-lua-versioned.patch to work with the git checkout
  created tarball. The point of the patch is to extend the
  version number so that it is always bigger than 2.2.0 version
  of moonjit, which is Obsoleted by this package.

- Update to version 2.1.0~beta3+git.1692716794.03c3112:
  * Fix typo.
  * Handle the case when .git is not a directory.
  * Add .gitattributes to dynamically resolve .relver.
  * Add .gitattributes to dynamically resolve .relver.
  * Fix for last commit: also remove symlink on uninstall.
  * Switch to rolling releases: mark v2.1 as production.
  * Fix Windows build scripts for rolling releases.
  * Switch MSVC and console build scripts to rolling releases.
  * Switch build system to rolling releases.
  * Update documentation for switch to rolling releases.

OBS-URL: https://build.opensuse.org/request/show/1109627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=10
2023-09-10 11:09:28 +00:00
fc43755a2e Something has nothing to do
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=50
2023-09-07 22:11:19 +00:00
ba6654c553 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=49
2023-09-06 22:19:58 +00:00
62d49c4442 - Update to version 5_1.2.1.0~beta3+git.1693350652.41fb94d:
* Add randomized register allocation for fuzz testing.
  * ARM64: Improve register allocation for integer IR_MUL/IR_MULOV.
  * ARM64: Fix register allocation for IR_*LOAD.
  * Update external MSDN URL in code.
  * FFI/ARM64/OSX: Handle non-standard OSX C calling conventions.
  * FFI: Unify stack setup for C calls in interpreter.
  * ARM64: Prevent STP fusion for conditional code emitted by TBAR.
  * ARM64: Fix LDP/STP fusing for unaligned accesses.
  * Handle table unsinking in the presence of IRFL_TAB_NOMM.
  * Use fallback name for install files without valid .git or .relver.
  * Handle non-.git checkout with .relver in .bat-file builds.
  * Fix external C call stack check when using LUAJIT_MODE_WRAPCFUNC.
  * Fix predict_next() in parser (again).
- Update luajit-lua-versioned.patch to work with the git checkout
  created tarball. The point of the patch is to extend the
  version number so that it is always bigger than 2.2.0 version
  of moonjit, which is Obsoleted by this package.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=48
2023-09-06 22:13:05 +00:00
90f1dbf5df Enable the patch again, now with a bit of metadata.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=47
2023-09-06 17:02:00 +00:00
bce19743b0 Get rid of the patch (WIP).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=46
2023-09-06 16:08:24 +00:00
5bdae47da7 Modernized version of the SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=45
2023-08-23 17:30:25 +00:00
4935c03adc Fix the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=44
2023-08-23 15:41:29 +00:00
60c3441df4 Fix the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=43
2023-08-23 15:37:53 +00:00
bc69dd485d Fix the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=42
2023-08-23 15:34:08 +00:00
e84d3d5ba7 Fix the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=41
2023-08-23 15:30:21 +00:00
9e5d6466cc Update patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=40
2023-08-23 14:32:03 +00:00
da942776e0 - Update to version 2.1.0~beta3+git.1692716794.03c3112:
* Fix typo.
  * Handle the case when .git is not a directory.
  * Add .gitattributes to dynamically resolve .relver.
  * Add .gitattributes to dynamically resolve .relver.
  * Fix for last commit: also remove symlink on uninstall.
  * Switch to rolling releases: mark v2.1 as production.
  * Fix Windows build scripts for rolling releases.
  * Switch MSVC and console build scripts to rolling releases.
  * Switch build system to rolling releases.
  * Update documentation for switch to rolling releases.
  * Bump copyright date.
  * Remove work-in-progress notice in string buffer docs.
  * MIPS: Fix "bad FP FLOAD" assertion.
  * Ensure forward progress on trace exit to BC_ITERN.
  * ARM64: Add support for ARM64e pointer authentication codes (PAC).
  * DynASM/ARM64: Add instructions for ARM64e PAC.
  * Fix maxslots when recording BC_VARG, part 3.
  * Fix predict_next() in parser.
  * MIPS32: Declare that the assembler part uses the FR=0 model.
  * ARM64: Fix assembly of HREFK (again).
  * Fix frame for more types of on-trace error messages.
  * Add workaround for bytecode dump of builtins.
  * DynASM: Fix regression due to warning fix.
  * Fix base register coalescing in side trace.
  * ARM64: Fix assembly of HREFK.
  * Fix maxslots when recording BC_VARG, part 2.
  * Fix maxslots when recording BC_TSETM.
  * Fix maxslots when recording BC_VARG.
  * Fix register mask for stack check in head of side trace.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=39
2023-08-23 14:27:54 +00:00
e758f22d68 Accepting request 1105084 from devel:languages:lua
- Update luajit-s390x.patch from gh#LuaJIT/LuaJIT#631 to the
  current form.

OBS-URL: https://build.opensuse.org/request/show/1105084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=9
2023-08-22 06:55:00 +00:00
a73bbe4155 - Update luajit-s390x.patch from gh#LuaJIT/LuaJIT#631 to the
current form.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=37
2023-08-21 13:06:28 +00:00
177c1b8f2a Accepting request 1061036 from devel:languages:lua
Forwarded request #1060899 from michals

- Opencode %make_build to prevent build failure when not defined.

OBS-URL: https://build.opensuse.org/request/show/1061036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=8
2023-01-27 09:15:14 +00:00
3ed60b2fe4 Accepting request 1060899 from home:michals:branches:devel:languages:lua
- Opencode %make_build to prevent build failure when not defined.

OBS-URL: https://build.opensuse.org/request/show/1060899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=35
2023-01-25 21:11:50 +00:00
e7b8b6df65 Accepting request 1037521 from devel:languages:lua
- Update to version 2.1.0~beta3+git.1669107176.46aa45d:
  * NX: Always compile with -fPIC.
  * Clarify contact page.
  * Ensure correct stack top for OOM error message.
  * ARM64: Fix IR_SLOAD assembly.
  * Fix trace join to BC_JLOOP originating from BC_ITERN.
  * Fix compiler warnings.
  * Fix last edit.
  * Remove dead Wiki links.
  * Fix QNX build.
  * Add -F option to override filename in jit.bcsave (luajit -b).
  * Patch luajit.pc with INSTALL_INC, if customized.
  * LJ_GC64: Fix lua_concat().
  * Prevent use of RTLD_DEFAULT when NO_RTLD_DEFAULT is defined.
  * Improve GC estimation for userdata with attached managed memory.
  * Add missing GC steps to string buffer methods.
  * x86/x64: Limit VLOAD fusion to simple cases.
  * OSX/iOS/ARM64: Fix generation of Mach-O object files.
  * Prevent trace start at BC_ITERL after compiled BC_ITERN.
  * ARM64: Allow building with unwinding disabled.
  * FFI: Fix sizeof expression in C parser for reference types.
  * FFI: Fix ffi.alignof() for reference types.
  * FFI: Allow ffi.metatype() for typedefs with attributes.
  * OSX/iOS/ARM64: Fix bytecode embedding in Mach-O object file.
  * LJ_GC64: Fix IR_VARG offset for fixed number of results.
  * x86/x64: Fix math.ceil(-0.9) result sign.
  * Grammar and spell check.
  * Make embedded bytecode readable and forward-compatible.
  * DynASM: Fix warnings.
  * Fix warnings in minilua.c.

OBS-URL: https://build.opensuse.org/request/show/1037521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=7
2022-11-24 11:22:17 +00:00
b95fcb40a4 - Was forced to remove perhaps in future important patches:
- luajit-ppc64-replace-asserts.patch
  - 0004-Add-ppc64-support-based-on-koriakin-GitHub-patchset.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=33
2022-11-23 10:09:48 +00:00
7a06d4c791 I didn't want to remove those patches, but stupid OBS forces me to.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=32
2022-11-23 10:01:44 +00:00
92b4a88f02 No need for -M for autopatch.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=31
2022-11-23 00:28:52 +00:00
9207ab773b - Update to version 2.1.0~beta3+git.1669107176.46aa45d:
* NX: Always compile with -fPIC.
  * Clarify contact page.
  * Ensure correct stack top for OOM error message.
  * ARM64: Fix IR_SLOAD assembly.
  * Fix trace join to BC_JLOOP originating from BC_ITERN.
  * Fix compiler warnings.
  * Fix last edit.
  * Remove dead Wiki links.
  * Fix QNX build.
  * Add -F option to override filename in jit.bcsave (luajit -b).
  * Patch luajit.pc with INSTALL_INC, if customized.
  * LJ_GC64: Fix lua_concat().
  * Prevent use of RTLD_DEFAULT when NO_RTLD_DEFAULT is defined.
  * Improve GC estimation for userdata with attached managed memory.
  * Add missing GC steps to string buffer methods.
  * x86/x64: Limit VLOAD fusion to simple cases.
  * OSX/iOS/ARM64: Fix generation of Mach-O object files.
  * Prevent trace start at BC_ITERL after compiled BC_ITERN.
  * ARM64: Allow building with unwinding disabled.
  * FFI: Fix sizeof expression in C parser for reference types.
  * FFI: Fix ffi.alignof() for reference types.
  * FFI: Allow ffi.metatype() for typedefs with attributes.
  * OSX/iOS/ARM64: Fix bytecode embedding in Mach-O object file.
  * LJ_GC64: Fix IR_VARG offset for fixed number of results.
  * x86/x64: Fix math.ceil(-0.9) result sign.
  * Grammar and spell check.
  * Make embedded bytecode readable and forward-compatible.
  * DynASM: Fix warnings.
  * Fix warnings in minilua.c.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=30
2022-11-23 00:21:44 +00:00
f1d10d8a2c Accepting request 1037362 from home:mgorse:branches:devel:languages:lua
- Also exclude s390x from the build (boo#1204557).

OBS-URL: https://build.opensuse.org/request/show/1037362
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=29
2022-11-22 23:27:18 +00:00
cbc4909545 Accepting request 1032964 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/1032964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=6
2022-11-04 16:31:33 +00:00
5dd2d2382f Accepting request 1032939 from home:mgorse:branches:devel:languages:lua
- Add ppc64 and ppc64le to ExcludeArch for now. This can be
  removed if we rebase the ppc64 patch, but it is no longer being
  maintained and seems unlikely to land upstream (bsc#1204557).

OBS-URL: https://build.opensuse.org/request/show/1032939
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=27
2022-11-02 22:36:20 +00:00
1ae5aa5e91 Accepting request 1008310 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/1008310
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=5
2022-10-10 16:44:22 +00:00
96a92402fd Accepting request 1007980 from home:dirkmueller:Factory
- exclude luajit from building on riscv64 - not yet supported

OBS-URL: https://build.opensuse.org/request/show/1007980
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=25
2022-10-05 22:48:22 +00:00
1edd99ee28 Accepting request 964404 from devel:languages:lua
- 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

OBS-URL: https://build.opensuse.org/request/show/964404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=4
2022-03-28 14:58:13 +00:00
b45a21b17a Fix applying of patches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=23
2022-03-23 23:07:26 +00:00
0fadf51699 Fix applying of patches
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=22
2022-03-23 23:05:56 +00:00
376b818bdb Fix metadata for patches.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=21
2022-03-23 22:53:11 +00:00
93712c3704 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=20
2022-03-23 22:17:43 +00:00
6f3b3a3a04 Accepting request 927861 from devel:languages:lua
- Replace luajit-ppc64-remove-asserts.patch with
  luajit-ppc64-replace-asserts.patch to use the proper assert
  functions instead of removing them.
- Add luajit-ppc64-remove-asserts.patch: remove calls to
  lua_assert. Fixes the build with our revision (bsc#1191615).
- Add luajit-s390x.patch: add s390x support, based on Fedora's
  patch and ported to our revision.
- Remove ExcludeArch, since package currently builds on s390x.

OBS-URL: https://build.opensuse.org/request/show/927861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=3
2021-10-30 21:13:21 +00:00
978befd4b6 We want to be free to update upstream patches.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=19
2021-10-27 20:46:02 +00:00
68446736f2 Accepting request 927857 from home:favogt:branches:devel:languages:lua
- Replace luajit-ppc64-remove-asserts.patch with
  luajit-ppc64-replace-asserts.patch to use the proper assert
  functions instead of removing them.

OBS-URL: https://build.opensuse.org/request/show/927857
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=18
2021-10-27 20:29:21 +00:00
e89a020812 Refresh patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=17
2021-10-27 19:48:45 +00:00
dfedda1e3d Accepting request 927383 from home:mgorse:branches:devel:languages:lua
- Add luajit-ppc64-remove-asserts.patch: remove calls to
  lua_assert. Fixes the build with our revision (bsc#1191615).
- Add luajit-s390x.patch: add s390x support, based on Fedora's
  patch and ported to our revision.
- Remove ExcludeArch, since package currently builds on s390x.

OBS-URL: https://build.opensuse.org/request/show/927383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=16
2021-10-27 19:19:59 +00:00
f510b4d600 Accepting request 924043 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/924043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=2
2021-10-11 14:48:37 +00:00
b000857fa2 Accepting request 923936 from home:mgorse:branches:devel:languages:lua
- Exclude s390x for now. There is a not-yet-upstreamed port
  available, but we would need to rebase it for our release.

OBS-URL: https://build.opensuse.org/request/show/923936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=14
2021-10-07 15:39:35 +00:00
0259abf80b Accepting request 906669 from devel:languages:lua
LuaJIT seems to be more maintained than MoonJIT at the moment.

OBS-URL: https://build.opensuse.org/request/show/906669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/luajit?expand=0&rev=1
2021-07-16 20:13:00 +00:00
9ee69ae557 Accepting request 906663 from home:mcepl:neovim
Fix typo.

OBS-URL: https://build.opensuse.org/request/show/906663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=12
2021-07-16 12:17:07 +00:00
8baaef5f12 - Clean up SPEC. We don't need update-alternatives after all.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=11
2021-07-16 11:54:21 +00:00
0f1dd1becf Fix Provides.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=10
2021-07-16 11:46:51 +00:00
9c2a4ff32e Accepting request 905891 from home:mcepl:neovim
Fix metadata

OBS-URL: https://build.opensuse.org/request/show/905891
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=9
2021-07-12 17:56:38 +00:00
5cde536335 Accepting request 905890 from home:mcepl:neovim
A stupid typo.

OBS-URL: https://build.opensuse.org/request/show/905890
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=8
2021-07-12 17:53:22 +00:00
553ba72842 A bit cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=7
2021-07-12 17:33:12 +00:00
b23f71310e CLeanup SPEC file.
Especially create a construct for having to packages together.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=6
2021-07-12 17:21:29 +00:00
ac23039804 Accepting request 904640 from home:mcepl:neovim
Reviving now actually upstream developed version of LuaJIT.

OBS-URL: https://build.opensuse.org/request/show/904640
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=5
2021-07-07 20:20:55 +00:00
Tomáš Chvátal
db6a706c7c OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=2 2015-10-26 08:35:00 +00:00
14 changed files with 206 additions and 96 deletions

6
.gitignore vendored
View File

@@ -1 +1,7 @@
.osc
_buildconfig-*
_buildinfo-*.xml
LuaJIT/
_scmsync.obsinfo
LuaJIT-*.obscpio
luajit-*-build/

View File

@@ -6,9 +6,11 @@ Subject: Enable debugging symbols in the build
src/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/src/Makefile
+++ b/src/Makefile
@@ -54,9 +54,9 @@ CCOPT_arm64=
Index: LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/Makefile
===================================================================
--- LuaJIT-5.1.2.1.0+git.1741730670.538a821.orig/src/Makefile 2025-03-25 17:07:13.482265396 +0100
+++ LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/Makefile 2025-03-25 17:07:21.367645582 +0100
@@ -54,9 +54,9 @@
CCOPT_ppc=
CCOPT_mips=
#

View File

@@ -8,9 +8,11 @@ Subject: Get rid of LUAJIT_VERSION_SYM that changes ABI on every patch release
src/luajit_rolling.h | 3 ---
3 files changed, 9 deletions(-)
--- a/src/lj_dispatch.c
+++ b/src/lj_dispatch.c
@@ -318,11 +318,6 @@ int luaJIT_setmode(lua_State *L, int idx
Index: LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/lj_dispatch.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1741730670.538a821.orig/src/lj_dispatch.c 2025-03-11 23:04:30.000000000 +0100
+++ LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/lj_dispatch.c 2025-03-25 17:07:26.955530316 +0100
@@ -318,11 +318,6 @@
return 1; /* OK. */
}
@@ -22,9 +24,11 @@ Subject: Get rid of LUAJIT_VERSION_SYM that changes ABI on every patch release
/* -- Hooks --------------------------------------------------------------- */
/* This function can be called asynchronously (e.g. during a signal). */
--- a/src/luajit.c
+++ b/src/luajit.c
@@ -515,7 +515,6 @@ static int pmain(lua_State *L)
Index: LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/luajit.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1741730670.538a821.orig/src/luajit.c 2025-03-11 23:04:30.000000000 +0100
+++ LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/luajit.c 2025-03-25 17:07:26.956030878 +0100
@@ -530,7 +530,6 @@
int argn;
int flags = 0;
globalL = L;
@@ -32,9 +36,11 @@ Subject: Get rid of LUAJIT_VERSION_SYM that changes ABI on every patch release
argn = collectargs(argv, &flags);
if (argn < 0) { /* Invalid args? */
--- a/src/luajit_rolling.h
+++ b/src/luajit_rolling.h
@@ -73,8 +73,5 @@ LUA_API void luaJIT_profile_stop(lua_Sta
Index: LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/luajit_rolling.h
===================================================================
--- LuaJIT-5.1.2.1.0+git.1741730670.538a821.orig/src/luajit_rolling.h 2025-03-11 23:04:30.000000000 +0100
+++ LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/luajit_rolling.h 2025-03-25 17:07:26.956298722 +0100
@@ -73,8 +73,5 @@
LUA_API const char *luaJIT_profile_dumpstack(lua_State *L, const char *fmt,
int depth, size_t *len);

Binary file not shown.

Binary file not shown.

BIN
LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,4 +1,4 @@
name: LuaJIT
version: 5.1.2.1.0+git.1731601260.fe71d0f
mtime: 1731601260
commit: fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059
version: 5.1.2.1.0+git.1753364724.871db2c8
mtime: 1753364724
commit: 871db2c84ecefd70a850e03a6c340214a81739f0

View File

@@ -7,9 +7,9 @@
<param name="changesgenerate">enable</param>
<param name="changesauthor">mcepl@cepl.eu</param>
</service>
<service name="tar" mode="buildtime">
<service name="tar" mode="manual">
</service>
<service name="recompress" mode="buildtime">
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/LuaJIT/LuaJIT.git</param>
<param name="changesrevision">fe71d0fb54ceadfb5b5f3b6baf29e486d97f6059</param></service></servicedata>
<param name="changesrevision">871db2c84ecefd70a850e03a6c340214a81739f0</param></service></servicedata>

Binary file not shown.

View File

@@ -5,8 +5,10 @@
src/luaconf.h | 2 +-
4 files changed, 9 insertions(+), 7 deletions(-)
--- a/Makefile
+++ b/Makefile
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/Makefile
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/Makefile 2025-08-05 17:58:16.401293115 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/Makefile 2025-08-05 17:58:19.151192871 +0200
@@ -16,13 +16,14 @@
MAJVER= 2
MINVER= 1
@@ -23,7 +25,7 @@
VERSION= $(MMVERSION).$(RELVER)
##############################################################################
@@ -52,7 +53,7 @@ INSTALL_MAN= $(INSTALL_SHARE)/man/man1
@@ -52,7 +53,7 @@
INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig
INSTALL_TNAME= luajit-$(VERSION)
@@ -32,7 +34,7 @@
INSTALL_ANAME= libluajit-$(ABIVER).a
INSTALL_SOSHORT1= libluajit-$(ABIVER).so
INSTALL_SOSHORT2= libluajit-$(ABIVER).so.$(MAJVER)
@@ -90,7 +91,7 @@ ifneq ($(INSTALL_DEFINC),$(INSTALL_INC))
@@ -90,7 +91,7 @@
SED_PC+= -e "s|^includedir=.*|includedir=$(INSTALL_INC)|"
endif
@@ -41,7 +43,7 @@
FILE_A= libluajit.a
FILE_SO= libluajit.so
FILE_MAN= luajit.1
@@ -138,7 +139,7 @@ install: $(INSTALL_DEP)
@@ -138,7 +139,7 @@
( $(LDCONFIG) $(INSTALL_LIB) || : ) && \
$(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT1) && \
$(SYMLINK) $(INSTALL_SONAME) $(INSTALL_SHORT2) || :
@@ -50,9 +52,11 @@
cd etc && $(SED_PC) $(FILE_PC) > $(FILE_PC).tmp && \
$(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \
$(RM) $(FILE_PC).tmp
--- a/etc/luajit.pc
+++ b/etc/luajit.pc
@@ -10,7 +10,7 @@ multilib=lib
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/etc/luajit.pc
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/etc/luajit.pc 2025-08-05 17:58:16.401293115 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/etc/luajit.pc 2025-08-05 17:58:19.151421922 +0200
@@ -10,7 +10,7 @@
exec_prefix=${prefix}
libdir=${exec_prefix}/${multilib}
libname=luajit-${abiver}
@@ -61,9 +65,11 @@
INSTALL_LMOD=${prefix}/share/lua/${abiver}
INSTALL_CMOD=${prefix}/${multilib}/lua/${abiver}
--- a/src/Makefile
+++ b/src/Makefile
@@ -14,6 +14,7 @@ MAJVER= 2
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/Makefile
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/Makefile 2025-08-05 17:58:16.401293115 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/Makefile 2025-08-05 17:58:19.151653819 +0200
@@ -14,6 +14,7 @@
MINVER= 1
ABIVER= 5.1
NODOTABIVER= 51
@@ -71,7 +77,7 @@
##############################################################################
############################# COMPILER OPTIONS #############################
@@ -527,7 +528,7 @@ LIB_VMDEFP= $(LIB_VMDEF)
@@ -530,7 +531,7 @@
LUAJIT_O= luajit.o
LUAJIT_A= libluajit.a
LUAJIT_SO= libluajit.so
@@ -80,9 +86,11 @@
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
@@ -51,7 +51,7 @@
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/luaconf.h
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/luaconf.h 2025-08-05 17:58:16.401293115 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/luaconf.h 2025-08-05 17:58:19.151890204 +0200
@@ -50,7 +50,7 @@
#endif
#ifndef LUA_LJDIR

View File

@@ -42,8 +42,10 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
create mode 100644 dynasm/dasm_s390x.h
create mode 100644 dynasm/dasm_s390x.lua
--- /dev/null
+++ b/dynasm/dasm_s390x.h
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/dynasm/dasm_s390x.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/dynasm/dasm_s390x.h 2025-08-05 17:58:29.627799965 +0200
@@ -0,0 +1,546 @@
+/*
+** DynASM s390x encoding engine.
@@ -591,8 +593,10 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
+ return D->status;
+}
+#endif
--- /dev/null
+++ b/dynasm/dasm_s390x.lua
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/dynasm/dasm_s390x.lua
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/dynasm/dasm_s390x.lua 2025-08-05 17:58:29.628037012 +0200
@@ -0,0 +1,1634 @@
+------------------------------------------------------------------------------
+-- DynASM s390x module.
@@ -2228,9 +2232,11 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
+end
+return _M
+------------------------------------------------------------------------------
--- a/src/Makefile
+++ b/src/Makefile
@@ -244,6 +244,9 @@ else
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/Makefile
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/Makefile 2025-08-05 17:58:23.843209469 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/Makefile 2025-08-05 17:58:29.628858358 +0200
@@ -244,6 +244,9 @@
ifneq (,$(findstring LJ_TARGET_ARM ,$(TARGET_TESTARCH)))
TARGET_LJARCH= arm
else
@@ -2240,7 +2246,7 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
ifneq (,$(findstring LJ_TARGET_ARM64 ,$(TARGET_TESTARCH)))
ifneq (,$(findstring __AARCH64EB__ ,$(TARGET_TESTARCH)))
TARGET_ARCH= -D__AARCH64EB__=1
@@ -272,6 +275,7 @@ else
@@ -272,6 +275,7 @@
endif
endif
endif
@@ -2248,9 +2254,11 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
endif
endif
endif
--- a/src/host/buildvm.c
+++ b/src/host/buildvm.c
@@ -67,6 +67,8 @@ static int collect_reloc(BuildCtx *ctx,
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/host/buildvm.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/host/buildvm.c 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/host/buildvm.c 2025-08-05 17:58:29.629244035 +0200
@@ -67,6 +67,8 @@
#include "../dynasm/dasm_ppc.h"
#elif LJ_TARGET_MIPS
#include "../dynasm/dasm_mips.h"
@@ -2259,9 +2267,11 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
#error "No support for this architecture (yet)"
#endif
--- a/src/host/buildvm_asm.c
+++ b/src/host/buildvm_asm.c
@@ -87,6 +87,54 @@ err:
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/host/buildvm_asm.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/host/buildvm_asm.c 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/host/buildvm_asm.c 2025-08-05 17:58:29.629378294 +0200
@@ -87,6 +87,54 @@
}
fprintf(ctx->fp, "\t%s %s\n", opname, sym);
}
@@ -2316,7 +2326,7 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
/* Emit words piecewise as assembler text. */
static void emit_asm_words(BuildCtx *ctx, uint8_t *p, int n)
@@ -302,6 +350,9 @@ void emit_asm(BuildCtx *ctx)
@@ -302,6 +350,9 @@
emit_asm_reloc(ctx, r->type, ctx->relocsym[r->sym]);
}
ofs += n+4;
@@ -2326,7 +2336,7 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
emit_asm_wordreloc(ctx, ctx->code+ofs, n, ctx->relocsym[r->sym]);
ofs += n;
@@ -310,6 +361,8 @@ void emit_asm(BuildCtx *ctx)
@@ -310,6 +361,8 @@
}
#if LJ_TARGET_X86ORX64
emit_asm_bytes(ctx, ctx->code+ofs, next-ofs);
@@ -2335,9 +2345,11 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
emit_asm_words(ctx, ctx->code+ofs, next-ofs);
#endif
--- a/src/jit/bcsave.lua
+++ b/src/jit/bcsave.lua
@@ -101,6 +101,7 @@ local map_arch = {
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/jit/bcsave.lua
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/jit/bcsave.lua 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/jit/bcsave.lua 2025-08-05 17:58:29.629798809 +0200
@@ -101,6 +101,7 @@
mips64el = { e = "le", b = 64, m = 8, f = 0x80000007, },
mips64r6 = { e = "be", b = 64, m = 8, f = 0xa0000407, },
mips64r6el = { e = "le", b = 64, m = 8, f = 0xa0000407, },
@@ -2345,13 +2357,17 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
}
local map_os = {
--- /dev/null
+++ b/src/jit/dis_s390x.lua
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/jit/dis_s390x.lua
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/jit/dis_s390x.lua 2025-08-05 17:58:29.629999187 +0200
@@ -0,0 +1 @@
+-- Not yet implemented.
--- a/src/lib_jit.c
+++ b/src/lib_jit.c
@@ -702,6 +702,8 @@ static uint32_t jit_cpudetect(void)
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lib_jit.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/lib_jit.c 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lib_jit.c 2025-08-05 17:58:29.630209352 +0200
@@ -702,6 +702,8 @@
}
#endif
@@ -2360,8 +2376,10 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
#error "Missing CPU detection for this architecture"
#endif
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_arch.h
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/lj_arch.h 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_arch.h 2025-08-05 17:58:29.630420550 +0200
@@ -31,6 +31,8 @@
#define LUAJIT_ARCH_mips32 6
#define LUAJIT_ARCH_MIPS64 7
@@ -2402,9 +2420,11 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
#error "No target architecture defined"
#endif
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -1708,6 +1708,8 @@ static void asm_loop(ASMState *as)
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_asm.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/lj_asm.c 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_asm.c 2025-08-05 17:58:29.630816846 +0200
@@ -1708,6 +1708,8 @@
#include "lj_asm_ppc.h"
#elif LJ_TARGET_MIPS
#include "lj_asm_mips.h"
@@ -2413,8 +2433,10 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
#error "Missing assembler for target CPU"
#endif
--- a/src/lj_ccall.c
+++ b/src/lj_ccall.c
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_ccall.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/lj_ccall.c 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_ccall.c 2025-08-05 17:58:29.631345712 +0200
@@ -575,6 +575,40 @@
goto done; \
}
@@ -2456,7 +2478,7 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
#error "Missing calling convention definitions for this architecture"
#endif
@@ -999,6 +1033,9 @@ static int ccall_set_args(lua_State *L,
@@ -1012,6 +1046,9 @@
CType *d;
CTSize sz;
MSize n, isfp = 0, isva = 0;
@@ -2466,7 +2488,7 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
void *dp, *rp = NULL;
if (fid) { /* Get argument type from field. */
@@ -1037,6 +1074,9 @@ static int ccall_set_args(lua_State *L,
@@ -1050,6 +1087,9 @@
CCALL_HANDLE_REGARG /* Handle register arguments. */
/* Otherwise pass argument on stack. */
@@ -2476,7 +2498,7 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
if (CCALL_ALIGN_STACKARG) { /* Align argument on stack. */
MSize align = (1u << ctype_align(d->info)) - 1;
if (rp || (CCALL_PACK_STACKARG && isva && align < CTSIZE_PTR-1))
@@ -1086,6 +1126,16 @@ static int ccall_set_args(lua_State *L,
@@ -1099,6 +1139,16 @@
*(int64_t *)dp = (int64_t)*(int32_t *)dp; /* Sign-extend to 64 bit. */
}
#endif
@@ -2493,9 +2515,11 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#if LJ_TARGET_X64 && LJ_ABI_WIN
if (isva) { /* Windows/x64 mirrors varargs in both register sets. */
if (nfpr == ngpr)
--- a/src/lj_ccall.h
+++ b/src/lj_ccall.h
@@ -129,6 +129,21 @@ typedef union FPRArg {
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_ccall.h
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/lj_ccall.h 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_ccall.h 2025-08-05 17:58:29.631769871 +0200
@@ -129,6 +129,21 @@
struct { LJ_ENDIAN_LOHI(float f; , float g;) };
} FPRArg;
@@ -2517,9 +2541,11 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
#error "Missing calling convention definitions for this architecture"
#endif
--- a/src/lj_ccallback.c
+++ b/src/lj_ccallback.c
@@ -516,6 +516,15 @@ void lj_ccallback_mcode_free(CTState *ct
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_ccallback.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/lj_ccallback.c 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_ccallback.c 2025-08-05 17:58:29.632033738 +0200
@@ -531,6 +531,15 @@
if (ctype_isfp(ctr->info) && ctr->size == sizeof(float)) \
((float *)dp)[1] = *(float *)dp;
@@ -2535,9 +2561,11 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
#error "Missing calling convention definitions for this architecture"
#endif
--- a/src/lj_err.c
+++ b/src/lj_err.c
@@ -442,6 +442,9 @@ LJ_FUNCA int lj_err_unwind_dwarf(int ver
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_err.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/lj_err.c 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_err.c 2025-08-05 17:58:29.632270323 +0200
@@ -442,6 +442,9 @@
if (version != 1)
return _URC_FATAL_PHASE1_ERROR;
cf = (void *)_Unwind_GetCFA(ctx);
@@ -2547,9 +2575,11 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
L = cframe_L(cf);
if ((actions & _UA_SEARCH_PHASE)) {
#if LJ_UNWIND_EXT
--- a/src/lj_frame.h
+++ b/src/lj_frame.h
@@ -264,6 +264,20 @@ enum { LJ_CONT_TAILCALL, LJ_CONT_FFI_CAL
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_frame.h
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/lj_frame.h 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_frame.h 2025-08-05 17:58:29.632506458 +0200
@@ -264,6 +264,20 @@
#endif
#define CFRAME_OFS_MULTRES 0
#define CFRAME_SHIFT_MULTRES 3
@@ -2570,9 +2600,11 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
#error "Missing CFRAME_* definitions for this architecture"
#endif
--- a/src/lj_target.h
+++ b/src/lj_target.h
@@ -143,6 +143,8 @@ typedef uint32_t RegCost;
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_target.h
===================================================================
--- LuaJIT-5.1.2.1.0+git.1753364724.871db2c8.orig/src/lj_target.h 2025-08-05 17:58:16.173291647 +0200
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_target.h 2025-08-05 17:58:29.632753654 +0200
@@ -143,6 +143,8 @@
#include "lj_target_ppc.h"
#elif LJ_TARGET_MIPS
#include "lj_target_mips.h"
@@ -2581,8 +2613,10 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
#else
#error "Missing include for target CPU"
#endif
--- /dev/null
+++ b/src/lj_target_s390x.h
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_target_s390x.h
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/lj_target_s390x.h 2025-08-05 17:58:29.632908054 +0200
@@ -0,0 +1,80 @@
+/*
+** Definitions for IBM z/Architecture (s390x) CPUs.
@@ -2664,8 +2698,10 @@ Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
+/* -- Instructions -------------------------------------------------------- */
+
+#endif
--- /dev/null
+++ b/src/vm_s390x.dasc
Index: LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/vm_s390x.dasc
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ LuaJIT-5.1.2.1.0+git.1753364724.871db2c8/src/vm_s390x.dasc 2025-08-05 17:58:29.633378320 +0200
@@ -0,0 +1,4269 @@
+|// Low-level VM code for IBM z/Architecture (s390x) CPUs in LJ_GC64 mode.
+|// Bytecode interpreter, fast functions and helper functions.

View File

@@ -1,3 +1,60 @@
-------------------------------------------------------------------
Tue Aug 5 15:56:50 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Don't do "buildtime" services for openSUSE packages, they are
not permitted.
-------------------------------------------------------------------
Tue Aug 05 15:55:32 UTC 2025 - mcepl@cepl.eu
- Update to version 5.1.2.1.0+git.1753364724.871db2c8:
* Windows: Add lua52compat option to msvcbuild.bat.
* x86/x64: Don't use undefined MUL/IMUL zero flag.
* Avoid out-of-range PC for stack overflow error from snapshot restore.
* FFI: Fix dangling CType references (again).
* Fix JIT slot overflow during up-recursion.
* Avoid out-of-range PC for stack overflow error from snapshot restore.
* FFI: Fix dangling CType references.
* Prevent Clang UB 'optimization' which breaks integerness checks.
* ARM: Fix soft-float math.min()/math.max().
* ARM64: Fix pass-by-value struct calling conventions.
* Fix error generation in load*.
* Initialize unused value when specializing to cdata metatable.
-------------------------------------------------------------------
Tue Mar 25 16:04:27 UTC 2025 - mcepl@cepl.eu
- Update to version 5.1.2.1.0+git.1741730670.538a821:
* Change handling of nil value markers in template tables.
* REVERT: Change handling of nil value markers in template tables.
* macOS: Fix Apple hardened runtime support and put behind build option.
* macOS: Fix support for Apple hardened runtime.
* Fix handling of nil value markers in template tables.
* Avoid unpatching bytecode twice after a trace flush.
* Fix state restore when recording __concat metamethod.
* Windows: Allow mixed builds with msvcbuild.bat.
* macOS: Add suport for Apple hardened runtime.
* Add compatibility string coercion for fp:seek() argument.
* Windows: Clarify installation directory layout.
* Remove Cygwin from docs, since it's not a supported target.
* Improve CLI signal handling on POSIX.
* FFI: Add pre-declared int128_t, uint128_t, __int128 types.
* Use dylib extension for iOS installs, too.
* Change handling of nil value markers in template tables.
* Fix recording of BC_VARG.
* Reject negative getfenv()/setfenv() levels to prevent compiler warning.
* Bump copyright date.
* Force fallback source name for stripped bytecode.
* Remove dependency on <limits.h>.
* Restore state when recording __concat metamethod throws OOM.
* MIPS64: Fix pcall() error case.
* Fix detection of inconsistent renames due to sunk values.
-------------------------------------------------------------------
Fri Mar 7 05:12:33 UTC 2025 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Enable lua 5.2 compatibility (Needed for build aegisubs)
-------------------------------------------------------------------
Fri Dec 6 07:23:43 UTC 2024 - Adrian Schröter <adrian@suse.de>

View File

@@ -21,7 +21,7 @@
%define so_version 2
%define upname LuaJIT
Name: luajit
Version: 5.1.2.1.0+git.1731601260.fe71d0f
Version: 5.1.2.1.0+git.1753364724.871db2c8
Release: 0
Summary: JIT compiler for Lua language
License: MIT
@@ -90,6 +90,7 @@ export CFLAGS="%{optflags}"
Q= \
DYNAMIC_CC="cc -fPIC" \
LDCONFIG="true" \
XCFLAGS="-DLUAJIT_ENABLE_LUA52COMPAT" \
TARGET_AR="ar rcus" \
TARGET_STRIP=: \
MULTILIB=%{_lib}