[OE-core] [PATCH] Add machine qemuarm64

2014-09-12 Thread Kai Kang
Add machine qemuarm64. The configure files are derived from linaro. Update: * rename genericarmv8 to qemuarm64 for coordination in oe-core * include qemu.inc then remove common part of config * disable using autoserial * move arch-armv8.inc from machine/include/arm64 to machine/include/arm And

[OE-core] [PATCH] Add machine qemuarm64

2014-09-12 Thread Kai Kang
Add machine qemuarm64. The configure files are derived from linaro. Update: * rename genericarmv8 to qemuarm64 for coordination in oe-core * include qemu.inc then remove common part of config * disable using autoserial * move arch-armv8.inc from machine/include/arm64 to machine/include/arm There

[OE-core] [PATCH 1/1] dropbear: add pam modules dependencies

2014-09-12 Thread wenzong.fan
From: Wenzong Fan wenzong@windriver.com If pam distro feature enabled, dropbear will need below pam rpms to work: * libpam-runtime * pam-plugin-deny * pam-plugin-permit * pam-plugin-unix Just add the runtime dependencies explicitly. Signed-off-by: Wenzong Fan

[OE-core] [PATCH 0/1] dropbear: add pam modules dependencies

2014-09-12 Thread wenzong.fan
From: Wenzong Fan wenzong@windriver.com If pam distro feature enabled, dropbear will need below pam rpms to work: * libpam-runtime * pam-plugin-deny * pam-plugin-permit * pam-plugin-unix Just add the runtime dependencies explicitly. The following changes since commit

[OE-core] [PATCH 0/1] sstate.bbclass: fix sstate_hardcode_path()

2014-09-12 Thread Robert Yang
The following changes since commit 10df0718d6a626d99beb68cde8d914ee0820d7eb: classes/populate_sdk_base: enable adding custom commands to SDK install script (2014-09-11 17:44:40 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/ssgrep

[OE-core] [PATCH 1/1] sstate.bbclass: fix sstate_hardcode_path()

2014-09-12 Thread Robert Yang
The grep -e (x|y) doesn't work, for example: $ echo xy | grep -e '(x|y)' No output We can use grep -E (extended regexp) or grep -e x -e y to fix it. It only affected the cross recipes. Signed-off-by: Robert Yang liezhi.y...@windriver.com --- meta/classes/sstate.bbclass |2 +- 1 file

Re: [OE-core] [PATCH] Add machine qemuarm64

2014-09-12 Thread Burton, Ross
On 12 September 2014 08:43, Kai Kang kai.k...@windriver.com wrote: There are some packages fail to build with qemuarm64, I will send pathches for them in another series. I can't build a kernel with MACHINE=qemuarm64: | LINKvmlinux | LD vmlinux.o | aarch64-poky-linux-ld.bfd: cannot

Re: [OE-core] [PATCH] Add machine qemuarm64

2014-09-12 Thread Kang Kai
On 2014年09月12日 18:22, Burton, Ross wrote: On 12 September 2014 08:43, Kai Kang kai.k...@windriver.com wrote: There are some packages fail to build with qemuarm64, I will send pathches for them in another series. I can't build a kernel with MACHINE=qemuarm64: | LINKvmlinux | LD

Re: [OE-core] [PATCH] bbclass files: Fix typos/grammar in numerous .bbclass comments.

2014-09-12 Thread Burton, Ross
On 6 August 2014 12:51, Robert P. J. Day rpj...@crashcourse.ca wrote: Various non-functional changes to a number of .bbclass files: * Spelling * Grammar * Ridiculously long lines I was going to merge this but it doesn't apply at all against master now, and I can't seem to find a commit

Re: [OE-core] [PATCH] Add machine qemuarm64

2014-09-12 Thread Burton, Ross
On 12 September 2014 11:25, Kang Kai kai.k...@windriver.com wrote: Thanks for try. I just thought to send the patch of gcc to upstream first then fill the Upstream-Status. I'll send it now. Ah, that would be the problem. :) Ross -- ___

Re: [OE-core] [PATCH] Add machine qemuarm64

2014-09-12 Thread Kang Kai
On 2014年09月12日 18:29, Burton, Ross wrote: On 12 September 2014 11:25, Kang Kai kai.k...@windriver.com wrote: Thanks for try. I just thought to send the patch of gcc to upstream first then fill the Upstream-Status. I'll send it now. Ah, that would be the problem. :) Oops. The patch of gcc

Re: [OE-core] [PATCH] Add machine qemuarm64

2014-09-12 Thread Bruce Ashfield
On Fri, Sep 12, 2014 at 6:22 AM, Burton, Ross ross.bur...@intel.com wrote: On 12 September 2014 08:43, Kai Kang kai.k...@windriver.com wrote: There are some packages fail to build with qemuarm64, I will send pathches for them in another series. I can't build a kernel with MACHINE=qemuarm64:

[OE-core] [PATCH 0/1] Fix for useradd --root

2014-09-12 Thread Peter Kjellerstedt
This fixes a problem with useradd where it used the /etc/login.defs file from my host system rather than the one provided by Poky. The patch has been reported to the pkg-shadow-devel mailing list as well. //Peter The following changes since commit 429802fe6691c8a70ec9735c0db4c6a4e1e1b038:

[OE-core] [PATCH 1/1] shadow: Make useradd work correctly with --root again

2014-09-12 Thread Peter Kjellerstedt
Even if useradd --root root is used it would still read login.defs before doing the chroot() and thus use the one provided by the host rather than the sysroot. Signed-off-by: Peter Kjellerstedt peter.kjellerst...@axis.com --- ...o-not-read-login.defs-before-doing-chroot.patch | 46

[OE-core] [PATCH] license: Improve disk usage

2014-09-12 Thread Richard Purdie
Currently copies of the license files are made which wastes disk space and adversely affects performance. We can link these instead in most cases for small performance gains. Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org diff --git a/meta/classes/license.bbclass

[OE-core] [PATCH] sstate: Fix incorrect return value handling

2014-09-12 Thread Richard Purdie
The use of [ and here means $? is reset and the exit 1 error interception wasn't working, leading to file changed as we read it errors from sstate_create_package when heavily using hardlinks. Fix this by placing $? into a variable. Signed-off-by: Richard Purdie

[OE-core] [PATCH] Fix for locked sstate code.

2014-09-12 Thread Randy Witt
When testing out the locked sstate patches submitted by Richard, I noticed that tasks were running that should be locked. This has to do with OVERRIDES as noted in the following patch. Without this change, it's possible that a large portion of locked items won't actually be locked. Randy Witt

[OE-core] [PATCH] sstatesig.py: Replace '_'s with '-'s in SSTATE_LOCKEDSIGS* names.

2014-09-12 Thread Randy Witt
Using underscores in the types parts of the variable names can cause unexpected issues with overrides. For example, if you have both SSTATE_LOCKEDSIGS_x86_64 and SSTATE_LOCKEDSIGS_x86_64_i586, and i586 is in OVERRIDES, then you lose all of the contents in SSTATE_LOCKEDSIGS_x86_64 and thus don't

[OE-core] [oe-core][PATCH 1/1] siteinfo: account for 32 and 64 bit arm

2014-09-12 Thread Joe Slater
Pull wordsize related items from arm-common and put in arm-32. Leave them as they were. Copy arm-32 to arm-64 and comment out all variables. Re-define to correct values leaving items which do not appear to be used undefined. Signed-off-by: Joe Slater jsla...@windriver.com ---

[OE-core] [oe-core][PATCH 1/1] at-spi2-core: fix DBIND_CHECK_ALIGNOF m4 macro

2014-09-12 Thread Joe Slater
Modify the macro so it will work when cross-compiling. Note that the values checked are normally in a site file so the macro rarely has to discover them. Signed-off-by: Joe Slater jsla...@windriver.com --- meta/recipes-support/atk/at-spi2-core_2.12.0.bb|5 ++-

[OE-core] [oe-core][PATCH 1/1] sysprof: add aarch64 support

2014-09-12 Thread Joe Slater
Enable sysprof compilation for aarch64. Signed-off-by: Joe Slater jsla...@windriver.com --- .../recipes-kernel/sysprof/files/collector_c.patch | 30 meta/recipes-kernel/sysprof/files/rmb-arm.patch|2 +- meta/recipes-kernel/sysprof/sysprof_git.bb |2 + 3

Re: [OE-core] [PATCH] Add machine qemuarm64

2014-09-12 Thread Kang Kai
On 2014年09月12日 21:02, Bruce Ashfield wrote: On Fri, Sep 12, 2014 at 6:22 AM, Burton, Ross ross.bur...@intel.com wrote: On 12 September 2014 08:43, Kai Kang kai.k...@windriver.com wrote: There are some packages fail to build with qemuarm64, I will send pathches for them in another series. I

[OE-core] [PATCH v2] machine: add qemuppc64 machine

2014-09-12 Thread Armin Kuster
override USER_CLASSES as prelink does not work on ppc64 V2: use _remove instead of overriding USER_CLASSES USER_CLASSES_remove = image-prelink IMAGE_PREPROCESS_COMMAND_remove = prelink_image; Signed-off-by: Armin Kuster akuster...@gmail.com --- meta/conf/machine/qemuppc64.conf | 17

[OE-core] [PATCH] linux-yocto: add to qemuppc64 to bb file

2014-09-12 Thread Armin Kuster
Not sure if this this is the correct process. Signed-off-by: Armin Kuster akuster...@gmail.com --- meta/recipes-kernel/linux/linux-yocto_3.14.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-kernel/linux/linux-yocto_3.14.bb

[OE-core] [PATCH] scripts: add qemuppc64 qemu scripts

2014-09-12 Thread Armin Kuster
Signed-off-by: Armin Kuster akuster...@gmail.com --- scripts/runqemu | 10 +++--- scripts/runqemu-internal | 30 ++ 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index ff64a1d..71cd798 100755 ---

[OE-core] [Patch v2] libsanitizer: Enable GCC sanitizers

2014-09-12 Thread Dan McGregor
From: Dan McGregor dan.mcgre...@usask.ca AddressSanitizer is a fast memory error detector. ThreadSanitizer detects data races. UBSanitizer detectes undefined behaviour. All consist of compiler instrumentation and a run-time library. The compiler instrumentation was already enabled, this builds