summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* systemd: Upgrade v246.1 -> v246.2Alex Kiernan2020-08-212-1/+1
| | | | | | | | | | | | | | | | | | | Commits: 946e4c43bb4a tools/make-man-index: fix purpose text that contains tags dae0586e9193 test-fs-util: skip encrypted path test if we get EACCES 0d026c9b0d2f Newer Glibc use faccessat2 to implement faccessat fde6520d468f namespace: fix minor memory leak 208ba581f44f man: fix incorrectly placed full stop 6c81d578289b man: fix typo 53a8d2588e72 bless-boot: add missing verb to --help 4cfa0ac4fdc4 user-record: deal with invalid GECOS fields gracefully ae5234ef4838 user-util: add mangle_gecos() call for turning strings into fields suitable as GECOS fields (From OE-Core rev: 1f5873c476284f0d1ed23345825a0d3ac2b3c626) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade v246 -> v246.1Alex Kiernan2020-08-214-1/+1
| | | | | | | | | | | | | | | | | | | Commits: 972391ac396f fix typo in systemctl help 443aacfcda39 man: clarify that LogNamespace= is for system services only 5aec8fe54e47 _sd-common.h: avoid parsing errors with Coverity f9ad4ea2ca06 analyze: fix 'cat-config systemd/zram-generator.conf' dda6fec1dfc7 man: describe that changing Storage= does not move existing data 2bbd33e476ac core: reset bus error before reuse b81504a3c76b nspawn: Fix incorrect usage of putenv cb263973acf8 man: fix typo in systemd.service 73b432e7ef21 network: fix DHCPv6 Prefix Delegation example after option rename (From OE-Core rev: 26c30c4cccb05d68d22e66dd3b34882837cac5dd) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* volatile-binds: Drop StandardOutput=syslog from systemd unitAlex Kiernan2020-08-211-1/+0
| | | | | | | | | | | With systemd v246 the syslog target now generates a warning (and has been deprecated for some time). Drop the target and allow the default to take effect. (From OE-Core rev: dba15118a749b5e633f03b662c9ba00d6b0eff02) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: Drop StandardError=syslog from systemd unitAlex Kiernan2020-08-211-1/+0
| | | | | | | | | | | With systemd v246 the syslog target now generates a warning (and has been deprecated for some time). Drop the target and allow the default to take effect. (From OE-Core rev: 2ba088d8373d9d54930bc3f5ec1799ea1a6ffafc) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nfs-utils: Drop StandardError=syslog from systemd unitAlex Kiernan2020-08-211-1/+0
| | | | | | | | | | | With systemd v246 the syslog target now generates a warning (and has been deprecated for some time). Drop the target and allow the default to take effect. (From OE-Core rev: 81cc21e57ac309ba728cb4f13fd70d3367b93ab7) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix path to modules-load.d et alAlex Kiernan2020-08-212-0/+82
| | | | | | | | | | | | | | Following 4a56315a990b ("path: use ROOTPREFIX properly"), the paths to sysusers.d, sysctl.d binfmt.d and modules-load.d changed to /lib when building without usrmerge, which aoppears to be an inadvertent ABI change. Undo this change and track upstream: https://github.com/systemd/systemd/issues/16773 (From OE-Core rev: a2b68ba14fb97349d3ebc71e5ca96a340aec243e) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Move musl patches to SRC_URI_MUSLAlex Kiernan2020-08-211-3/+3
| | | | | | | | | | | Supplemental musl patches for v246 were erroneously added to SRC_URI, move them to SRC_URI_MUSL. Fixes: 470c58ba4586 ("systemd: Upgrade v245.6 -> v246") (From OE-Core rev: fb7a03fb6c057e4f8b802671230f67bef53a5818) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-canadian: Correct the regexp to delete versioned gcc binaryKhem Raj2020-08-211-1/+1
| | | | | | | | | | After gcc 10 this expression needed to be adjusted, its better to use a bitbake variable which we do have readily available (From OE-Core rev: ee2beaff701d02736c8244ebc76f6d6ca96a04f4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Let crosssdk gold linker generate 4096 btyes long .interp sectionKhem Raj2020-08-211-5/+21
| | | | | | | | | | | | | When gold is used as default linker in crosssdk e.g. when building SDK binaries with LTO, the binaries do not have large enough .interp section size and SDK relocation fails for those nativesdk binaries and libraries which used gold for linking. This patch extends the .interp relaxation fix to gold (From OE-Core rev: f856b5f38263251bc48af8ba0da3385c09663d38) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cortex-m0plus.inc: Add tuning for cortex M0 plusJonathan Richardson2020-08-202-0/+30
| | | | | | | | | | Add tuning files for ARM cortex m0 plus and the armv6-m architecture that it is based on. (From OE-Core rev: 1a2d05b504c7a6f5a917cb2e7d026e57bb2daf8f) Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.8: update to v5.8.1Bruce Ashfield2020-08-203-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.8 to the latest korg -stable release that comprises the following commits: 5f49ff2540e2 Linux 5.8.1 b08bdb1dfc66 arm64: kaslr: Use standard early random function cdb665888c69 random: random.h should include archrandom.h, not the other way around 6ccec4279301 random32: move the pseudo-random 32-bit definitions to prandom.h 37b9e5781ba9 ima: move APPRAISE_BOOTPARAM dependency on ARCH_POLICY to runtime f9e3fa895314 PCI: tegra: Revert tegra124 raw_violation_fixup 6f5f284ac0a1 powerpc/kasan: Fix shadow pages allocation failure 4fed32566a03 Revert "powerpc/kasan: Fix shadow pages allocation failure" ff35fac0d075 xattr: break delegations in {set,remove}xattr 325811793d34 gpio: max77620: Fix missing release of interrupt 344c69a06049 leds: 88pm860x: fix use-after-free on unbind 6796fca30e0a leds: lm3533: fix use-after-free on unbind 6e99065db5b9 leds: da903x: fix use-after-free on unbind 405c0f560437 leds: lm36274: fix use-after-free on unbind 2cbb6111b385 leds: wm831x-status: fix use-after-free on unbind eb3d82abc335 mtd: properly check all write ioctls for permissions 0ca4ebe9d635 vgacon: Fix for missing check in scrollback handling b8eb3d95c2d4 lkdtm/heap: Avoid edge and middle of slabs 3266873640b7 scripts: add dummy report mode to add_namespace.cocci 5ec142a2e9e6 Smack: fix use-after-free in smk_write_relabel_self() 382c0fa38c0e binder: Prevent context manager from incrementing ref 0 3a75ed41c7ab omapfb: dss: Fix max fclk divider for omap36xx be1c835747f9 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_with_rssi_evt() f00e01212d78 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt() cc09a53b7252 Bluetooth: Fix slab-out-of-bounds read in hci_extended_inquiry_result_evt() 51af3c373643 Staging: rtl8188eu: rtw_mlme: Fix uninitialized variable authmode 22e041f720e6 staging: rtl8712: handle firmware load failure 7fa3a6e9061c staging: android: ashmem: Fix lockdep warning for write operation 98228ec8440f ALSA: seq: oss: Serialize ioctls f990beaaff08 ALSA: hda/ca0132 - Fix AE-5 microphone selection commands. e0b12b2ba9ed ALSA: hda/ca0132 - Fix ZxR Headphone gain control get value. b743b82bdfa8 ALSA: hda/ca0132 - Add new quirk ID for Recon3D. ea441daae389 ALSA: hda/realtek: Add alc269/alc662 pin-tables for Loongson-3 laptops 88f484351d8f Revert "ALSA: hda: call runtime_allow() for all hda controllers" a7e7da440092 usb: xhci: Fix ASMedia ASM1142 DMA addressing 2ef10b5be9a5 usb: xhci: define IDs for various ASMedia host controllers 3d73faca68fa USB: iowarrior: fix up report size handling for some devices a7ee4b448513 USB: serial: qcserial: add EM7305 QDL product ID e912cdc8d225 scsi: ufs: Fix and simplify setup_xfer_req variant operation (From OE-Core rev: 0344dd754aafbf3d05539bbc0c6d39f0541f300b) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto/5.8: add gmp-native dependencyBruce Ashfield2020-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | With the latest gcc10 plugins, the host tools need gmp support or we end up with: HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o In file included from /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/gcc-plugin.h:28, from /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/gcc-common.h:7, from /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3: /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/system.h:687:10: fatal error: gmp.h: No such file or directory 687 | #include <gmp.h> | ^~~~~~~ (From OE-Core rev: d3590f16d9c1b56813114113b74f7b6f01e6b0ba) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: introduce 5.8 reference kernelBruce Ashfield2020-08-203-0/+130
| | | | | | | | | | | | | | | | | | Add the next set of "versioned" linux-yocto recipes that can be used to build v5.8 upstream (v5.8/base) or 5.8 with some emedded specific features (v5.8/standard/*). Note: along with the new 5.8 content, the recipes have a tweaked licence checksum, which The needs to be updated to account for kernel commit 74835c7db0322b [COPYING: state that all contributions really are covered by this file]. These have been built and booted for all supported qemu architectures. (From OE-Core rev: 18edf84ec6cfcc137602f89ddc024d1fe1dcf03a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libc-headers: update to v5.8Bruce Ashfield2020-08-204-11/+23
| | | | | | | | | | | | | | | | | | | | | | Updating the libc-headers to v5.8. Adjustments to the recipe include: The license checksum. Needs to be updated to account for kernel commit 74835c7db0322b [COPYING: state that all contributions really are covered by this file]. And the ARM multilib headers need to check the version to adjust for kernel commit: 541ad0150ca4 [arm: Remove 32bit KVM host support]. We don't want to break potential other libc-header users, so we check the version and continue to install the file if the version is less than v5.8 One patch is refreshed to remove fuzz when building musl. (From OE-Core rev: 4c3750bbc9dae30d91bd0e5efc8f614810289b31) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: backport a fix for confusing non-fatal errorMartin Jansa2020-08-201-0/+4
| | | | | | | | | | | | | | | | | | | | * add V=1 to make log.do_compile a bit more useful, with this it shows: /bin/sh '/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/tools/perf/trace/beauty/arch_errno_names.sh' x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/recipe-sysroot /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/tools > /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/trace/beauty/generated/arch_errno_name_array.c find: unknown predicate `-m64/arch' x86_64-oe-linux-gcc: error: unrecognized command-line option '-m64/include/uapi/asm-generic/errno.h' x86_64-oe-linux-gcc: fatal error: no input files compilation terminated. x86_64-oe-linux-gcc: error: unrecognized command-line option '-m64/include/uapi/asm-generic/errno.h' x86_64-oe-linux-gcc: fatal error: no input files compilation terminated. * apply https://github.com/torvalds/linux/commit/e4ffd066ff440a57097e9140fa9e16ceef905de8 with sed call to fix this (From OE-Core rev: c603e6e13e44ae907cf1f04abf6e1babf3d7be26) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gpgme: fix multilib header conflictChangqing Li2020-08-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fix error: file /usr/include/gpgme.h conflicts between attempted installs of gpgme-dev-1.13.1-r0.core2_64 and lib32-gpgme-dev-1.13.1-r0.core2_32 part of diff: -#if 64 +#if 0 #ifndef _FILE_OFFSET_BITS -#error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual. +#error GPGME was compiled with _FILE_OFFSET_BITS = 0, please see the section "Largefile support (LFS)" in the GPGME manual. #else -#if (_FILE_OFFSET_BITS) != (64) -#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 64, please see the section "Largefile support (LFS)" in the GPGME manual. +#if (_FILE_OFFSET_BITS) != (0) +#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 0, please see the section "Largefile support (LFS)" in the GPGME manual. #endif #endif #endif LFS support is enabled by default, and this header is generated during build according to current configure (From OE-Core rev: bd056f9c4c22740a4f7ede00c758a21037eae5ca) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: add missing packageconfigsGuillaume Champagne2020-08-201-2/+18
| | | | | | | | | | | | | | | Add missing package configs to: - Select shell integration - Disable screen sharing module (independent from backend) - Disable jpeg image support `PACKAGECONFIG` default value is updated to enable these configs, since they were previously implicitly enabled. (From OE-Core rev: f883413b2bc6e7d0bd44ce8324cd36a8fe918e5f) Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Sort shlib2 output for hash equivalencyMark Hatle2020-08-201-1/+1
| | | | | | | | | | | The output was unsorted, so different versions of python, different input ordering could have have changed the files, and thus changed the hashes making the system think the output was different, even when unmodified. (From OE-Core rev: 23cc846c92219c5cbe3fc6a0024579195d3cbd78) Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ethtool: upgrade 5.7 -> 5.8Changhyeok Bae2020-08-202-5/+7
| | | | | | | | | test-features is only generated without netlink configuration. (From OE-Core rev: bc037110fc53b34db7073b7c17fd715b30651a9e) Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* iproute2: upgrade 5.7.0 -> 5.8.0Changhyeok Bae2020-08-203-13/+12
| | | | | | | (From OE-Core rev: a38527357f4255f0f4cf888f640f38f2ef5942e0) Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/manual/bsp-hw.json : remove X_server_can_start_up_with_runlevel_5_boot testTeohJayShen2020-08-201-22/+0
| | | | | | | | | remove the test as graphical mode is already being validated (From OE-Core rev: ad5b5ca9ec1d9106911a610bb36fb98e3f17748d) Signed-off-by: TeohJayShen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/manual/bsp-hw.json : remove shutdown_system testTeohJayShen2020-08-201-22/+0
| | | | | | | | | remove the test as shutdown function is already being validated (From OE-Core rev: 58281082fbed57298247c019c3d8149e688de161) Signed-off-by: TeohJayShen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: Fix build with -fno-common/mipsKhem Raj2020-08-192-0/+46
| | | | | | | | | Build fails on architectures which use IOPortBase (From OE-Core rev: 36dc499eea1d0e5c342b94ce30b56ba8bbf04922) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x264: upgrade to latest revisionAnuj Mittal2020-08-191-2/+2
| | | | | | | (From OE-Core rev: 20027520b586e0514774203a882617319cccfa2b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* stress-ng: upgrade 0.11.17 -> 0.11.18Anuj Mittal2020-08-191-1/+1
| | | | | | | (From OE-Core rev: 036f29472caed24f905ed0bed3c8f0d2b079ee22) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: upgrade 3.32.3 -> 3.33.0Anuj Mittal2020-08-191-2/+1
| | | | | | | (From OE-Core rev: ef27d18d3b91d0545cb1e4ef3cb8bd002ea73b47) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 2.6.8 -> 2.7.1Anuj Mittal2020-08-191-2/+1
| | | | | | | (From OE-Core rev: 0ad37a94afd9a04a4582ee2ec51d218d28669264) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-ucm-conf: use ${datadir} in do_install()Mikko Rapeli2020-08-191-3/+3
| | | | | | | | | Fixes build with custom directory structure. (From OE-Core rev: 710567168eca3d9a580f768a82db033f1cca3cec) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* alsa-topology-conf: use ${datadir} in do_install()Mikko Rapeli2020-08-191-2/+2
| | | | | | | | | Fixes build with custom directory structure. (From OE-Core rev: 9eec98b3842bb046cbd202140b9b5ccf09d20466) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libffi: fix multilib header conflictChangqing Li2020-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix error: file /usr/include/ffitarget.h conflicts between attempted installs of lib32-libffi-dev-3.3-r0.armv7vet2hf_vfp and libffi-dev-3.3-r0.cortexa57 part of diff #ifndef LIBFFI_ASM -typedef unsigned long ffi_arg; -typedef signed long ffi_sarg; - -typedef enum ffi_abi { - FFI_FIRST_ABI = 0, - FFI_SYSV, - FFI_VFP, - FFI_LAST_ABI, -#if defined(__ARM_PCS_VFP) || defined(_M_ARM) - FFI_DEFAULT_ABI = FFI_VFP, +#ifdef __ILP32__ +#define FFI_SIZEOF_ARG 8 +#define FFI_SIZEOF_JAVA_RAW 4 +typedef unsigned long long ffi_arg; +typedef signed long long ffi_sarg; +#elif defined(_M_ARM64) +#define FFI_SIZEOF_ARG 8 +typedef unsigned long long ffi_arg; +typedef signed long long ffi_sarg; #else - FFI_DEFAULT_ABI = FFI_SYSV, -#endif -} ffi_abi; +typedef unsigned long ffi_arg; +typedef signed long ffi_sarg; #endif -#define FFI_EXTRA_CIF_FIELDS \ - int vfp_used; \ - unsigned short vfp_reg_free, vfp_nargs; \ - signed char vfp_args[16] \ - -#define FFI_TARGET_SPECIFIC_VARIADIC -#ifndef _M_ARM -#define FFI_TARGET_HAS_COMPLEX_TYPE +typedef enum ffi_abi + { + FFI_FIRST_ABI = 0, + FFI_SYSV, + FFI_LAST_ABI, + FFI_DEFAULT_ABI = FFI_SYSV + } ffi_abi; #endif /* ---- Definitions for closures ----------------------------------------- */ #define FFI_CLOSURES 1 -#define FFI_GO_CLOSURES 1 #define FFI_NATIVE_RAW_API 0 #if defined (FFI_EXEC_TRAMPOLINE_TABLE) && FFI_EXEC_TRAMPOLINE_TABLE #ifdef __MACH__ -#define FFI_TRAMPOLINE_SIZE 12 -#define FFI_TRAMPOLINE_CLOSURE_OFFSET 8 +#define FFI_TRAMPOLINE_SIZE 16 +#define FFI_TRAMPOLINE_CLOSURE_OFFSET 16 #else #error "No trampoline table implementation" #endif #else -#ifdef _MSC_VER -#define FFI_TRAMPOLINE_SIZE 16 -#define FFI_TRAMPOLINE_CLOSURE_FUNCTION 12 -#else -#define FFI_TRAMPOLINE_SIZE 12 -#endif +#define FFI_TRAMPOLINE_SIZE 24 #define FFI_TRAMPOLINE_CLOSURE_OFFSET FFI_TRAMPOLINE_SIZE #endif +#ifdef _M_ARM64 +#define FFI_EXTRA_CIF_FIELDS unsigned is_variadic +#endif + (From OE-Core rev: efe8d76810973e7032e729beee106b8acc39b8ed) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libubootenv: uprev to v0.3Ming Liu2020-08-181-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update libubootenv to the latest 0.3 release, which comprises the following commits: ``` 1efed83 Increase max length for device name 6f4fc1c uboot_env: Use canonicalized pathname when reading device 23b3086 Fix bug introduced by commit 52a70114 ed1a53e Dont store to device if no value changes 4a0a466 Merge pull request #7 from TomzBench/cmake-fix 6117831 Added Coverity badge 49372a1 Fix coverity #293496 69a6819 Fix coverity #293503 and #293507 258bf52 Fix coverity #293501 aa52e61 Fix coverity #293505 52a7011 Fix coverity #293504 and #293506 e822218 Fix coverity #293495 and #293497 23b305f Fix coverity #293499 25ef1f6 Add coverity setup for Travis 41b5188 fixed install for static target, fixed BUILD_DOC acknowledgement 86bd30a Restore ability to feed script file via stdin, using `-s -`. c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP f4b9cde Allow negative offsets 45bf92a Detect sector size if not found in config 9f59db6 uboot_env: remove unused variables 65d243e README: libubootenv is now in oe-core ba952d0 BUG: variable lists not released in close() 690f868 Variables are not removed when loading from file 9e3586a Make sure there's no file descriptor leakage in case of error 03647c4 Check config file defines a non-zero Sector size 3b2d4f1 Check environment size from fw_env.config 879c073 Do not hardcode path for install d9c639b libubootenv: add pkg-config support cc628ee libuboot: wrap libuboot in extern "C" for C++ ``` Also add u-boot-default-env to RRECOMMENDS since /etc/u-boot-initial-env is being referred in libubootenv source, and turns libubootenv's PACKAGE_ARCH to be MACHINE_ARCH since u-boot-default-env is a machine-arch package. (From OE-Core rev: 02d55cd35aac15095fc44f0cf8f9e7a71638f485) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: add u-boot to NON_MULTILIB_RECIPESMing Liu2020-08-181-1/+1
| | | | | | | | | u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES. (From OE-Core rev: 5e7dc0d68efb2d43bbd5b1be9e6d555fc4456fb6) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/machine: set UBOOT_MACHINE for qemumips and qemumips64Ming Liu2020-08-182-0/+4
| | | | | | | | | These machines support booting U-Boot, so set the machine appropriately. (From OE-Core rev: b812fad85aed6cb9e433c689f3b14425488dfc68) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* localedef: Update to include floatn.h fixKhem Raj2020-08-181-1/+1
| | | | | | | | | | | | | | | Currently localedef-native build fails on older hosts which have glibc headers without floatn.h this patch created a local file to avoid this dependency [YOCTO #14004] (From OE-Core rev: 8cabd4d25d967289eaea4a2e4b3c837e9c6d2bee) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Denys Dmytriyenko <denys@ti.com> Cc: Philip Balister <philip@balister.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildgalculator: Patch to fix build with -fno-commonKhem Raj2020-08-181-1/+1
| | | | | | | | | | We need to apply a patch to galculator for it to build with gcc-10+ Remove double definition of 'prefs' variable (From OE-Core rev: 93a62e6b35d1a6ed3c678f8e27508dd0cdbdbbe4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildcpio.py: Apply patch to fix build with -fno-commonKhem Raj2020-08-182-1/+3
| | | | | | | | | | | This sed expression implements the needed patch to fix compilation with -fno-common, hopefully this patch will get included in 2.14 release and we can remove this operation (From OE-Core rev: 77b2e00c37c661a502bb47fcbbeb2e71aca5b9ce) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: perf cs-etm: Move definition of 'traceid_list' global ↵Bruce Ashfield2020-08-183-12/+12
| | | | | | | | | | | | | variable from header file Integrating the following commit(s) to linux-yocto/5.4: 706efec4c1e2 perf cs-etm: Move definition of 'traceid_list' global variable from header file (From OE-Core rev: 8e1d8c2099f29b45f1e96d4349731db036fb7548) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.58Bruce Ashfield2020-08-183-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: cad17feaf0d0 Linux 5.4.58 512570b17807 nfsd: Fix NFSv4 READ on RDMA when using readv df6aeb5235e9 ima: move APPRAISE_BOOTPARAM dependency on ARCH_POLICY to runtime fb264505b395 tcp: apply a floor of 1 for RTT samples from TCP timestamps 848e15a8c8f6 selftests/net: relax cpu affinity requirement in msg_zerocopy test b8f2d34f6bb5 Revert "vxlan: fix tos value before xmit" daff7f09f341 openvswitch: Prevent kernel-infoleak in ovs_ct_put_key() ba729a97ae54 net: thunderx: use spin_lock_bh in nicvf_set_rx_mode_task() 786a9368be8c net: gre: recompute gre csum for sctp over gre tunnels 5d791d36a49b hv_netvsc: do not use VF device if link is down 3a82f4bfd20a dpaa2-eth: Fix passing zero to 'PTR_ERR' warning 5a963aa72107 appletalk: Fix atalk_proc_init() return path 3787b5a3ac67 net: lan78xx: replace bogus endpoint lookup 31489ed8c20c vxlan: Ensure FDB dump is performed under RCU 106b415d5139 rxrpc: Fix race between recvmsg and sendmsg on immediate call failure 6f9354702ca5 net: ethernet: mtk_eth_soc: fix MTU warnings bd68177f26e4 ipv6: Fix nexthop refcnt leak when creating ipv6 route info 89c12bc36262 ipv6: fix memory leaks on IPV6_ADDRFORM path 9b37a7bcdd8a ipv4: Silence suspicious RCU usage warning 4913f71e64ab PCI: tegra: Revert tegra124 raw_violation_fixup ceff42e6c1fc Revert "powerpc/kasan: Fix shadow pages allocation failure" 11e64146dc69 xattr: break delegations in {set,remove}xattr 6059000e145f Drivers: hv: vmbus: Ignore CHANNELMSG_TL_CONNECT_RESULT(23) 3429579045f1 tools lib traceevent: Fix memory leak in process_dynamic_array_len 414f10532c14 atm: fix atm_dev refcnt leaks in atmtcp_remove_persistent 5414f27048e5 igb: reinit_locked() should be called with rtnl_lock 7c8a863ba3cb cfg80211: check vendor command doit pointer before use 83ea63708a29 firmware: Fix a reference count leak. 01fdcb848611 ALSA: hda: fix NULL pointer dereference during suspend eb96e4f71f59 net: ethernet: mtk_eth_soc: Always call mtk_gmac0_rgmii_adjust() for mt7623 fd601f38f59d usb: hso: check for return value in hso_serial_common_create() 871b5a5a3be9 i2c: slave: add sanity check when unregistering fa0195d83a49 i2c: slave: improve sanity check when registering 4bba72b72c36 drm/drm_fb_helper: fix fbdev with sparc64 8e6af828a332 nvme-pci: prevent SK hynix PC400 from using Write Zeroes command 802df1e3f40c drm/nouveau/fbcon: zero-initialise the mode_cmd2 structure 5955ccb5a46d drm/nouveau/fbcon: fix module unload when fbcon init has failed for some reason e0c47a51fc62 net/9p: validate fds in p9_fd_open fe6402e0e66c leds: 88pm860x: fix use-after-free on unbind 3564cddefb5b leds: lm3533: fix use-after-free on unbind 385c1ae9ddb9 leds: da903x: fix use-after-free on unbind bde8f23c030c leds: lm36274: fix use-after-free on unbind 635f8fcc2ee3 leds: wm831x-status: fix use-after-free on unbind 9a53e8bd59d9 mtd: properly check all write ioctls for permissions 8c3215a0426c vgacon: Fix for missing check in scrollback handling 1ae21e97d5d3 scripts: add dummy report mode to add_namespace.cocci 5f5fb7cea828 Smack: fix use-after-free in smk_write_relabel_self() c5665cafbedd binder: Prevent context manager from incrementing ref 0 da47eae4e165 omapfb: dss: Fix max fclk divider for omap36xx b78763e0a247 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_with_rssi_evt() 70d1e884edc4 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt() c26eaaf547b7 Bluetooth: Fix slab-out-of-bounds read in hci_extended_inquiry_result_evt() a8b8b535c588 Staging: rtl8188eu: rtw_mlme: Fix uninitialized variable authmode af707d9d7f44 staging: rtl8712: handle firmware load failure 6a7626c4798d staging: android: ashmem: Fix lockdep warning for write operation 4d81a7bdd3b2 ALSA: seq: oss: Serialize ioctls 3ebdc7b61906 ALSA: hda/ca0132 - Fix AE-5 microphone selection commands. b8ce0756b312 ALSA: hda/ca0132 - Fix ZxR Headphone gain control get value. 87775770635a ALSA: hda/ca0132 - Add new quirk ID for Recon3D. 1d05ad79e1dd ALSA: hda/realtek: Add alc269/alc662 pin-tables for Loongson-3 laptops 864468a7a63b Revert "ALSA: hda: call runtime_allow() for all hda controllers" e8053c68337e io_uring: Fix use-after-free in io_sq_wq_submit_work() a4d61e66ee4a io_uring: prevent re-read of sqe->opcode 67afa25456d0 usb: xhci: Fix ASMedia ASM1142 DMA addressing e7ad225ba4ef usb: xhci: define IDs for various ASMedia host controllers 7173ac5c07bb USB: iowarrior: fix up report size handling for some devices 68a2350376b1 perf/core: Fix endless multiplex timer aabba1b10075 USB: serial: qcserial: add EM7305 QDL product ID (From OE-Core rev: 62acf5a876875bf734d53bd526b11b19e7bfcf45) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-tools: upgrade 2.12.1 -> 2.12.2Richard Purdie2020-08-182-45/+1
| | | | | | | | Drop patch merged upstream. (From OE-Core rev: 5df317553cb764ca873bf209bbd2bc8a47296169) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selftest/tinfoil: Increase wait event timeoutRichard Purdie2020-08-181-2/+3
| | | | | | | | | | | | | We're seeing this on the autobuilder when IO load is high. Increase the timeout to give this a better chance of working out ok since there is no particular reason we only need to wait 5s and searching for files is IO sensitive. [YOCTO #14001] (From OE-Core rev: c847ed207795bc03f791ee5a3348fa5860c53e70) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Upgrade to 10.2.0Khem Raj2020-08-1855-265/+7
| | | | | | | | | | Drop 0036-Enable-CET-in-cross-compiler-if-possible.patch and pr96130.patch they are already in 10.2 (From OE-Core rev: 35eda14fbdc38ae5e686c2d30a2c1d5569bd3088) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: Fix additional duplicate symbols on aarch64/x86_64 buildsKhem Raj2020-08-181-7/+32
| | | | | | | | | Fixes build with -fno-common (From OE-Core rev: 984740bfd8b655a95065f628a89459ac06086b42) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Upgrade 5.0.0 -> 5.1.0Richard Purdie2020-08-1727-733/+130
| | | | | | | | | | | | | | | | | | | | | | * Drop backported CVE fixes * Drop cpu backtrace patch from 2015 for debugging an issue which we no longer see (patch throws rejects, files have moved) * Update mips patch to account for file renames * Update chardev patch to match upstream code changes * Update webkitgtk patch, qemumips build works ok but qemux86 musl webkitgtk still fails. Need to figure out the correct fix and upstream it for this, current revert patch is not maintainable. Release notes for 5.1.0 mention slight qemumips performance improvements which would be valuable to us. My tests show no improvement in qemumips testimage execution time for core-image-sato-sdk. Fix a ptest issue for a file looking for /usr/bin/bash when we have /bin/bash. (From OE-Core rev: 686b770af67fdd2251f4ddab5b0eefc8fb0870ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fribidi: extend CVE_PRODUCT to include fribidiChen Qi2020-08-151-1/+1
| | | | | | | | | For example, CVE-2019-18397 uses fribidi instead gnu_fribidi. (From OE-Core rev: fa5d0f2c61a704436d71e5f02042fa8b2940f541) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-runtime.inc: fix m32 compile fail with x86-64 compilerChangqing Li2020-08-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configuration: MACHINE ??= "qemux86-64" require conf/multilib.conf MULTILIBS ?= "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 ?= "core2-32" IMAGE_INSTALL_append = " packagegroup-core-buildessential lib32-libstdc++ lib32-libstdc++-dev" m32 compile failed on target: cmd: gcc -m32 -v test.cpp -o test output: GGC heuristics: --param ggc-min-expand=45 --param ggc-min-heapsize=29590 ignoring nonexistent directory "/usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0/x86_64-poky-linux/32" ignoring nonexistent directory "/usr/lib64/x86_64-poky-linux/10.1.0/include" ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../x86_64-poky-linux/include" /usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0/backward /usr/lib64/gcc/x86_64-poky-linux/10.1.0/include /usr/lib64/gcc/x86_64-poky-linux/10.1.0/include-fixed /usr/include End of search list. GNU C++14 (GCC) version 10.1.0 (x86_64-poky-linux) compiled by GNU C version 10.1.0, GMP version 6.2.0, MPFR version 4.1.0, MPC version 1.1.0, isl version none GGC heuristics: --param ggc-min-expand=45 --param ggc-min-heapsize=29590 Compiler executable checksum: bc3b2f3a33dad80e30112cf1235bf631 In file included from test.cpp:1: /usr/include/c++/10.1.0/iostream:38:10: fatal error: bits/c++config.h: No such file or directory 38 | #include <bits/c++config.h> | ^~~~~~~~~~~~~~~~~~ cannot find header since /usr/lib64/gcc/x86_64-poky-linux/10.1.0/x86_64-poky-linux/32 is missing fixed by link it to ../i686-poky-linux (From OE-Core rev: 509022ea8db314dd9d010a478fd84d0234905c6b) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* librsvg: Upgrade 2.40.20 -> 2.40.21Adrian Bunk2020-08-151-2/+1
| | | | | | | | | This fixes CVE-2019-20446. (From OE-Core rev: 5c117379dec1e33216fcbaf49d2b6130adf54bc1) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: disable scanner caching in installJeremy Puhlman2020-08-151-0/+5
| | | | | | | | | | | | do_compile and the wrapper already disable touching the home cache. Do the same in do_install. [YOCTO #13970] (From OE-Core rev: ad4b50ca75b902d217c2ce6ebdf7cad7426fc23f) Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkitgtk: Upgrade to 2.28.4Khem Raj2020-08-152-1/+68
| | | | | | | | | backport a patch from master to fix clang11 build error (From OE-Core rev: 6d38f23f5c34dfb2a2d28b834b0c35b1f7778f85) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-compare: Drop recipeRichard Purdie2020-08-153-31/+0
| | | | | | | | | | If we no longer have the packagefeed-stability class, we no longer need need build-compare as it was the only user of it. Therefore drop the recipe too. (From OE-Core rev: d6eb93d7c5c9bb1891527581eb0675c3aee271f6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagefeed-stability: Remove as obsoleteRichard Purdie2020-08-151-252/+0
| | | | | | | | | | | | | This class had great ideas and potential but now we have hash equivalence and reproducibility, its effectively obsolete. I'm not aware of any serious use of the class, we certainly don't get bug reports or patches so remove it and focus on those other areas. (From OE-Core rev: a7f7fc07fa9a95bb0294fa4398a0e56e80a7e148) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>