Re: [OE-core] what's the easiest way to see the difference some local configuration makes?

2012-07-08 Thread Andrei Gherzan
On Jul 7, 2012 7:14 PM, Robert P. J. Day rpj...@crashcourse.ca wrote: On Sat, 7 Jul 2012, Saul Wold wrote: On 07/07/2012 08:43 AM, Robert P. J. Day wrote: i recall that there's a current request to be able to list the packages and versions that relate *just* to the current target

[OE-core] [PATCH 01/19] mirrors: Add debian archive snapshot mirrors to search list

2012-07-08 Thread Khem Raj
I ran across this problem when apt 0.7.14 was not fetchable from regular debian mirrors and existing snapshot mirror did not have it either since we did not use proper syntax so it was not hitting that. Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/classes/mirrors.bbclass |4 +++- 1

[OE-core] [PATCH 03/19] busybox: Include sys/resource.h for rusage definition

2012-07-08 Thread Khem Raj
Seen with eglibc 2.16 Signed-off-by: Khem Raj raj.k...@gmail.com --- .../busybox/busybox-1.19.4/sys_resource.patch | 99 meta/recipes-core/busybox/busybox_1.19.4.bb|3 +- 2 files changed, 101 insertions(+), 1 deletion(-) create mode 100644

[OE-core] [PATCH 04/19] coreutils: Fix build with eglibc 2.16

2012-07-08 Thread Khem Raj
eglibc 2.16 has removed gets so we account for that Signed-off-by: Khem Raj raj.k...@gmail.com --- .../coreutils/coreutils-8.14/remove-gets.patch | 23 meta/recipes-core/coreutils/coreutils_8.14.bb |3 ++- 2 files changed, 25 insertions(+), 1 deletion(-)

[OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-08 Thread Khem Raj
V2: Additionally, changed gcc to use git fetcher update E5500/E6500 patches for gcc and binutils (backported from mainline) images form p5020ds 32/64 bit built fine. (btw. it does not build with eglibc-2.15) Updated eglibc rpc patch needed for cross build from scratch Updates the gets patch for

[OE-core] [PATCH 05/19] diffutils: Fix build with eglibc 2.16

2012-07-08 Thread Khem Raj
eglibc 2.16 has removed gets so we account for that Signed-off-by: Khem Raj raj.k...@gmail.com --- .../diffutils/diffutils-3.2/remove-gets.patch | 22 meta/recipes-extended/diffutils/diffutils_3.2.bb |6 -- 2 files changed, 26 insertions(+), 2 deletions(-)

[OE-core] [PATCH 02/19] gdb: Replace struct siginfo with proper siginfo_t

2012-07-08 Thread Khem Raj
Fixes errors like /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/gdb-7.4.1-r0.0/gdb-7.4.1/gdb/linux-nat.h:79:18: error: field 'siginfo' has incomplete type Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-devtools/gdb/gdb-common.inc

[OE-core] [PATCH 06/19] udev: Fix build with eglibc 2.16

2012-07-08 Thread Khem Raj
Include sys/resource.h to get definition of PRIO_PROCESS Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-core/udev/udev/include_resource.patch | 31 meta/recipes-core/udev/udev_164.bb |7 +++-- 2 files changed, 35 insertions(+), 3

[OE-core] [PATCH 07/19] gettext, m4, augeas, gnutls: Account for removal of gets in eglibc 2.16

2012-07-08 Thread Khem Raj
These recipes use gnulib which needs this change to use gets when its defined and not otherwise. Until that change goes into gnulib and then all these package upgrade gnulib in their sourcebase we patch them Signed-off-by: Khem Raj raj.k...@gmail.com ---

[OE-core] [PATCH 09/19] grub, guile, cpio, tar, wget: Fix gnulib for absense of gets in eglibc

2012-07-08 Thread Khem Raj
eglibc 2.16 does not export gets anymore Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-bsp/grub/grub-1.99/remove-gets.patch | 20 + meta/recipes-bsp/grub/grub_1.99.bb |3 ++- .../recipes-devtools/guile/files/remove-gets.patch | 23

[OE-core] [PATCH 10/19] boost: Upgrade recipe to 1.50.0

2012-07-08 Thread Khem Raj
1.49.0 is not buildable with eglibc 2.16 since it exposes a define TIME_UTC which is also used in boost until 1.50.0 when it was renamed to TIME_UTC_ so instead of porting needed patches we upgrade boost to latest release Signed-off-by: Khem Raj raj.k...@gmail.com --- .../boost/{boost_1.49.0.bb

[OE-core] [PATCH 08/19] bison: Fix for gets being removed from eglibc 2.16

2012-07-08 Thread Khem Raj
Signed-off-by: Khem Raj raj.k...@gmail.com --- .../recipes-devtools/bison/bison/remove-gets.patch | 20 meta/recipes-devtools/bison/bison_2.5.bb |6 -- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644

[OE-core] [PATCH 11/19] puzzles: Fix checksums

2012-07-08 Thread Khem Raj
Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-sato/puzzles/puzzles_r9561.bb | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/meta/recipes-sato/puzzles/puzzles_r9561.bb b/meta/recipes-sato/puzzles/puzzles_r9561.bb index 83fabdf..b5a47fd 100644 ---

[OE-core] [PATCH 13/19] libpam: Fix build with eglibc 2.16

2012-07-08 Thread Khem Raj
pam_unix_acct.c: In function '_unix_run_verify_binary': pam_unix_acct.c:97:19: error: storage size of 'rlim' isn't known pam_unix_acct.c:106:19: error: 'RLIMIT_NOFILE' undeclared (first use in this function) pam_unix_acct.c:106:19: note: each undeclared identifier is reported only once for each

[OE-core] [PATCH 15/19] gcc: Switch to git SRC_URI

2012-07-08 Thread Khem Raj
svn has been giving troubles with svn 1.7 upgrade Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-devtools/gcc/gcc-4.7.inc | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc

[OE-core] [PATCH 19/19] eglibc: Add recipes for 2.16 release

2012-07-08 Thread Khem Raj
Drop the patches that were either applied or fixed differenly in 2.16 Add patches to fix ppc spe patches to match eglibc 2.16 Fix CPPFLAGS to contain correct includepaths so autoconf cache is generated correctly Signed-off-by: Khem Raj raj.k...@gmail.com ---

[OE-core] [PATCH 14/19] gcc-cross-initial.inc: Use BFD ld as default always

2012-07-08 Thread Khem Raj
When using gold as default linker in final toolchain gcc-cross-initial still needs to use BFD ld since it will link eglibc-initial Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-devtools/gcc/gcc-cross-initial.inc |1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH 18/19] qemu: Explicitly add --disable-gl-accel when gl is not enabled

2012-07-08 Thread Khem Raj
Default seems to be to enable GL accelaration so when gl is not specified in PACKAGECONFIG then add the --disable-gl-accel to really disable it. Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-devtools/qemu/qemu.inc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH 16/19] binutils: Backport the e5500/e6500 patches from mainline

2012-07-08 Thread Khem Raj
This updates the E5500 and E6500 support patches as they have been applied upstream binutils. Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-devtools/binutils/binutils-2.22.inc |2 +- .../binutils/binutils/binutils-powerpc-e5500.patch | 918 +++- 2 files

[OE-core] more pedantry -- looking to clarify layers definition, BBPATH, BBFILES, etc.

2012-07-08 Thread Robert P. J. Day
(most of this is sort of self-evident but it's not documented as well as it could be so i just want to make sure i have it exactly right.) snippets of some layer.conf files: oe-core: BBPATH .= :${LAYERDIR} BBFILES += ${LAYERDIR}/recipes-*/*/*.bb meta-hob: BBPATH := ${BBPATH}:${LAYERDIR}

Re: [OE-core] setting EXTRA_IMAGE_FEATURES explicitly in .bb file can screw things up

2012-07-08 Thread Robert P. J. Day
On Sat, 7 Jul 2012, Robert P. J. Day wrote: a while back, i whined about the inconsistent usage of EXTRA_IMAGE_FEATURES, like this as a snippet: meta/recipes-sato/images/core-image-sato-sdk.bb:EXTRA_IMAGE_FEATURES += tools-debug tools-profile tools-testapps debug-tweaks

Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-08 Thread Khem Raj
On Sun, Jul 8, 2012 at 9:10 AM, Khem Raj raj.k...@gmail.com wrote: V2: Additionally, changed gcc to use git fetcher update E5500/E6500 patches for gcc and binutils (backported from mainline) images form p5020ds 32/64 bit built fine. (btw. it does not build with eglibc-2.15) Updated eglibc

Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-08 Thread Saul Wold
Khem, Not sure if this one is on your radar: | builtin-sched.c: In function 'get_cpu_usage_nsec_parent': | builtin-sched.c:396:16: error: storage size of 'ru' isn't known | builtin-sched.c:400:2: error: implicit declaration of function 'getrusage' [-Werror=implicit-function-declaration] |

Re: [OE-core] [PATCH] libgomp: add libgomp (openmp) library, and build for powerpc targets by default

2012-07-08 Thread Saul Wold
On 07/05/2012 09:32 PM, Matthew McClintock wrote: Signed-off-by: Matthew McClintock m...@freescale.com --- meta/recipes-devtools/gcc/gcc-4.6.inc |2 +- meta/recipes-devtools/gcc/gcc-configure-runtime.inc |2 ++ meta/recipes-devtools/gcc/gcc-package-runtime.inc |9

Re: [OE-core] [PATCH] libgomp: add libgomp (openmp) library, and build for powerpc targets by default

2012-07-08 Thread Saul Wold
On 07/08/2012 02:17 PM, Saul Wold wrote: On 07/05/2012 09:32 PM, Matthew McClintock wrote: Signed-off-by: Matthew McClintock m...@freescale.com --- meta/recipes-devtools/gcc/gcc-4.6.inc |2 +- meta/recipes-devtools/gcc/gcc-configure-runtime.inc |2 ++

Re: [OE-core] [PATCH 2/2] mkelfimage: Add stable git build (initial recipe)

2012-07-08 Thread Saul Wold
On 06/22/2012 01:22 PM, Raymond Danks wrote: Signed-off-by: Raymond Danks ray.da...@se-eng.com --- This was originally submitted to the openembedded project: http://patches.openembedded.org/patch/7687/ Resubmitting to oe-core for review prior to commit in openembedded-core.

Re: [OE-core] [PATCH 2/3] perf: add arch-specific perf-scripting feature

2012-07-08 Thread Saul Wold
On 07/06/2012 01:29 PM, tom.zanu...@intel.com wrote: From: Tom Zanussi tom.zanu...@intel.com Add a new architecture-specific feature named 'perf-scripting'. Adding this into the perf_features_by_arch table in perf.inc for a given arch will enable perf scripting on a target built for that arch,

Re: [OE-core] [PATCH 2/2] lsbinitscripts: Add a linking for functions.lsbinitscripts

2012-07-08 Thread Kang Kai
On 2012年07月07日 08:43, Saul Wold wrote: On 06/28/2012 02:35 AM, Kang Kai wrote: From: Xiaofeng Yan xiaofeng@windriver.com Increase ALTERNATIVE_PRIORITY of functions to be higher than the value of package initscript. When lsbinitscripts installed, file functions provided by lsbinitscripts

[OE-core] [PATCH 2/2] lsbinitscripts: increase ALTERNATIVE_PRIORITY

2012-07-08 Thread Kang Kai
[YOCTO #2133] Increase ALTERNATIVE_PRIORITY of file functions to be higher than the value in package initscript. Then when lsbinitscripts installed, file functions provided by lsbinitscripts will be used. Signed-off-by: Kang Kai kai.k...@windriver.com ---

[OE-core] [PATCH 1/2] initscripts: use update-alternative to handle file functions

2012-07-08 Thread Kang Kai
lsb need a more abundant /etc/init.d/functions file to handle lsb test. Use update-alternative to install file funtions in package initscripts, when package lsbinitscripts installed the file functions of lsbinitscripts will be used. Signed-off-by: Kang Kai kai.k...@windriver.com ---

[OE-core] [PATCH 0/2] V3: Fix lsbinitscripts link problem

2012-07-08 Thread Kang Kai
Hi Saul, As your comment, I remove the manual rename of file functions in both of lsbinitscripts and initscripts. Regards, Kai The following changes since commit 8ce8d25bcda0e2e0b62204d5ca5875dedcaacf7d: sanity.bbclass: Increase LAYER_CONF_VERSION to match bblayers change (2012-06-25

Re: [OE-core] [PATH] fix build failure due to lic_files_chksum mismatch. The correction unpacks the source in the correct directory.

2012-07-08 Thread Iyad Qumei
This is default, so it shouldn't change anything (and it checks lic_files fine here). in my case, the error is caused by the fact the oe-core is setting up the work-directory under i586-xx ( the architecture area ) while the unpacking was done in qemux86-xxx ( the machine area ). The only way

Re: [OE-core] [PATCH 2/3] perf: add arch-specific perf-scripting feature

2012-07-08 Thread Tom Zanussi
On Sun, 2012-07-08 at 15:00 -0700, Saul Wold wrote: On 07/06/2012 01:29 PM, tom.zanu...@intel.com wrote: From: Tom Zanussi tom.zanu...@intel.com Add a new architecture-specific feature named 'perf-scripting'. Adding this into the perf_features_by_arch table in perf.inc for a given arch

Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-08 Thread Khem Raj
On Sun, Jul 8, 2012 at 2:14 PM, Saul Wold s...@linux.intel.com wrote: Khem, Not sure if this one is on your radar: | builtin-sched.c: In function 'get_cpu_usage_nsec_parent': | builtin-sched.c:396:16: error: storage size of 'ru' isn't known | builtin-sched.c:400:2: error: implicit

Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-08 Thread Khem Raj
On Sun, Jul 8, 2012 at 9:10 AM, Khem Raj raj.k...@gmail.com wrote: V2: Additionally, changed gcc to use git fetcher update E5500/E6500 patches for gcc and binutils (backported from mainline) images form p5020ds 32/64 bit built fine. (btw. it does not build with eglibc-2.15) Updated eglibc

Re: [OE-core] [PATH] fix build failure due to lic_files_chksum mismatch. The correction unpacks the source in the correct directory.

2012-07-08 Thread Khem Raj
On Sun, Jul 8, 2012 at 8:39 PM, Iyad Qumei iya...@gmail.com wrote: This is default, so it shouldn't change anything (and it checks lic_files fine here). in my case, the error is caused by the fact the oe-core is setting up the work-directory under i586-xx ( the architecture area ) while the