Re: [OE-core] uninative binary?

2016-11-07 Thread Gary Thomas
On 2016-11-04 11:03, Richard Purdie wrote: On Fri, 2016-11-04 at 08:16 +0100, Gary Thomas wrote: Some of my customers need to be able to build without any network connectivity, so I normally use BB_NO_NETWORK="1" Is there a way to add the uninative "binary shim" to my download mirror? Given th

Re: [OE-core] [PATCH version2] db: disable the ARM assembler mutex code

2016-11-07 Thread Zhou, Li
ping On 11/07/2016 11:02 AM, Li Zhou wrote: The swpb in macro MUTEX_SET will cause "undefined instruction" error on the new arm arches which don't support this assembly instruction any more. If use ldrex/strex to replace swpb, the old arm arches don't support them. So to avoid this issue, just

[OE-core] [PATCH V2] musl: Update to latest on master

2016-11-07 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-core/musl/files/CVE-2016-8859.patch | 79 meta/recipes-core/musl/musl_git.bb | 3 +- 2 files changed, 1 insertion(+), 81 deletions(-) delete mode 100644 meta/recipes-core/musl/files/CVE-2016-8859.patch diff --git a

[OE-core] [PATCH] x264: Update to latest on stable branch

2016-11-07 Thread Khem Raj
- Switch URI to use github mirror for reliabality - Disable openCL code, its not used - TEXTRELs are fixed, therefore dont skip QA check Signed-off-by: Khem Raj --- .../x264/x264/don-t-default-to-cortex-a9-with-neon.patch| 13 ++--- meta/recipes-multimedia/x264/x264_git.bb

Re: [OE-core] [OE-Core][Patch 01/13] arch-mips: Add MACHINEOVERRIDES variables to reduce duplication

2016-11-07 Thread Andre McCurdy
On Mon, Nov 7, 2016 at 9:30 AM, Khem Raj wrote: > > On 11/7/16 7:01 AM, Zubair Lutfullah Kakakhel wrote: >> In some cases, each MIPS variant in a recipe requires a duplicate >> line. Even if the passed flag is the same. >> >> Add global MACHINEOVERRIDES variables for the following >> * mipsarch

Re: [OE-core] [PATCH] mkefidisk.sh: add deprecation warning to the output

2016-11-07 Thread Khem Raj
On 11/7/16 3:00 PM, Ed Bartosh wrote: > On Thu, Nov 03, 2016 at 02:42:39PM -0700, Khem Raj wrote: >> >>> On Oct 31, 2016, at 3:46 AM, Ed Bartosh wrote: >>> >>> mkefidisk.sh will soon be deprecated in favor of .wic images. >>> >>> Added deprecation warning to the script to inform users that >>> t

Re: [OE-core] [PATCH] mkefidisk.sh: add deprecation warning to the output

2016-11-07 Thread Ed Bartosh
On Thu, Nov 03, 2016 at 07:23:24PM -0700, Christopher Larson wrote: > On Thu, Nov 3, 2016 at 2:42 PM, Khem Raj wrote: > > > > On Oct 31, 2016, at 3:46 AM, Ed Bartosh > > wrote: > > > > > > mkefidisk.sh will soon be deprecated in favor of .wic images. > > > > > > Added deprecation warning to the

Re: [OE-core] [PATCH] mkefidisk.sh: add deprecation warning to the output

2016-11-07 Thread Ed Bartosh
On Thu, Nov 03, 2016 at 02:42:39PM -0700, Khem Raj wrote: > > > On Oct 31, 2016, at 3:46 AM, Ed Bartosh wrote: > > > > mkefidisk.sh will soon be deprecated in favor of .wic images. > > > > Added deprecation warning to the script to inform users that > > this script will soon be removed from the

[OE-core] [PATCH 1/4] lib/oe/path: remove duplicate import

2016-11-07 Thread Joshua Lock
There's no need to import glob inside copyhardlinktree() as it's already imported for the entire path module. Signed-off-by: Joshua Lock --- meta/lib/oe/path.py | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py index 06a5af2..f73fd4a 100644 --- a/meta/l

[OE-core] [PATCH 3/4] lib/oe/lsb: prefer /etc/os-release for distribution data

2016-11-07 Thread Joshua Lock
os-release(5) is an increasingly standard source of operating system identification and more likely to be present on modern OS deployments, i.e. many container variants of common distros include os-release and not the lsb_release tool. Therefore we should favour parsing /etc/os-release in distro_i

[OE-core] [PATCH 2/4] lib/oe/lsb: make the release dict keys consistent regardless of source

2016-11-07 Thread Joshua Lock
Rather than have the distro_identifier method look for different keys in the dict depending on the source ensure that each function for retrieving release data uses the same key names in the returned dict. Signed-off-by: Joshua Lock --- meta/lib/oe/lsb.py | 36 +--

[OE-core] [PATCH 0/4] Make oe.lsb.distro_identifier() more consistent

2016-11-07 Thread Joshua Lock
The oe.lsb.distro_identifier() method call will return different identification information depending on the source which is found to provide that information. This series attempts to address this in two ways: 1) preferring os-release(5) as the source of distribution identification. this increas

[OE-core] [PATCH 4/4] lib/oe/lsb: attempt to ensure consistent distro id regardless of source

2016-11-07 Thread Joshua Lock
The LSB Distributor ID and os-release NAME differ for most of the distributions tested by the Yocto Project (CentOS, Debian, Fedora, openSUSE and Ubuntu) however for all but openSUSE the os-release ID matches the LSB Distributor ID when both are lowered before comparison. Therefore, in order to im

Re: [OE-core] [PATCH] u-boot: mkimage: Fix build of u-boot-mkimage

2016-11-07 Thread Jussi Kukkonen
On 7 November 2016 at 20:20, Marek Vasut wrote: > The build failed on qemux86-64 because it couldn't execute > tools/bin2header on a host due to it being compiled with target > toolchain. Drop the incorrect EXTRA_OEMAKE, U-Boot Kbuild/Kconfig > respects the flags from OE. Moreover, since U-Boot b

Re: [OE-core] [PATCH] u-boot: mkimage: Fix build of u-boot-mkimage

2016-11-07 Thread Burton, Ross
On 7 November 2016 at 20:15, Burton, Ross wrote: > Looking at the makefile this isn't the case - it's part of hostprogs so if > anyone of the host-built tools work, they all should. > Just verified that the HOSTCC changes in this patch make it work for me even after removing the sed. Can you se

Re: [OE-core] [PATCH] u-boot: mkimage: Fix build of u-boot-mkimage

2016-11-07 Thread Burton, Ross
On 7 November 2016 at 18:20, Marek Vasut wrote: > + # Disable CONFIG_CMD_LICENSE, license.h is not used by tools and > + # generating it requires bin2header tool, which for target build > + # is built with target tools and thus cannot be executed on host. > + sed -i "s/CON

[OE-core] [PATCH] u-boot: mkimage: Fix build of u-boot-mkimage

2016-11-07 Thread Marek Vasut
The build failed on qemux86-64 because it couldn't execute tools/bin2header on a host due to it being compiled with target toolchain. Drop the incorrect EXTRA_OEMAKE, U-Boot Kbuild/Kconfig respects the flags from OE. Moreover, since U-Boot buildsystem already strips the tools, add INSANE_SKIP = "al

Re: [OE-core] [PATCH] packagegroup-core-sdk: Disable sanitizers for mips64el

2016-11-07 Thread Burton, Ross
On 7 November 2016 at 08:15, wrote: > These are not available on mips64el yet, so disable them. > This was just superseded by the MIPS arch override, so this won't be applied. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openemb

Re: [OE-core] [OE-Core][Patch 00/13] MIPS: Use MACHINEOVERRIDES and reduce duplication

2016-11-07 Thread Khem Raj
On 11/7/16 8:05 AM, Mark Hatle wrote: > > I've looked over the set, it all looks reasonable to me. Its an improvement definitely, however we should address the endianness issue while we are here. > > Acked-by: Mark Hatle > > --Mark > > On 11/7/16 9:01 AM, Zubair Lutfullah Kakakhel wrote: >

Re: [OE-core] [OE-Core][Patch 01/13] arch-mips: Add MACHINEOVERRIDES variables to reduce duplication

2016-11-07 Thread Khem Raj
On 11/7/16 7:01 AM, Zubair Lutfullah Kakakhel wrote: > In some cases, each MIPS variant in a recipe requires a duplicate > line. Even if the passed flag is the same. > > Add global MACHINEOVERRIDES variables for the following > * mipsarch : All MIPS > * mipsarchr6 : All MIPS

Re: [OE-core] [OE-Core][Patch 10/13] ghostscript: Reduce duplication in MIPS variants.

2016-11-07 Thread Khem Raj
On 11/7/16 7:01 AM, Zubair Lutfullah Kakakhel wrote: > Reduce duplication in MIPS variants now that the MACHINEOVERRIDES > variable is defined > > Signed-off-by: Zubair Lutfullah Kakakhel > --- > meta/recipes-extended/ghostscript/ghostscript_9.19.bb | 4 ++-- > 1 file changed, 2 insertions(+),

Re: [OE-core] [PATCH] packagegroup-core-sdk: Disable sanitizers for mips64el

2016-11-07 Thread Khem Raj
On 11/7/16 12:15 AM, jackie.hu...@windriver.com wrote: > From: Jackie Huang > > These are not available on mips64el yet, so disable them. this is ok > > Signed-off-by: Jackie Huang > --- > meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 1 + > 1 file changed, 1 insertion(+) > >

[OE-core] [PATCH] musl: Upgrade to master tip

2016-11-07 Thread Khem Raj
Drop backported patch Signed-off-by: Khem Raj --- meta/recipes-core/musl/files/CVE-2016-8859.patch | 79 meta/recipes-core/musl/musl_git.bb | 3 +- 2 files changed, 1 insertion(+), 81 deletions(-) delete mode 100644 meta/recipes-core/musl/files/CVE-2016-8

[OE-core] [PATCH][V2] lib/oe/qa: handle binaries with segments outside the first 4kb

2016-11-07 Thread Ross Burton
The ELF parser was assuming that the segment tables are in the first 4kb of the binary. Whilst this generally appears to be the case, there have been instances where the segment table is elsewhere (offset 2MB, in this sample I have). Solve this problem by mmap()ing the file instead. Also clean u

Re: [OE-core] [OE-Core][Patch 00/13] MIPS: Use MACHINEOVERRIDES and reduce duplication

2016-11-07 Thread Mark Hatle
I've looked over the set, it all looks reasonable to me. Acked-by: Mark Hatle --Mark On 11/7/16 9:01 AM, Zubair Lutfullah Kakakhel wrote: > Hi, > > This patch series adds a few MACHINEOVERRIDES options in arch-mips > to reduce duplicate configurations in various recipes. > > Further info in

[OE-core] [OE-Core][Patch 06/13] gcc-runtime: Reduce duplication in MIPS variants.

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-devtools/gcc/gcc-runtime.inc | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/me

[OE-core] [OE-Core][Patch 11/13] ltp: Reduce duplication in MIPS variants.

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-extended/ltp/ltp_20160126.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/ltp/ltp_20160126.bb b/meta/rec

[OE-core] [OE-Core][Patch 12/13] mdadm: Reduce duplication in MIPS variants.

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-extended/mdadm/mdadm_3.4.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/mdadm/mdadm_3.4.bb b/meta/r

[OE-core] [OE-Core][Patch 13/13] webkit: Reduce duplication in MIPS variants.

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-sato/webkit/webkitgtk_2.14.1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-sato/webkit/webkitgtk_2.14.1.bb b/me

[OE-core] [OE-Core][Patch 10/13] ghostscript: Reduce duplication in MIPS variants.

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-extended/ghostscript/ghostscript_9.19.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/ghostscript/ghost

[OE-core] [OE-Core][Patch 07/13] gdb: Reduce duplication in MIPS variants.

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-devtools/gdb/gdb-common.inc | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/r

[OE-core] [OE-Core][Patch 02/13] bitbake.conf: Reduce duplication in MIPS variants

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/conf/bitbake.conf | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 9f445bb.

[OE-core] [OE-Core][Patch 08/13] mmc-utils: Reduce duplication in MIPS variants.

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-devtools/mmc/mmc-utils_git.bb | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb b/me

[OE-core] [OE-Core][Patch 01/13] arch-mips: Add MACHINEOVERRIDES variables to reduce duplication

2016-11-07 Thread Zubair Lutfullah Kakakhel
In some cases, each MIPS variant in a recipe requires a duplicate line. Even if the passed flag is the same. Add global MACHINEOVERRIDES variables for the following * mipsarch : All MIPS * mipsarchr6 : All MIPS R6 * mipsarcho32{el} : All MIPS o32 * mipsarchn32{el}

[OE-core] [OE-Core][Patch 05/13] packagegroup: Reduce duplication in MIPS variants.

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 5 + .../packagegroups/packagegroup-core-tools-profile.bb | 10 ++ 2 files ch

[OE-core] [OE-Core][Patch 09/13] valgrind: Reduce duplication in MIPS variants.

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-devtools/valgrind/valgrind_3.12.0.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/valgrind/valgrind_3.12.

[OE-core] [OE-Core][Patch 00/13] MIPS: Use MACHINEOVERRIDES and reduce duplication

2016-11-07 Thread Zubair Lutfullah Kakakhel
Hi, This patch series adds a few MACHINEOVERRIDES options in arch-mips to reduce duplicate configurations in various recipes. Further info in https://bugzilla.yoctoproject.org/show_bug.cgi?id=10404 Regards, ZubairLK Zubair Lutfullah Kakakhel (13): arch-mips: Add MACHINEOVERRIDES variables to

[OE-core] [OE-Core][Patch 04/13] glibc: Reduce duplication in MIPS variants

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-core/glibc/glibc-ld.inc | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/meta/recipes-core/glibc/glibc-ld.inc b/m

[OE-core] [OE-Core][Patch 03/13] fts: Reduce duplication in MIPS variants.

2016-11-07 Thread Zubair Lutfullah Kakakhel
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES variable is defined Signed-off-by: Zubair Lutfullah Kakakhel --- meta/recipes-core/fts/fts.bb | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/meta/recipes-core/fts/fts.bb b/meta/recipes-core/fts/fts.bb inde

Re: [OE-core] [PATCH] u-boot: mkimage: fix build

2016-11-07 Thread Burton, Ross
On 4 November 2016 at 11:06, Stefan Müller-Klieser < s.mueller-klie...@phytec.de> wrote: > This fixes the mkimage build for situations where HOSTCC and friends > need to be overridden and the u-boot makefile defaults don't work. > I applied this on top of the u-boot upgrades and it still breaks:

[OE-core] [PATCH] lib/oe/qa: handle binaries with segments outside the first 4kb

2016-11-07 Thread Ross Burton
The ELF parser was assuming that the segment tables are in the first 4kb of the binary. Whilst this generally appears to be the case, there have been instances where the segment table is elsewhere (offset 2MB, in this sample I have). Solve this problem by mmap()ing the file instead. Also clean u

Re: [OE-core] [PATCH] libbsd 0.8.3: BBCLASSEXTEND to native and nativesdk

2016-11-07 Thread Nicolas Dechesne
On Mon, Nov 7, 2016 at 10:30 AM, Burton, Ross wrote: > On 7 November 2016 at 09:28, Burton, Ross wrote: >> >> Ah. I might (cough) have a hybrid stable/testing setup as I needed a >> newer kernel. I'll have a look. > > > $ grep -r getrandom > x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom

Re: [OE-core] [PATCH] libbsd 0.8.3: BBCLASSEXTEND to native and nativesdk

2016-11-07 Thread Burton, Ross
On 7 November 2016 at 09:42, Nicolas Dechesne wrote: > great. Does that mean that this patch can be merged or do you have any > other issue? > Yeah, it's queued in my staging branch now. Sorry for user error stalling this. Ross -- ___ Openembedded-co

Re: [OE-core] [PATCH] libbsd 0.8.3: BBCLASSEXTEND to native and nativesdk

2016-11-07 Thread Burton, Ross
On 5 November 2016 at 00:09, Phil Blundell wrote: > That would happen if your glibc was compiled against a newer version of > the kernel headers than you actually have installed (bits/syscall.h is > auto-generated from the kernel headers at build time). If this is a clean > Debian install then it

Re: [OE-core] [PATCH] libbsd 0.8.3: BBCLASSEXTEND to native and nativesdk

2016-11-07 Thread Burton, Ross
On 7 November 2016 at 09:28, Burton, Ross wrote: > Ah. I might (cough) have a hybrid stable/testing setup as I needed a > newer kernel. I'll have a look. > $ grep -r getrandom x86_64-linux-gnu/bits/syscall.h:#define SYS_getrandom __NR_getrandom x86_64-linux-gnu/bits/syscall.h:#define SYS_getra

Re: [OE-core] ✗ patchtest: failure for populate_sdk_ext.bbclass: check unfsd before create it

2016-11-07 Thread Burton, Ross
On 7 November 2016 at 08:55, Patchwork wrote: > Test Nametest_signed_off_by_presence > Proposed Fix Sign off the patch > Commit shortlog populate_sdk_ext.bbclass: check unfsd before create it > The patch has a s-o-b, so this is a false positive. Is this checking the cover letter in

Re: [OE-core] [PATCH 1/1] trace-cmd: fix QA warning

2016-11-07 Thread Burton, Ross
On 5 November 2016 at 05:29, Dengke Du wrote: > +PACKAGECONFIG ??= "" > +PACKAGECONFIG[audit] = ",,audit" > + > EXTRA_OEMAKE = "\ > 'prefix=${prefix}' \ > 'bindir=${bindir}' \ > @@ -20,6 +23,7 @@ EXTRA_OEMAKE = "\ > 'libdir=${@oe.path.relative(prefix, libdir)}' \ > \ > N

[OE-core] [PATCH] packagegroup-core-sdk: Disable sanitizers for mips64el

2016-11-07 Thread jackie.huang
From: Jackie Huang These are not available on mips64el yet, so disable them. Signed-off-by: Jackie Huang --- meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb b/meta/recipes-cor

[OE-core] [PATCH 0/1] populate_sdk_ext.bbclass: check unfsd before create it

2016-11-07 Thread Robert Yang
The following changes since commit 58de12eaaac9c60bb8fc84a3a965ef86d2a39ae0: distro_check: partial rewrite to make it work again (2016-11-06 23:35:23 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/ext http://cgit.openembedded.org/cg

[OE-core] [PATCH 1/1] populate_sdk_ext.bbclass: check unfsd before create it

2016-11-07 Thread Robert Yang
Fixed when nativesdk-unfs3 is installed: $ bitbake -c populate_sdk_ext | Traceback (most recent call last): | File "/path/to/oe-core/scripts/lnr", line 21, in | os.symlink(target, linkname) | FileExistsError: [Errno 17] File exists: '../../../../tmp/sysroots/x86_64-linux/usr/bin/unfsd' ->