summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/luajit
Commit message (Collapse)AuthorAgeFilesLines
* luajit: Update to latest on v2.1 branchKhem Raj2023-01-071-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Use builtin for __clear_cache on clangKhem Raj2022-09-112-0/+30
| | | | | | Fixed build on mips Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Upgrade to latest on v2.1 branchKhem Raj2022-03-211-3/+3
| | | | | | | | | License-Update: Copyright years and date updated [1] [2] [1] https://repo.or.cz/luajit-2.0.git/commit/f47c864b0186fc92a2264e68e1151d0d2b24969e [2] https://repo.or.cz/luajit-2.0.git/commit/c4dfb625bad8937d72074852a977738ec3eb1ab7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Fix override syntaxKhem Raj2021-08-061-3/+3
| | | | | | | | Do not convert the variable name resembling override setups passed to makefile Fix some of missed overrides Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Martin Jansa <Martin.Jansa@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-15/+15
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: Upgrade to latest on v2.1 releaseKhem Raj2021-02-242-6/+5
| | | | | | | | brings in bugfixes [1] [1] https://github.com/LuaJIT/LuaJIT/compare/94d4abcca966df2cc423e821bcacd04898f73117...ec6edc5c39c25e4eb3fca51b753f9995e97215da Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: advance SRCREV to fix two CVE'sSlater, Joseph2020-09-151-2/+4
| | | | | | | | | | | | Fix CVE-2020-15890 and CVE-2020-24372. Also change PV format because the reference to 2.1.0-beta3 was already far behind the SRCREV. Now, base PV on a tag and date of SRCREV commit if it is later. Sort order is 2.1.0~beta3 -> 2.1.0~beta-yymmdd -> 2.1.0 -> 2.1.0-yymmdd. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Disable on rv32Khem Raj2020-04-291-0/+1
| | | | | | Not ported to rv32 yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Upgrade to 2.1.0-beta3Leo Yan2020-02-272-9/+8
| | | | | | | | | | | Since luajit 2.1.0-beta3 can support architecture aarch64 and the old misses to support aarch64, the patch upgrades to luajit 2.1.0-beta3. Also updated clang.patch to dismiss patch warning: "Hunk #1 succeeded at 436 with fuzz 1 (offset 123 lines)." Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Mark incompatible for riscv64Khem Raj2020-01-251-1/+2
| | | | | | rv64 support is not yet available Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Make powerpc64le overridesKhem Raj2020-01-191-0/+1
| | | | | | The existing conditions for ppc64/be are applicable for le as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Add ppc/ppc64 to unsupported arch listKhem Raj2019-12-191-1/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: remove True option to getVar calls (again)André Draszik2019-01-131-1/+1
| | | | | | | | | | | | | | A couple have still been missed in the past despite multiple attempts at doing so (or simply have re-appeared?). Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Disable for mips n64/n32 hostsKhem Raj2019-01-041-2/+4
| | | | | | | - mips64 port does not exist - Also convert aarch64 compatible host case to an override Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Dont use BUILD_LDFLAGS when compiling host binariesKhem Raj2018-05-171-5/+4
| | | | | | | | | | | | | | | | | | | BUILD_LDFLAGS add --dynamic-linker to point to uninative but some binaries in luajit are for 32bit build host, so even if your host has the needed runtime, it will fail to execute because uninative ldso doesn't know about multilib we get cyptic errors like | make[1]: execvp: host/minilua: Accessing a corrupted shared library | make[1]: *** [Makefile:610: host/buildvm_arch.h] Error 127 Switch to using git for SRC_URI, master is pointing to latest 2.0 stable, it gets us all the patches done since last 2.0.5 relases in 2017 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* luajit: exclude for aarch64. not support in this versionArmin Kuster2018-03-121-0/+2
| | | | | | | | | | | make[1]: Entering directory '/home/jenkins/oe/world/shr-core/tmpfs/work/aarch64-oe-linux/luajit/2.0.5-r0/LuaJIT-2.0.5/src' | lj_arch.h:55:2: error: #error "No support for this architecture (yet)" | #error "No support for this architecture (yet)" | ^~~~~ | lj_arch.h:294:2: error: #error "No target architecture defined" | #error "No target architecture defined" Signed-off-by: Armin Kuster <akuster808@gmail.com>
* luajit: create developer symlinksPascal Bach2018-01-221-0/+1
| | | | | | | | | | LuaJIT tries to call ldconfig during installation which doesn't work. This causes the .so and .so.2 symlinks to no be created. By setting "LDCONFIG= :" the call will be skipped the same as on Darwin Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* luajit: Fix mips build with clangKhem Raj2017-09-222-0/+20
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: 2.0.4 -> 2.0.5Huang Qiyu2017-05-231-3/+3
| | | | | | | | 1) Upgrade luajit from 2.0.4 to 2.0.5. 2) License checksum changed,since the copyright years were updated. Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: test SITEINFO_BITS instead of maintaining a list of 32bit targetsAndre McCurdy2017-03-161-6/+2
| | | | | | | | | | | | When cross compiling, the word size of the compiler set via HOST_CC must match the word size of the target. That's achieved by appending "-m32" to BUILD_CC_ARCH if the target word size is known to be 32bits. Unfortunately the current list of over-rides may not cover all cases. Using SITEINFO_BITS is a more generic solution. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: mips and mipsel are 32bit targets tooAndre McCurdy2017-02-131-0/+2
| | | | | | | | | | | | | | When cross compiling, the word size of the compiler set via HOST_CC must match the word size of the target. That's achieved by appending "-m32" to BUILD_CC_ARCH if the target word size is known to be 32bits. Unfortunately the current list of over-rides (powerpc, x86 and arm) does not cover all cases. Add mips and mipsel to the list too (which is still not enough to cover all targets or corner cases such as x32, but better than before). Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: fix build issues, obey more varsChristopher Larson2016-06-081-13/+43
| | | | | | | | | | | | | | | | | | | | | Rework how variables are passed in to ensure that more of our flag vars are obeyed, make it obey more of our target path vars, and use fewer of its hardcoded flags. Also add verbosity to the compile output for debugging. Without this, errors were seen for us: | In file included from .../lib/gcc/i686-pc-linux-gnu/5.2.0/include-fixed/64/sgxx-glibc/syslimits.h:7:0, | from .../lib/gcc/i686-pc-linux-gnu/5.2.0/include-fixed/64/sgxx-glibc/limits.h:34, | from luaconf.h:12, | from lua.h:16, | from lj_arch.h:9: | .../lib/gcc/i686-pc-linux-gnu/5.2.0/include-fixed/64/sgxx-glibc/limits.h:168:61: fatal error: limits.h: No such file or directory | compilation terminated. | Makefile:233: *** Unsupported target architecture. Stop. | make[1]: Leaving directory '.../luajit/2.0.4-r0/LuaJIT-2.0.4/src' Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: fix build IIMartin Jansa2016-03-251-13/+17
| | | | | | | | | | | * previous fix didn't work very well, because host version really needs to use the same pointer size, so it's better to disable native builds completely and let HOST_LUA to be compiled in target build with correct params * EXTRA_OEMAKE_append_mips64 = ' HOST_CC="${BUILD_CC} -m32"' looks like mistake, is mips64 using 32bit pointers? Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: depend on luajit-native to provide host luaMartin Jansa2016-03-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * otherwise minilua for host is built during build of target lua, see comment in Makefile: # If left blank, minilua is built and used. You can supply an installed # copy of (plain) Lua 5.1 or 5.2, plus Lua BitOp. E.g. with: HOST_LUA=lua * be aware that there is still native buildvm which needs the same headers if it fails for you, then you probably need to install libc6-dev:i386 which installs these headers to hosts /usr/include, some architectures are passing HOST_CC="${BUILD_CC} -m32" in EXTRA_OEMAKE, that's why you need 32bit headers on 64bit host. * building native minilua fails on some hosts like this: ERROR: luajit-2.0.4-r0 do_compile: oe_runmake failed ERROR: luajit-2.0.4-r0 do_compile: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/temp/log.do_compile.3067) ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/temp/log.do_compile.3067 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 8 CROSS=arm-oe-linux-gnueabi- TARGET_CFLAGS= --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -march=armv5te -mthumb TARGET_LDFLAGS= --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm TARGET_SHLDFLAGS= --sysroot=/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm HOST_CC=gcc -m32 | ==== Building LuaJIT 2.0.4 ==== | make -C src | make[1]: Entering directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/LuaJIT-2.0.4/src' | HOSTCC host/buildvm_asm.o | HOSTCC host/minilua.o | HOSTCC host/buildvm_peobj.o | HOSTCC host/buildvm_lib.o | HOSTCC host/buildvm_fold.o | CC lj_gc.o | CC lj_obj.o | CC lj_char.o | In file included from host/buildvm_peobj.c:9:0: | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory | #include <sys/types.h> | ^ | compilation terminated. | In file included from host/buildvm_fold.c:6:0: | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory | #include <sys/types.h> | ^ | compilation terminated. | In file included from host/buildvm_asm.c:6:0: | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory | #include <sys/types.h> | ^ | compilation terminated. | In file included from host/buildvm_lib.c:6:0: | host/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory | #include <sys/types.h> | ^ | compilation terminated. | In file included from /usr/include/limits.h:25:0, | from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:168, | from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/syslimits.h:7, | from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:34, | from host/minilua.c:33: | /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory | # include <sys/cdefs.h> | ^ | compilation terminated. | make[1]: *** [host/buildvm_lib.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | make[1]: *** [host/buildvm_fold.o] Error 1 | make[1]: *** [host/buildvm_asm.o] Error 1 | make[1]: *** [host/buildvm_peobj.o] Error 1 | make[1]: *** [host/minilua.o] Error 1 | make[1]: Leaving directory `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/LuaJIT-2.0.4/src' | make: *** [default] Error 2 | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/luajit/2.0.4-r0/temp/log.do_compile.3067) NOTE: recipe luajit-2.0.4-r0: task do_compile: Failed ERROR: Task 6 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-devtools/luajit/luajit_2.0.4.bb, do_compile) failed with exit code '1' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Revert "luajit: Upgrade to 2.1 beta1"Martin Jansa2015-11-112-19/+41
| | | | | | | | This reverts commit 2ce3086aa859178fb5f7d6db9876229c8ed5a6eb. Causes sysdig and devilspie2 build failures. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: drop a note for build machine requirementsAndreas Müller2015-11-061-0/+10
| | | | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
* luajit: Upgrade to 2.1 beta1Khem Raj2015-10-232-41/+9
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: upgrade 2.0.3 -> 2.0.4Li xin2015-08-241-3/+3
| | | | | | | License COPYRIGHT year changed. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: pass correct libdirYi Zhao2015-06-171-1/+1
| | | | | | | | | | | | | | When build luajit-native: /buildarea2/build/tmp/sysroots/x86_64-linux/usr ==== | rmdir: failed to remove '/buildarea2/build/tmp/work/x86_64-linux/luajit-native/2.0.3-r0/image/buildarea2/build/tmp/sysroots/x86_64-linux/usr/lib/lua/5.*': No such file or directory | rmdir: failed to remove '/buildarea2/build/tmp/work/x86_64-linux/luajit-native/2.0.3-r0/image/buildarea2/build/tmp/sysroots/x86_64-linux/usr/lib/lua': No such file or directory | WARNING: exit code 1 from a shell command. Use ${baselib} instead of ${base_libdir} for variable MULTILIB in Makefile. Otherwise the INSTALL_LIB would extend to wrong path. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: fix build failure for multilibYi Zhao2015-06-081-2/+2
| | | | | | | Fix libdir in Makefile Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: use x86 over-ride instead of i586Andre McCurdy2015-06-081-1/+1
| | | | | | | Support i686 without needing to duplicate the i586 over-ride. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit, acpitests: Fix build on hardfloat armKhem Raj2014-09-261-1/+4
| | | | | | | | | | | | luajit as well as acpitests build system has mind of its own and does not respect CC and friends in makefiles so we have to inject the CFLAGS via EXTRA_OEMAKE, some of ABI defining params e.g. float-abi selection is mentioned in TUNE_CCARGS and not in TOOLCHAIN_OPTIONS. This causes build to go for softfloat build and that is not what we want. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: remove fsl ppc specfic patchTing Liu2014-07-222-107/+0
| | | | | | | Will add this patch in meta-fsl-ppc layer via bbappend. Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: upgrade to 2.0.3, add native supportMartin Jansa2014-06-101-8/+9
| | | | | | | | | | | | | | * http://luajit.org/changes.html says: This release has the new PS4 port and various important bugfixes over 2.0.2 - an update is recommended. * add native support (used by efl-native) * drop lua dependency, it doesn't need lua to be built before luajit * LIC_FILES_CHKSUM change is only from copyright year update < Copyright (C) 2005-2013 Mike Pall. All rights reserved. --- > Copyright (C) 2005-2014 Mike Pall. All rights reserved. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: Upgrade to 2.0.1 -> 2.0.2Khem Raj2014-03-181-7/+3
| | | | | | | Drop the backported hotfixes Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: Fix ppc spe issue with PIC codeKhem Raj2013-06-032-3/+114
| | | | | | | | | | some parts of libluajit is not compiled with PICness lets fix it. Also get the hotfix patch for luajit dot org Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* LuaJIT: Upgrade 2.0.0 -> 2.0.1Khem Raj2013-05-163-20/+39
| | | | | | | | | Fix stripping related warnings Drop foldarith_for_spe patch not neded anymore QA Error about elocations in .text are still there like 2.0.0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* luajit: Fix build with SSTATE enabledKhem Raj2013-03-181-2/+2
| | | | | | | | | | | | | luajit does not honor standard CC variables so when its built from shared state it does not compile because --sysroot is wrong. This patch fixes the problem by passing the TOOLCHAIN_OPTONS to appropriate flags so that it gets the correct sysroot value Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit_2.0.0.bb: Fix regexpt to change hardcodes path to fix rebuildsKhem Raj2013-01-221-2/+2
| | | | | | | | | | | when rebuilding we were running into issues where /usr/lib64 was being made /usr/lib6464 and install was failing. Now we check if /lib is at the end of line then only we replace it. Fixes the reinstall issue Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* luajit: Add recipesKhem Raj2013-01-082-0/+66
LuaJIT is for JIT'ting LUA code Signed-off-by: Khem Raj <raj.khem@gmail.com>