Up to [cvs.NetBSD.org] / pkgsrc / lang / LuaJIT2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
LuaJIT2: Enable Lua 5.2 compatibility. Fix pkg-config file while here. Bump PKGREVISION.
LuaJIT2: Use the system unwinder on SunOS. Fixes the build, and also mostly passes the openresty test suite.
LuaJIT2: update to 2.1, rolling release The LuaJIT project has decided to switch to a rolling release model. There are only branches, no point releases. Also, no sensible changelog that I could find either. Patch from Malte Dehling in PR pkg/58293.
Make luajit PaX MPROTECT safe.
LuaJIT: gets lua category
LuaJIT2: sprinkle ONLY_FOR_PLATFORM
all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
Fix the test for endianness on powerpc so that NetBSD/powerpc isn't mis-categorized as little-endian only because _LITTLE_ENDIAN is defined -- what matters on NetBSD is the value of _BYTE_ORDER. Retain the old test in the #else clause. Bump PKGREVISION.
Drop maintainership.
Update LuaJIT2 to 2.0.5.
LuaJIT 2.0.5 -- 2017-05-01
* Add workaround for MSVC 2015 stdio changes.
* Limit mcode alloc probing, depending on the available pool size.
* Fix overly restrictive range calculation in mcode allocation.
* Fix out-of-scope goto handling in parser.
* Remove internal __mode = "K" and replace with safe check.
* Add "proto" field to jit.util.funcinfo().
* Fix GC step size calculation.
* Initialize uv->immutable for upvalues of loaded chunks.
* Fix for cdata vs. non-cdata arithmetics/comparisons.
* Drop leftover regs in 'for' iterator assignment, too.
* Fix PHI remarking in SINK pass.
* Don't try to record outermost pcall() return to lower frame.
* Add guard for obscure aliasing between open upvalues and SSA slots.
* Remove assumption that lj_math_random_step() doesn't clobber FPRs.
* Fix handling of non-numeric strings in arithmetic coercions.
* Fix recording of select(n, ...) with off-trace varargs
* Fix install for cross-builds.
* Don't allocate unused 2nd result register in JIT compiler backend.
* Drop marks from replayed instructions when sinking.
* Fix unsinking check.
* Properly handle OOM in trace_save().
* Limit number of arguments given to io.lines() and fp:lines().
* Fix narrowing of TOBIT.
* OSX: Fix build with recent XCode.
* x86/x64: Don't spill an explicit REF_BASE in the IR.
* x86/x64: Fix instruction length decoder.
* x86/x64: Search for exit jumps with instruction length decoder.
* ARM: Fix BLX encoding for Thumb interworking calls.
* MIPS: Don't use RID_GP as a scratch register.
* MIPS: Fix emitted code for U32 to float conversion.
* MIPS: Backport workaround for compact unwind tables.
* MIPS: Fix cross-endian jit.bcsave.
* MIPS: Fix BC_ISNEXT fallback path.
* MIPS: Fix use of ffgccheck delay slots in interpreter.
* FFI: Fix FOLD rules for int64_t comparisons.
* FFI: Fix SPLIT pass for CONV i64.u64.
* FFI: Fix ipairs() recording.
* FFI: Don't propagate qualifiers into subtypes of complex.
LuaJIT isn't pax mprotect safe.
Fix PLIST for SunOS. Upstream intentionally doesn't build the shared lib on SunOS, we accept it. Packages that depends on the shared lib may fail.
Link lang/LuaJIT2 with pthreads to address pkg/47587.
Update lang/LuaJIT2 to 2.0.4.
* Fix stack check in narrowing optimization.
* Fix Lua/C API typecheck error for special indexes.
* Fix string to number conversion.
* Fix lexer error for chunks without tokens.
* Don't compile IR_RETF after CALLT to ff with-side effects.
* Fix BC_UCLO/BC_JMP join optimization in Lua parser.
* Fix corner case in string to number conversion.
* Gracefully handle lua_error() for a suspended coroutine.
* Avoid error messages when building with Clang.
* Fix snapshot #0 handling for traces with a stack check on entry.
* Fix fused constant loads under high register pressure.
* Invalidate backpropagation cache after DCE.
* Fix ABC elimination.
* Fix debug info for main chunk of stripped bytecode.
* Fix FOLD rule for string.sub(s, ...) == k.
* Fix FOLD rule for STRREF of SNEW.
* Fix frame traversal while searching for error function.
* Prevent GC estimate miscalculation due to buffer growth.
* Prevent adding side traces for stack checks.
* Fix top slot calculation for snapshots with continuations.
* Fix check for reuse of SCEV results in FORL.
* Add PS Vita port.
* Fix compatibility issues with Illumos.
* Fix DragonFly build (unsupported).
* OpenBSD/x86: Better executable memory allocation for W^X mode.
* x86: Fix argument checks for ipairs() iterator.
* x86: lj_math_random_step() clobbers XMM regs on OSX Clang.
* x86: Fix code generation for unused result of math.random().
* x64: Allow building with LUAJIT_USE_SYSMALLOC and
LUAJIT_USE_VALGRIND.
* x86/x64: Fix argument check for bit shifts.
* x86/x64: Fix code generation for fused test/arith ops.
* ARM: Fix write barrier check in BC_USETS.
* PPC: Fix red zone overflow in machine code generation.
* PPC: Don't use mcrxr on PPE.
* Various archs: Fix excess stack growth in interpreter.
* FFI: Fix FOLD rule for TOBIT + CONV num.u32.
* FFI: Prevent DSE across ffi.string().
* FFI: No meta fallback when indexing pointer to incomplete struct.
* FFI: Fix initialization of unions of subtypes.
* FFI: Fix cdata vs. non-cdata arithmetic and comparisons.
* FFI: Fix __index/__newindex metamethod resolution for ctypes.
* FFI: Fix compilation of reference field access.
* FFI: Fix frame traversal for backtraces with FFI callbacks.
* FFI: Fix recording of indexing a struct pointer ctype object
itself.
* FFI: Allow non-scalar cdata to be compared for equality by address.
* FFI: Fix pseudo type conversions for type punning.
Don't add ldconfig to tools. Get rid of ldconfig in Makefile instead.
LuaJIT uses ldconfig in the 'install' target.
. Added buildlink3.mk . Added symlinking of libluajit-$(ABIVER).so.$(MAJVER)
Update LuaJIT2 to 2.0.3. This release has the new PS4 port and various important bug fixes over 2.0.2 -- an update is recommended. Updated as discussed with maintainer alnsn@netbsd.org
Import LuaJIT version 2.0.2. LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language.
Initial revision