All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes
@ 2014-02-17 19:33 Khem Raj
  2014-02-17 19:34 ` [PATCH 1/6] eglibc: Upgrade from 2.18 -> 2.19 Khem Raj
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Khem Raj @ 2014-02-17 19:33 UTC (permalink / raw)
  To: openembedded-core

This is consolidated patchsets that I have sent over past couple of weeks
Upgrades eglibc to 2.19
Upgrades uclibc to latest git
Fix for building uclibc images
binutils is fixed to accomodate gold linker and sstate
icu is fixed for QT5 runtime-issue reported by many developers over mailing list

I have built and booted systemd-image for eglibc/uclibc on all qemu machines, beaglebone, overo
and build only tested for  p1020ds

The following changes since commit 9d9bca8785911e8ae06d507bbfb99d6a811f072e:

  lib/oe/image.py: fix working directory (2014-02-17 15:37:13 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib misc
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/misc

Khem Raj (6):
  eglibc: Upgrade from 2.18 -> 2.19
  valgrind: Add glibc 2.19 awareness
  rootfs.py: Check for LDCONFIGDEPEND being empty string
  icu: Disable the default LDFLAGSICUDT for target compile
  binutils: ld-is-gold should not affect native and crosssdk recipes
  uclibc: Update to git tip

 meta/classes/libc-common.bbclass                   |    2 +-
 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 meta/lib/oe/rootfs.py                              |    2 +-
 ...tive_2.18.bb => cross-localedef-native_2.19.bb} |   10 +-
 .../0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch |   43 ------
 meta/recipes-core/eglibc/eglibc-2.18/make-4.patch  |   31 ----
 .../eglibc/eglibc-2.18/tzselect-awk.patch          |   42 ------
 .../eglibc/eglibc-2.18/tzselect-sh.patch           |  156 --------------------
 .../0001-R_ARM_TLS_DTPOFF32.patch                  |    0
 .../0001-eglibc-menuconfig-support.patch           |  122 +++++++--------
 ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch |    0
 ...0002-eglibc-menuconfig-hex-string-options.patch |    0
 ...0003-eglibc-menuconfig-build-instructions.patch |    0
 .../GLRO_dl_debug_mask.patch                       |    0
 .../IO-acquire-lock-fix.patch                      |    0
 .../add_resource_h_to_wait_h.patch                 |    0
 .../eglibc-svn-arm-lowlevellock-include-tls.patch  |    0
 .../eglibc_fix_findidx_parameters.patch            |    0
 .../{eglibc-2.18 => eglibc-2.19}/etc/ld.so.conf    |    0
 .../fileops-without-wchar-io.patch                 |    0
 .../fix-tibetian-locales.patch                     |    0
 .../fix_for_centos_5.8.patch                       |    0
 .../fsl-ppc-no-fsqrt.patch                         |    0
 .../generate-supported.mk                          |    0
 .../glibc.fix_sqrt2.patch                          |    0
 .../initgroups_keys.patch                          |    0
 .../ld-search-order.patch                          |    0
 .../mips-rld-map-check.patch                       |    0
 .../multilib_readlib.patch                         |    0
 .../ppc-sqrt_finite.patch                          |    0
 .../ppc_slow_ieee754_sqrt.patch                    |    0
 .../relocatable_sdk.patch                          |    0
 .../relocatable_sdk_fix_openpath.patch             |    0
 ...libc-initial_2.18.bb => eglibc-initial_2.19.bb} |    0
 ...eglibc-locale_2.18.bb => eglibc-locale_2.19.bb} |    0
 ...eglibc-mtrace_2.18.bb => eglibc-mtrace_2.19.bb} |    0
 ...libc-scripts_2.18.bb => eglibc-scripts_2.19.bb} |    0
 .../eglibc/{eglibc_2.18.bb => eglibc_2.19.bb}      |   14 +-
 meta/recipes-core/uclibc/uclibc-git.inc            |    3 +-
 .../0001-add-posix_fadvise-for-arm.patch           |   68 ---------
 meta/recipes-devtools/binutils/binutils.inc        |    8 +-
 .../valgrind/valgrind/glibc-2.19.patch             |   23 +++
 meta/recipes-devtools/valgrind/valgrind_3.9.0.bb   |    1 +
 .../0001-Disable-LDFLAGSICUDT-for-Linux.patch      |   28 ++++
 meta/recipes-support/icu/icu_51.2.bb               |    3 +
 45 files changed, 136 insertions(+), 422 deletions(-)
 rename meta/recipes-core/eglibc/{cross-localedef-native_2.18.bb => cross-localedef-native_2.19.bb} (73%)
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/make-4.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/tzselect-awk.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/tzselect-sh.patch
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0001-R_ARM_TLS_DTPOFF32.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0001-eglibc-menuconfig-support.patch (93%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0002-eglibc-menuconfig-hex-string-options.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0003-eglibc-menuconfig-build-instructions.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/GLRO_dl_debug_mask.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/IO-acquire-lock-fix.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/add_resource_h_to_wait_h.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/eglibc-svn-arm-lowlevellock-include-tls.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/eglibc_fix_findidx_parameters.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/etc/ld.so.conf (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fileops-without-wchar-io.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fix-tibetian-locales.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fix_for_centos_5.8.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fsl-ppc-no-fsqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/generate-supported.mk (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/glibc.fix_sqrt2.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/initgroups_keys.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/ld-search-order.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/mips-rld-map-check.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/multilib_readlib.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/ppc-sqrt_finite.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/ppc_slow_ieee754_sqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/relocatable_sdk.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/relocatable_sdk_fix_openpath.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-initial_2.18.bb => eglibc-initial_2.19.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-locale_2.18.bb => eglibc-locale_2.19.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-mtrace_2.18.bb => eglibc-mtrace_2.19.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-scripts_2.18.bb => eglibc-scripts_2.19.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc_2.18.bb => eglibc_2.19.bb} (90%)
 delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-add-posix_fadvise-for-arm.patch
 create mode 100644 meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch
 create mode 100644 meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch

-- 
1.7.10.4



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [PATCH 1/6] eglibc: Upgrade from 2.18 -> 2.19
  2014-02-17 19:33 [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
@ 2014-02-17 19:34 ` Khem Raj
  2014-02-17 19:34 ` [PATCH 2/6] valgrind: Add glibc 2.19 awareness Khem Raj
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2014-02-17 19:34 UTC (permalink / raw)
  To: openembedded-core

License formatting and address for FSF in the COPYING and COPYING.LIB
has changed.

Dropped patched already upstream and patches that were workarounds for
older glibc and busybox

for e500 we have should pass --without-fp to eglibc/glibc 2.19 onwards
the code is merged from eglibc into glibc upstream under nofpu/ pretext

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/libc-common.bbclass                   |    2 +-
 meta/conf/distro/include/tcmode-default.inc        |    2 +-
 ...tive_2.18.bb => cross-localedef-native_2.19.bb} |   10 +-
 .../0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch |   43 ------
 meta/recipes-core/eglibc/eglibc-2.18/make-4.patch  |   31 ----
 .../eglibc/eglibc-2.18/tzselect-awk.patch          |   42 ------
 .../eglibc/eglibc-2.18/tzselect-sh.patch           |  156 --------------------
 .../0001-R_ARM_TLS_DTPOFF32.patch                  |    0
 .../0001-eglibc-menuconfig-support.patch           |  122 +++++++--------
 ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch |    0
 ...0002-eglibc-menuconfig-hex-string-options.patch |    0
 ...0003-eglibc-menuconfig-build-instructions.patch |    0
 .../GLRO_dl_debug_mask.patch                       |    0
 .../IO-acquire-lock-fix.patch                      |    0
 .../add_resource_h_to_wait_h.patch                 |    0
 .../eglibc-svn-arm-lowlevellock-include-tls.patch  |    0
 .../eglibc_fix_findidx_parameters.patch            |    0
 .../{eglibc-2.18 => eglibc-2.19}/etc/ld.so.conf    |    0
 .../fileops-without-wchar-io.patch                 |    0
 .../fix-tibetian-locales.patch                     |    0
 .../fix_for_centos_5.8.patch                       |    0
 .../fsl-ppc-no-fsqrt.patch                         |    0
 .../generate-supported.mk                          |    0
 .../glibc.fix_sqrt2.patch                          |    0
 .../initgroups_keys.patch                          |    0
 .../ld-search-order.patch                          |    0
 .../mips-rld-map-check.patch                       |    0
 .../multilib_readlib.patch                         |    0
 .../ppc-sqrt_finite.patch                          |    0
 .../ppc_slow_ieee754_sqrt.patch                    |    0
 .../relocatable_sdk.patch                          |    0
 .../relocatable_sdk_fix_openpath.patch             |    0
 ...libc-initial_2.18.bb => eglibc-initial_2.19.bb} |    0
 ...eglibc-locale_2.18.bb => eglibc-locale_2.19.bb} |    0
 ...eglibc-mtrace_2.18.bb => eglibc-mtrace_2.19.bb} |    0
 ...libc-scripts_2.18.bb => eglibc-scripts_2.19.bb} |    0
 .../eglibc/{eglibc_2.18.bb => eglibc_2.19.bb}      |   14 +-
 37 files changed, 73 insertions(+), 349 deletions(-)
 rename meta/recipes-core/eglibc/{cross-localedef-native_2.18.bb => cross-localedef-native_2.19.bb} (73%)
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/make-4.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/tzselect-awk.patch
 delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/tzselect-sh.patch
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0001-R_ARM_TLS_DTPOFF32.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0001-eglibc-menuconfig-support.patch (93%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0002-eglibc-menuconfig-hex-string-options.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0003-eglibc-menuconfig-build-instructions.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/GLRO_dl_debug_mask.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/IO-acquire-lock-fix.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/add_resource_h_to_wait_h.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/eglibc-svn-arm-lowlevellock-include-tls.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/eglibc_fix_findidx_parameters.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/etc/ld.so.conf (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fileops-without-wchar-io.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fix-tibetian-locales.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fix_for_centos_5.8.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fsl-ppc-no-fsqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/generate-supported.mk (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/glibc.fix_sqrt2.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/initgroups_keys.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/ld-search-order.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/mips-rld-map-check.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/multilib_readlib.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/ppc-sqrt_finite.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/ppc_slow_ieee754_sqrt.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/relocatable_sdk.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/relocatable_sdk_fix_openpath.patch (100%)
 rename meta/recipes-core/eglibc/{eglibc-initial_2.18.bb => eglibc-initial_2.19.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-locale_2.18.bb => eglibc-locale_2.19.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-mtrace_2.18.bb => eglibc-mtrace_2.19.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc-scripts_2.18.bb => eglibc-scripts_2.19.bb} (100%)
 rename meta/recipes-core/eglibc/{eglibc_2.18.bb => eglibc_2.19.bb} (90%)

diff --git a/meta/classes/libc-common.bbclass b/meta/classes/libc-common.bbclass
index 67b018b..daf499d 100644
--- a/meta/classes/libc-common.bbclass
+++ b/meta/classes/libc-common.bbclass
@@ -19,7 +19,7 @@ do_install() {
 }
 
 def get_libc_fpu_setting(bb, d):
-    if d.getVar('TARGET_FPU', True) in [ 'soft' ]:
+    if d.getVar('TARGET_FPU', True) in [ 'soft', 'ppc-efd' ]:
         return "--without-fp"
     return ""
 
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 1805da7..d6a626c 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -20,7 +20,7 @@ PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
 GCCVERSION ?= "4.8%"
 SDKGCCVERSION ?= "${GCCVERSION}"
 BINUVERSION ?= "2.24"
-EGLIBCVERSION ?= "2.18"
+EGLIBCVERSION ?= "2.19"
 UCLIBCVERSION ?= "0.9.33+git%"
 LINUXLIBCVERSION ?= "3.10"
 
diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.18.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.19.bb
similarity index 73%
rename from meta/recipes-core/eglibc/cross-localedef-native_2.18.bb
rename to meta/recipes-core/eglibc/cross-localedef-native_2.19.bb
index 4e7e947..d3f43bd 100644
--- a/meta/recipes-core/eglibc/cross-localedef-native_2.18.bb
+++ b/meta/recipes-core/eglibc/cross-localedef-native_2.19.bb
@@ -5,9 +5,9 @@ LICENSE = "LGPL-2.1"
 
 LIC_DIR = "${WORKDIR}/eglibc-${PV}/libc"
 LIC_FILES_CHKSUM = "file://${LIC_DIR}/LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
-      file://${LIC_DIR}/COPYING;md5=393a5ca445f6965873eca0259a17f833 \
+      file://${LIC_DIR}/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
       file://${LIC_DIR}/posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
-      file://${LIC_DIR}/COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff "
+      file://${LIC_DIR}/COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
 
 inherit native
@@ -16,11 +16,11 @@ inherit autotools
 # pick up an eglibc patch
 FILESPATH = "${FILE_DIRNAME}/eglibc-${PV}"
 
-SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr23787.tar.bz2 \
+SRC_URI = "http://sakrah.homelinux.org/files/eglibc-${PV}-svnr25243.tar.bz2 \
 	   file://fix_for_centos_5.8.patch;patchdir=.. \
 	  "
-SRC_URI[md5sum] = "b395b021422a027d89884992e91734fc"
-SRC_URI[sha256sum] = "15f564b45dc5dd65faf0875579e3447961ae61e876933384ae05d19328539ad4"
+SRC_URI[md5sum] = "197836c2ba42fb146e971222647198dd"
+SRC_URI[sha256sum] = "baaa030531fc308f7820c46acdf8e1b2f8e3c1f40bcd28b6e440d1c95d170d4c"
 
 S = "${WORKDIR}/eglibc-${PV}/localedef"
 
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch b/meta/recipes-core/eglibc/eglibc-2.18/0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch
deleted file mode 100644
index 24d4772..0000000
--- a/meta/recipes-core/eglibc/eglibc-2.18/0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Upstream-Status: Backport
-
-From d0721e703d222c01a9e8c329311c4fb01dac6972 Mon Sep 17 00:00:00 2001
-From: Carlos O'Donell <carlos@redhat.com>
-Date: Thu, 29 Aug 2013 00:17:33 -0400
-Subject: [PATCH] ARM: Pass dl_hwcap to IFUNC resolver.
-
-For REL relocs pass dl_hwcap to the IFUNC resolver
-as is required by the IFUNC API (bug 15905).
----
- NEWS                           | 2 +-
- ports/ChangeLog.arm            | 7 +++++++
- ports/sysdeps/arm/dl-machine.h | 2 +-
- 3 files changed, 9 insertions(+), 2 deletions(-)
-
-Index: libc/ports/ChangeLog.arm
-===================================================================
---- libc.orig/ports/ChangeLog.arm	2013-07-14 16:08:52.000000000 -0700
-+++ libc/ports/ChangeLog.arm	2013-09-12 17:17:24.174387150 -0700
-@@ -1,3 +1,10 @@
-+2013-08-28  Kyle McMartin  <kyle@redhat.com>
-+	    Carlos O'Donell  <carlos@redhat.com>
-+
-+	[BZ #15905]
-+	* sysdeps/arm/dl-machine [!RTLD_BOOTSTRAP] (elf_machine_rel):
-+	Pass GLRO(dl_hwcap) to the IFUNC resolver.
-+
- 2013-07-03  Joseph Myers  <joseph@codesourcery.com>
- 
- 	* sysdeps/arm/include/bits/setjmp.h [_ISOMAC] (JMP_BUF_REGLIST):
-Index: libc/ports/sysdeps/arm/dl-machine.h
-===================================================================
---- libc.orig/ports/sysdeps/arm/dl-machine.h	2013-09-12 08:56:03.641743520 -0700
-+++ libc/ports/sysdeps/arm/dl-machine.h	2013-09-12 17:17:24.174387150 -0700
-@@ -503,7 +503,7 @@
- 	  break;
- 	case R_ARM_IRELATIVE:
- 	  value = map->l_addr + *reloc_addr;
--	  value = ((Elf32_Addr (*) (void)) value) ();
-+	  value = ((Elf32_Addr (*) (int)) value) (GLRO(dl_hwcap));
- 	  *reloc_addr = value;
- 	  break;
- #endif
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/make-4.patch b/meta/recipes-core/eglibc/eglibc-2.18/make-4.patch
deleted file mode 100644
index ec105b4..0000000
--- a/meta/recipes-core/eglibc/eglibc-2.18/make-4.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Accept make versions 4.0 and greater
-
-Backport of glibc 28d708c44bc47b56f6551ff285f78edcf61c208a.
-
-Upstream-Status: Backport
-Signed-off-by: Jonathan Liu <net147@gmail.com>
-
-diff -Nur libc.orig/configure libc/configure
---- libc.orig/configure     2013-08-21 02:23:48.000000000 +1000
-+++ libc/configure  2013-11-04 17:04:17.778333748 +1100
-@@ -4772,7 +4772,7 @@
-   ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
-   case $ac_prog_version in
-     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
--    3.79* | 3.[89]*)
-+    3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*)
-        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
-     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
- 
-diff -Nur libc.orig/configure.in libc/configure.in
---- libc.orig/configure.in	2013-08-21 02:23:48.000000000 +1000
-+++ libc/configure.in	2013-11-04 16:54:17.955014870 +1100
-@@ -989,7 +989,7 @@
-   critic_missing="$critic_missing gcc")
- AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
-   [GNU Make[^0-9]*\([0-9][0-9.]*\)],
--  [3.79* | 3.[89]*], critic_missing="$critic_missing make")
-+  [3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*], critic_missing="$critic_missing make")
- 
- AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
-   [GNU gettext.* \([0-9]*\.[0-9.]*\)],
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/tzselect-awk.patch b/meta/recipes-core/eglibc/eglibc-2.18/tzselect-awk.patch
deleted file mode 100644
index dc9949b..0000000
--- a/meta/recipes-core/eglibc/eglibc-2.18/tzselect-awk.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-tzselect: workaround bug in busybox awk
-
-busybox's version of awk in version 1.20.2 and lower doesn't support
-escape sequences in conjunction with the -F option. Use -v FS= instead
-as a workaround until the bug is fixed.
-
-Reference:
-https://bugs.busybox.net/show_bug.cgi?id=5126
-
-Upstream-Status: Inappropriate [other]
-
-Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-
---- libc/timezone/tzselect.ksh
-+++ libc/timezone/tzselect.ksh
-@@ -208,7 +208,7 @@ while
- 		TZ_for_date=$TZ;;
- 	*)
- 		# Get list of names of countries in the continent or ocean.
--		countries=$($AWK -F'\t' \
-+		countries=$($AWK -v FS="\t" \
- 			-v continent="$continent" \
- 			-v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \
- 		'
-@@ -252,7 +252,7 @@ while
- 
- 
- 		# Get list of names of time zone rule regions in the country.
--		regions=$($AWK -F'\t' \
-+		regions=$($AWK -v FS="\t" \
- 			-v country="$country" \
- 			-v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \
- 		'
-@@ -289,7 +289,7 @@ while
- 		esac
- 
- 		# Determine TZ from country and region.
--		TZ=$($AWK -F'\t' \
-+		TZ=$($AWK -v FS="\t" \
- 			-v country="$country" \
- 			-v region="$region" \
- 			-v TZ_COUNTRY_TABLE="$TZ_COUNTRY_TABLE" \
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/tzselect-sh.patch b/meta/recipes-core/eglibc/eglibc-2.18/tzselect-sh.patch
deleted file mode 100644
index e9a3691..0000000
--- a/meta/recipes-core/eglibc/eglibc-2.18/tzselect-sh.patch
+++ /dev/null
@@ -1,156 +0,0 @@
-tzselect: eliminate ksh-dependency
-
-This is an adapted version of a patch originally
-by Peter Seebach <peter.seebach@windriver.com> found here:
-http://www.eglibc.org/archives/patches/msg00671.html
-
-Upstream-Status: Pending
-
-Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-
-Index: libc/timezone/tzselect.ksh
-===================================================================
---- libc.orig/timezone/tzselect.ksh	2012-11-17 09:50:14.000000000 -0800
-+++ libc/timezone/tzselect.ksh	2013-01-03 22:46:26.423844259 -0800
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/bin/sh
- 
- PKGVERSION='(tzcode) '
- TZVERSION=see_Makefile
-@@ -11,23 +11,80 @@
- 
- # Porting notes:
- #
--# This script requires a Posix-like shell with the extension of a
--# 'select' statement.  The 'select' statement was introduced in the
--# Korn shell and is available in Bash and other shell implementations.
--# If your host lacks both Bash and the Korn shell, you can get their
--# source from one of these locations:
-+# func_select allows this script to run on shells (such as busybox ash)
-+# which lack the ksh "select" builtin.
- #
--#	Bash <http://www.gnu.org/software/bash/bash.html>
--#	Korn Shell <http://www.kornshell.com/>
--#	Public Domain Korn Shell <http://www.cs.mun.ca/~michael/pdksh/>
--#
--# This script also uses several features of modern awk programs.
-+# This script uses several features of modern awk programs.
- # If your host lacks awk, or has an old awk that does not conform to Posix,
- # you can use either of the following free programs instead:
- #
- #	Gawk (GNU awk) <http://www.gnu.org/software/gawk/>
- #	mawk <http://invisible-island.net/mawk/>
- 
-+# Implement ksh-style select in POSIX shell
-+
-+# We need a mostly-portable echo-n.
-+case `echo -n "foo\c"` in
-+*n*c*)  func_echo_n() { echo "$*"; } ;;
-+*n*)    func_echo_n() { echo "$*\c"; } ;;
-+*)      func_echo_n() { echo -n "$*"; } ;;
-+esac
-+
-+# Synopsis: Replace "select foo in list" with "while func_select foo in list"
-+# and this works just like ksh, so far as I know.
-+func_select () {
-+	func_select_args=0
-+	if expr "$1" : "[_a-zA-Z][_a-zA-Z0-9]*$" > /dev/null; then
-+		func_select_var=$1
-+	else
-+		echo >&2 "func_select: '$1' is not a valid variable name."
-+		return 1
-+	fi
-+	shift 1
-+	case $1 in
-+		in) shift 1;;
-+ *) echo >&2 "func_select: usage: func_select var in ... (you must provide
-+arguments)"; return 1;;
-+	esac
-+	case $# in
-+		0) echo >&2 "func_select: usage: func_select var in ..."; return 1;;
-+	esac
-+	for func_select_arg
-+	do
-+		func_select_args=`expr $func_select_args + 1`
-+		eval func_select_a_$func_select_args=\$func_select_arg
-+	done
-+	REPLY=""
-+	while :
-+	do
-+		if test -z "$REPLY"; then
-+			func_select_i=1
-+			while test $func_select_i -le $func_select_args
-+			do
-+				eval echo "\"\$func_select_i) \$func_select_a_$func_select_i\""
-+				func_select_i=`expr $func_select_i + 1`
-+			done
-+		fi
-+		func_echo_n "${PS3-#? }" >&2
-+		if read REPLY; then
-+			if test -n "${REPLY}"; then
-+				if expr "$REPLY" : '[1-9][0-9]*$' > /dev/null; then
-+					if test "$REPLY" -ge 1 && test "$REPLY" -le $func_select_args; then
-+						eval $func_select_var=\$func_select_a_$REPLY
-+					else
-+						eval $func_select_var=
-+					fi
-+				else
-+					eval $func_select_var=
-+				fi
-+				return 0
-+			fi
-+		else
-+			eval $func_select_var=
-+			return 1
-+		fi
-+	done
-+}
- 
- # Specify default values for environment variables if they are unset.
- : ${AWK=awk}
-@@ -72,7 +129,7 @@
- 
- 
- # Work around a bug in bash 1.14.7 and earlier, where $PS3 is sent to stdout.
--case $(echo 1 | (select x in x; do break; done) 2>/dev/null) in
-+case $(echo 1 | (while func_select x in x; do break; done) 2>/dev/null) in
- ?*) PS3=
- esac
- 
-@@ -92,7 +149,7 @@
- 
- 	echo >&2 'Please select a continent or ocean.'
- 
--	select continent in \
-+	while func_select continent in \
- 	    Africa \
- 	    Americas \
- 	    Antarctica \
-@@ -172,7 +229,7 @@
- 		case $countries in
- 		*"$newline"*)
- 			echo >&2 'Please select a country.'
--			select country in $countries
-+			while func_select country in $countries
- 			do
- 			    case $country in
- 			    '') echo >&2 'Please enter a number in range.';;
-@@ -211,7 +268,7 @@
- 		*"$newline"*)
- 			echo >&2 'Please select one of the following' \
- 				'time zone regions.'
--			select region in $regions
-+			while func_select region in $regions
- 			do
- 				case $region in
- 				'') echo >&2 'Please enter a number in range.';;
-@@ -288,7 +345,7 @@
- 	echo >&2 "Is the above information OK?"
- 
- 	ok=
--	select ok in Yes No
-+	while func_select ok in Yes No
- 	do
- 	    case $ok in
- 	    '') echo >&2 'Please enter 1 for Yes, or 2 for No.';;
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/0001-R_ARM_TLS_DTPOFF32.patch b/meta/recipes-core/eglibc/eglibc-2.19/0001-R_ARM_TLS_DTPOFF32.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/0001-R_ARM_TLS_DTPOFF32.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/0001-R_ARM_TLS_DTPOFF32.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/0001-eglibc-menuconfig-support.patch b/meta/recipes-core/eglibc/eglibc-2.19/0001-eglibc-menuconfig-support.patch
similarity index 93%
rename from meta/recipes-core/eglibc/eglibc-2.18/0001-eglibc-menuconfig-support.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/0001-eglibc-menuconfig-support.patch
index 9e23e7c..4559a11 100644
--- a/meta/recipes-core/eglibc/eglibc-2.18/0001-eglibc-menuconfig-support.patch
+++ b/meta/recipes-core/eglibc/eglibc-2.19/0001-eglibc-menuconfig-support.patch
@@ -57,9 +57,9 @@ Nucleus(r) | Linux(r) | Android(tm) | Services | UI | Multi-OS
 
 Index: libc/EGLIBC.cross-building
 ===================================================================
---- libc.orig/EGLIBC.cross-building	2007-04-20 16:15:03.000000000 -0700
-+++ libc/EGLIBC.cross-building	2013-06-26 00:45:15.788885570 -0700
-@@ -243,9 +243,29 @@
+--- libc.orig/EGLIBC.cross-building
++++ libc/EGLIBC.cross-building
+@@ -243,9 +243,29 @@ full EGLIBC build:
      > $src/libc/configure \
      >     --prefix=/usr \
      >     --with-headers=$sysroot/usr/include \
@@ -89,11 +89,11 @@ Index: libc/EGLIBC.cross-building
      $ PATH=$tools/bin:$PATH make
      $ PATH=$tools/bin:$PATH make install install_root=$sysroot
  
-Index: libc/configure.in
+Index: libc/configure.ac
 ===================================================================
---- libc.orig/configure.in	2013-06-24 15:42:26.000000000 -0700
-+++ libc/configure.in	2013-06-26 00:45:15.792885570 -0700
-@@ -127,6 +127,16 @@
+--- libc.orig/configure.ac
++++ libc/configure.ac
+@@ -127,6 +127,16 @@ AC_ARG_WITH([headers],
  	    [sysheaders=''])
  AC_SUBST(sysheaders)
  
@@ -112,9 +112,9 @@ Index: libc/configure.in
  	    AC_HELP_STRING([--with-default-link],
 Index: libc/config.make.in
 ===================================================================
---- libc.orig/config.make.in	2013-04-28 08:21:50.000000000 -0700
-+++ libc/config.make.in	2013-06-26 00:45:15.792885570 -0700
-@@ -45,6 +45,8 @@
+--- libc.orig/config.make.in
++++ libc/config.make.in
+@@ -45,6 +45,8 @@ sysincludes = @SYSINCLUDES@
  c++-sysincludes = @CXX_SYSINCLUDES@
  all-warnings = @all_warnings@
  
@@ -125,8 +125,8 @@ Index: libc/config.make.in
  have-Bgroup = @libc_cv_Bgroup@
 Index: libc/options-config/config-postproc.pl
 ===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ libc/options-config/config-postproc.pl	2013-06-26 00:45:15.792885570 -0700
+--- /dev/null
++++ libc/options-config/config-postproc.pl
 @@ -0,0 +1,54 @@
 +#!/usr/bin/perl
 +
@@ -184,8 +184,8 @@ Index: libc/options-config/config-postproc.pl
 +}
 Index: libc/options-config/config-preproc.pl
 ===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ libc/options-config/config-preproc.pl	2013-06-26 00:45:15.792885570 -0700
+--- /dev/null
++++ libc/options-config/config-preproc.pl
 @@ -0,0 +1,8 @@
 +#!/usr/bin/perl
 +
@@ -197,8 +197,8 @@ Index: libc/options-config/config-preproc.pl
 +}
 Index: libc/options-config/Makefile
 ===================================================================
---- /dev/null	1970-01-01 00:00:00.000000000 +0000
-+++ libc/options-config/Makefile	2013-06-26 00:45:15.792885570 -0700
+--- /dev/null
++++ libc/options-config/Makefile
 @@ -0,0 +1,55 @@
 +# ===========================================================================
 +# EGLIBC option-groups configuration targets
@@ -257,8 +257,8 @@ Index: libc/options-config/Makefile
 +endif
 Index: libc/option-groups.def
 ===================================================================
---- libc.orig/option-groups.def	2013-05-17 17:12:09.000000000 -0700
-+++ libc/option-groups.def	2013-06-26 00:45:15.796885570 -0700
+--- libc.orig/option-groups.def
++++ libc/option-groups.def
 @@ -4,19 +4,19 @@
  #
  # An entry of the form:
@@ -294,7 +294,7 @@ Index: libc/option-groups.def
     help
         This option group includes the functions specified by RFC 3542,
         "Advanced Sockets Application Program Interface (API) for
-@@ -71,7 +71,7 @@
+@@ -71,7 +71,7 @@ config OPTION_EGLIBC_ADVANCED_INET6
           inet6_rth_segments
           inet6_rth_space
  
@@ -303,7 +303,7 @@ Index: libc/option-groups.def
     bool "Functions for producing backtraces"
     help
         This option group includes functions for producing a list of
-@@ -85,7 +85,7 @@
+@@ -85,7 +85,7 @@ config OPTION_EGLIBC_BACKTRACE
           backtrace_symbols
           backtrace_symbols_fd
  
@@ -312,7 +312,7 @@ Index: libc/option-groups.def
     bool "Use extensive inline code"
     help
         This option group specifies whether certain pieces of code
-@@ -93,7 +93,7 @@
+@@ -93,7 +93,7 @@ config OPTION_EGLIBC_BIG_MACROS
         group is not selected, function calls will be used instead,
         hence reducing the library footprint.
  
@@ -321,7 +321,7 @@ Index: libc/option-groups.def
     bool "BSD-specific functions, and their compatibility stubs"
     help
         This option group includes functions specific to BSD kernels.
-@@ -109,10 +109,9 @@
+@@ -109,10 +109,9 @@ config OPTION_EGLIBC_BSD
           revoke
           setlogin
  
@@ -334,7 +334,7 @@ Index: libc/option-groups.def
     help
         This option group does not include any C library functions;
         instead, it controls which EGLIBC tests an ordinary 'make
-@@ -121,23 +120,22 @@
+@@ -121,23 +120,22 @@ config OPTION_EGLIBC_CXX_TESTS
         run.
  
         The standard C++ library depends on the math library 'libm' and
@@ -365,7 +365,7 @@ Index: libc/option-groups.def
         This option group includes support for character sets other
         than ASCII (ANSI_X3.4-1968) and Unicode and ISO-10646 in their
         various encodings.  This affects both the character sets
-@@ -198,16 +196,16 @@
+@@ -198,16 +196,16 @@ config OPTION_EGLIBC_CHARSETS
            WCHAR_T           - EGLIBC's internal form (target-endian,
                                32-bit ISO 10646)
  
@@ -385,7 +385,7 @@ Index: libc/option-groups.def
     help
         This option group provides ultra fast DES-based implementation of
         the `crypt' function.  When this option group is disabled,
-@@ -216,7 +214,7 @@
+@@ -216,7 +214,7 @@ config OPTION_EGLIBC_CRYPT_UFC
         errno to ENOSYS if /salt/ passed does not correspond to either MD5,
         SHA-256 or SHA-512 algorithm.
  
@@ -394,7 +394,7 @@ Index: libc/option-groups.def
     bool "Functions for accessing the mail aliases database"
     help
         This option group includues functions for looking up mail
-@@ -233,7 +231,7 @@
+@@ -233,7 +231,7 @@ config OPTION_EGLIBC_DB_ALIASES
         When this option group is disabled, the NSS service libraries
         also lack support for querying their mail alias tables.
  
@@ -403,7 +403,7 @@ Index: libc/option-groups.def
     bool "Functions for handling envz-style environment vectors."
     help
         This option group contains functions for creating and operating
-@@ -248,7 +246,7 @@
+@@ -248,7 +246,7 @@ config OPTION_EGLIBC_ENVZ
          envz_entry      envz_remove
          envz_get        envz_strip 
  
@@ -412,7 +412,7 @@ Index: libc/option-groups.def
     bool "Functions for converting floating-point numbers to strings"
     help
         This option group includes functions for converting
-@@ -262,14 +260,14 @@
+@@ -262,14 +260,14 @@ config OPTION_EGLIBC_FCVT
  	 fcvt_r		qfcvt_r
           gcvt		qgcvt
  
@@ -429,7 +429,7 @@ Index: libc/option-groups.def
     bool "Access functions for 'fstab'"
     help
         This option group includes functions for reading the mount
-@@ -283,7 +281,7 @@
+@@ -283,7 +281,7 @@ config OPTION_EGLIBC_FSTAB
           getfsent       setfsent
           getfsfile
  
@@ -438,7 +438,7 @@ Index: libc/option-groups.def
     bool "Functions for traversing file hierarchies"
     help
         This option group includes functions for traversing file
-@@ -297,9 +295,9 @@
+@@ -297,9 +295,9 @@ config OPTION_EGLIBC_FTRAVERSE
  	 fts_set	nftw64
           fts_close
  
@@ -450,7 +450,7 @@ Index: libc/option-groups.def
     help
         This function group includes the 'getlogin' and 'getlogin_r'
         functions, which return the user name associated by the login
-@@ -309,17 +307,17 @@
+@@ -309,17 +307,17 @@ config OPTION_EGLIBC_GETLOGIN
         fall back on 'getlogin' to find the user's login name for tilde
         expansion when the 'HOME' environment variable is not set.
  
@@ -471,7 +471,7 @@ Index: libc/option-groups.def
         installation and API changes as follows:
  
         - The following libraries are not installed:
-@@ -439,14 +437,14 @@
+@@ -439,14 +437,14 @@ config OPTION_EGLIBC_INET
         use Unix-domain sockets to communicate with the syslog daemon;
         syslog is valuable in non-networked contexts.
  
@@ -489,7 +489,7 @@ Index: libc/option-groups.def
     bool "libm (math library)"
     help
         This option group includes the 'libm' library, containing
-@@ -464,7 +462,7 @@
+@@ -464,7 +462,7 @@ config OPTION_EGLIBC_LIBM
         group, you will not be able to build 'libstdc++' against the
         resulting EGLIBC installation.
  
@@ -498,7 +498,7 @@ Index: libc/option-groups.def
     bool "Locale definitions"
     help
         This option group includes all locale definitions other than
-@@ -472,17 +470,17 @@
+@@ -472,17 +470,17 @@ config OPTION_EGLIBC_LOCALES
         only the "C" locale is supported.
  
  
@@ -520,7 +520,7 @@ Index: libc/option-groups.def
         functions are omitted from libc:
  
           duplocale   localeconv  nl_langinfo    rpmatch  strfmon_l
-@@ -491,46 +489,43 @@
+@@ -491,46 +489,43 @@ config OPTION_EGLIBC_LOCALE_CODE
         Furthermore, only the LC_CTYPE and LC_TIME categories of the
         standard "C" locale are available.
  
@@ -576,7 +576,7 @@ Index: libc/option-groups.def
         This option group includes support for the 'nsswitch' facility.
         With this option group enabled, all EGLIBC functions for
         accessing various system databases (passwords and groups;
-@@ -544,12 +539,12 @@
+@@ -544,12 +539,12 @@ config OPTION_EGLIBC_NSSWITCH
         'option-groups.config' file must set the following two
         variables:
  
@@ -591,7 +591,7 @@ Index: libc/option-groups.def
            produces a C library that uses the nsswitch service
            libraries to search for database entries as this file
            specifies, instead of consulting '/etc/nsswitch.conf' at run
-@@ -567,7 +562,7 @@
+@@ -567,7 +562,7 @@ config OPTION_EGLIBC_NSSWITCH
            you will probably want to delete references to databases not
            needed on your system.
  
@@ -600,7 +600,7 @@ Index: libc/option-groups.def
  
            The EGLIBC build process uses this file to decide which
            functions to make available from which service libraries.
-@@ -585,28 +580,28 @@
+@@ -585,28 +580,28 @@ config OPTION_EGLIBC_NSSWITCH
            Be sure to mention each function in each service you wish to
            use.  If you do not mention a service's function here, the
            EGLIBC database access functions will not find it, even if
@@ -647,7 +647,7 @@ Index: libc/option-groups.def
     help
        This option group includes functions for running commands on
        remote machines via the 'rsh' protocol, and doing authentication
-@@ -622,7 +617,7 @@
+@@ -622,7 +617,7 @@ config OPTION_EGLIBC_RCMD
          rresvport       ruserpass
          rresvport_af
          
@@ -656,7 +656,7 @@ Index: libc/option-groups.def
     bool "Runtime linker debug print outs"
     help
        This option group enables debug output of the runtime linker
-@@ -633,7 +628,7 @@
+@@ -633,7 +628,7 @@ config OPTION_EGLIBC_RTLD_DEBUG
        the `ldd' utility which may also be used by the prelinker.
        In particular, the `--unused' ldd option will not work correctly.
  
@@ -665,7 +665,7 @@ Index: libc/option-groups.def
     bool "Support for POSIX posix_spawn functions"
     help
        This option group includes the POSIX functions for executing
-@@ -669,7 +664,7 @@
+@@ -669,7 +664,7 @@ config OPTION_EGLIBC_SPAWN
        disabled, those programs will only operate on uncompressed
        charmap files.
  
@@ -674,7 +674,7 @@ Index: libc/option-groups.def
     bool "Support for accessing STREAMS."
     help
        This option group includes functions for reading and writing
-@@ -685,14 +680,14 @@
+@@ -685,14 +680,14 @@ config OPTION_EGLIBC_STREAMS
          isastream       fdetach
          putmsg
  
@@ -692,7 +692,7 @@ Index: libc/option-groups.def
      bool "Older access functions for 'utmp' login records"
      help
         This option group includes the older 'utent' family of
-@@ -719,9 +714,9 @@
+@@ -719,9 +714,9 @@ config OPTION_EGLIBC_UTMP
  
           libutil.so (and libutil.a)
  
@@ -704,7 +704,7 @@ Index: libc/option-groups.def
      help
         This option group includes the POSIX functions for reading and
         writing user login records in the 'utmp' file (usually
-@@ -742,21 +737,21 @@
+@@ -742,21 +737,21 @@ config OPTION_EGLIBC_UTMPX
           updwtmpx
           utmpxname
  
@@ -729,7 +729,7 @@ Index: libc/option-groups.def
  
          This option group includes the following functions:
  
-@@ -778,14 +773,14 @@
+@@ -778,14 +773,14 @@ config OPTION_POSIX_C_LANG_WIDE_CHAR
            mbrlen        wcscoll       wcstol
            mbrtowc       wcscpy        wcstold
  
@@ -746,7 +746,7 @@ Index: libc/option-groups.def
          omitted from libc:
  
            re_comp                 re_max_failures         regcomp
-@@ -799,9 +794,9 @@
+@@ -799,9 +794,9 @@ config OPTION_POSIX_REGEXP
          <regexp.h> header file, 'compile', 'step', and 'advance', is
          omitted.
  
@@ -758,7 +758,7 @@ Index: libc/option-groups.def
      help
  	This option group specifies which regular expression
          library to use.  The choice is between regex
-@@ -810,9 +805,9 @@
+@@ -810,9 +805,9 @@ config OPTION_POSIX_REGEXP_GLIBC
          optimized for speed; regex from libiberty is more than twice
          as small while still is enough for most practical purposes.
  
@@ -772,9 +772,9 @@ Index: libc/option-groups.def
          wide characters to and from <stdio.h> streams.
 Index: libc/Makefile
 ===================================================================
---- libc.orig/Makefile	2013-06-04 08:48:26.000000000 -0700
-+++ libc/Makefile	2013-06-26 00:45:15.796885570 -0700
-@@ -24,6 +24,7 @@
+--- libc.orig/Makefile
++++ libc/Makefile
+@@ -24,6 +24,7 @@ endif
  
  include Makeconfig
  
@@ -784,9 +784,9 @@ Index: libc/Makefile
  .PHONY: all
 Index: libc/configure
 ===================================================================
---- libc.orig/configure	2013-06-24 15:42:26.000000000 -0700
-+++ libc/configure	2013-06-26 00:45:15.800885570 -0700
-@@ -622,6 +622,7 @@
+--- libc.orig/configure
++++ libc/configure
+@@ -621,6 +621,7 @@ KSH
  libc_cv_have_bash2
  BASH_SHELL
  libc_cv_gcc_static_libgcc
@@ -794,7 +794,7 @@ Index: libc/configure
  CXX_SYSINCLUDES
  SYSINCLUDES
  AUTOCONF
-@@ -734,6 +735,7 @@
+@@ -734,6 +735,7 @@ with_fp
  with_binutils
  with_selinux
  with_headers
@@ -802,7 +802,7 @@ Index: libc/configure
  with_default_link
  enable_sanity_checks
  enable_shared
-@@ -1432,6 +1434,9 @@
+@@ -1438,6 +1440,9 @@ Optional Packages:
    --with-selinux          if building with SELinux support
    --with-headers=PATH     location of system headers to use (for example
                            /usr/src/linux/include) [default=compiler default]
@@ -812,7 +812,7 @@ Index: libc/configure
    --with-default-link     do not use explicit linker scripts
    --with-cpu=CPU          select code for CPU variant
  
-@@ -3395,6 +3400,14 @@
+@@ -3401,6 +3406,14 @@ fi
  
  
  
@@ -829,9 +829,9 @@ Index: libc/configure
  if test "${with_default_link+set}" = set; then :
 Index: libc/EGLIBC.option-groups
 ===================================================================
---- libc.orig/EGLIBC.option-groups	2007-04-13 17:50:17.000000000 -0700
-+++ libc/EGLIBC.option-groups	2013-06-26 00:45:15.800885570 -0700
-@@ -56,33 +56,9 @@
+--- libc.orig/EGLIBC.option-groups
++++ libc/EGLIBC.option-groups
+@@ -56,33 +56,9 @@ disable option groups one by one, until
  
  The Option Groups
  
@@ -868,7 +868,7 @@ Index: libc/EGLIBC.option-groups
  
  The POSIX.1-2001 specification includes a suggested partition of all
  the functions in the POSIX C API into option groups: math functions
-@@ -110,6 +86,18 @@
+@@ -110,6 +86,18 @@ data, but include mathematical functions
     OPTION_EGLIBC_LOCALES = n
     OPTION_EGLIBC_LIBM = y
  
@@ -887,7 +887,7 @@ Index: libc/EGLIBC.option-groups
  In general, each option group variable controls whether a given set of
  object files in EGLIBC is compiled and included in the final
  libraries, or omitted from the build.
-@@ -132,22 +120,3 @@
+@@ -132,22 +120,3 @@ under development.
  
  We have used the system to subset some portions of EGLIBC's
  functionality.  It needs to be extended to cover more of the library.
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch b/meta/recipes-core/eglibc/eglibc-2.19/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/0002-eglibc-menuconfig-hex-string-options.patch b/meta/recipes-core/eglibc/eglibc-2.19/0002-eglibc-menuconfig-hex-string-options.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/0002-eglibc-menuconfig-hex-string-options.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/0002-eglibc-menuconfig-hex-string-options.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/0003-eglibc-menuconfig-build-instructions.patch b/meta/recipes-core/eglibc/eglibc-2.19/0003-eglibc-menuconfig-build-instructions.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/0003-eglibc-menuconfig-build-instructions.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/0003-eglibc-menuconfig-build-instructions.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/GLRO_dl_debug_mask.patch b/meta/recipes-core/eglibc/eglibc-2.19/GLRO_dl_debug_mask.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/GLRO_dl_debug_mask.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/GLRO_dl_debug_mask.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/IO-acquire-lock-fix.patch b/meta/recipes-core/eglibc/eglibc-2.19/IO-acquire-lock-fix.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/IO-acquire-lock-fix.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/IO-acquire-lock-fix.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/add_resource_h_to_wait_h.patch b/meta/recipes-core/eglibc/eglibc-2.19/add_resource_h_to_wait_h.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/add_resource_h_to_wait_h.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/add_resource_h_to_wait_h.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/eglibc-svn-arm-lowlevellock-include-tls.patch b/meta/recipes-core/eglibc/eglibc-2.19/eglibc-svn-arm-lowlevellock-include-tls.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/eglibc-svn-arm-lowlevellock-include-tls.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/eglibc-svn-arm-lowlevellock-include-tls.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/eglibc_fix_findidx_parameters.patch b/meta/recipes-core/eglibc/eglibc-2.19/eglibc_fix_findidx_parameters.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/eglibc_fix_findidx_parameters.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/eglibc_fix_findidx_parameters.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/etc/ld.so.conf b/meta/recipes-core/eglibc/eglibc-2.19/etc/ld.so.conf
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/etc/ld.so.conf
rename to meta/recipes-core/eglibc/eglibc-2.19/etc/ld.so.conf
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/fileops-without-wchar-io.patch b/meta/recipes-core/eglibc/eglibc-2.19/fileops-without-wchar-io.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/fileops-without-wchar-io.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/fileops-without-wchar-io.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/fix-tibetian-locales.patch b/meta/recipes-core/eglibc/eglibc-2.19/fix-tibetian-locales.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/fix-tibetian-locales.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/fix-tibetian-locales.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/fix_for_centos_5.8.patch b/meta/recipes-core/eglibc/eglibc-2.19/fix_for_centos_5.8.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/fix_for_centos_5.8.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/fix_for_centos_5.8.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/fsl-ppc-no-fsqrt.patch b/meta/recipes-core/eglibc/eglibc-2.19/fsl-ppc-no-fsqrt.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/fsl-ppc-no-fsqrt.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/fsl-ppc-no-fsqrt.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/generate-supported.mk b/meta/recipes-core/eglibc/eglibc-2.19/generate-supported.mk
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/generate-supported.mk
rename to meta/recipes-core/eglibc/eglibc-2.19/generate-supported.mk
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/glibc.fix_sqrt2.patch b/meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/glibc.fix_sqrt2.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/glibc.fix_sqrt2.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/initgroups_keys.patch b/meta/recipes-core/eglibc/eglibc-2.19/initgroups_keys.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/initgroups_keys.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/initgroups_keys.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/ld-search-order.patch b/meta/recipes-core/eglibc/eglibc-2.19/ld-search-order.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/ld-search-order.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/ld-search-order.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/mips-rld-map-check.patch b/meta/recipes-core/eglibc/eglibc-2.19/mips-rld-map-check.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/mips-rld-map-check.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/mips-rld-map-check.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/multilib_readlib.patch b/meta/recipes-core/eglibc/eglibc-2.19/multilib_readlib.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/multilib_readlib.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/multilib_readlib.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/ppc-sqrt_finite.patch b/meta/recipes-core/eglibc/eglibc-2.19/ppc-sqrt_finite.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/ppc-sqrt_finite.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/ppc-sqrt_finite.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/ppc_slow_ieee754_sqrt.patch b/meta/recipes-core/eglibc/eglibc-2.19/ppc_slow_ieee754_sqrt.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/ppc_slow_ieee754_sqrt.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/ppc_slow_ieee754_sqrt.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/relocatable_sdk.patch b/meta/recipes-core/eglibc/eglibc-2.19/relocatable_sdk.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/relocatable_sdk.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/relocatable_sdk.patch
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/relocatable_sdk_fix_openpath.patch b/meta/recipes-core/eglibc/eglibc-2.19/relocatable_sdk_fix_openpath.patch
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-2.18/relocatable_sdk_fix_openpath.patch
rename to meta/recipes-core/eglibc/eglibc-2.19/relocatable_sdk_fix_openpath.patch
diff --git a/meta/recipes-core/eglibc/eglibc-initial_2.18.bb b/meta/recipes-core/eglibc/eglibc-initial_2.19.bb
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-initial_2.18.bb
rename to meta/recipes-core/eglibc/eglibc-initial_2.19.bb
diff --git a/meta/recipes-core/eglibc/eglibc-locale_2.18.bb b/meta/recipes-core/eglibc/eglibc-locale_2.19.bb
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-locale_2.18.bb
rename to meta/recipes-core/eglibc/eglibc-locale_2.19.bb
diff --git a/meta/recipes-core/eglibc/eglibc-mtrace_2.18.bb b/meta/recipes-core/eglibc/eglibc-mtrace_2.19.bb
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-mtrace_2.18.bb
rename to meta/recipes-core/eglibc/eglibc-mtrace_2.19.bb
diff --git a/meta/recipes-core/eglibc/eglibc-scripts_2.18.bb b/meta/recipes-core/eglibc/eglibc-scripts_2.19.bb
similarity index 100%
rename from meta/recipes-core/eglibc/eglibc-scripts_2.18.bb
rename to meta/recipes-core/eglibc/eglibc-scripts_2.19.bb
diff --git a/meta/recipes-core/eglibc/eglibc_2.18.bb b/meta/recipes-core/eglibc/eglibc_2.19.bb
similarity index 90%
rename from meta/recipes-core/eglibc/eglibc_2.18.bb
rename to meta/recipes-core/eglibc/eglibc_2.19.bb
index 15e5eed..7e582b6 100644
--- a/meta/recipes-core/eglibc/eglibc_2.18.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.19.bb
@@ -2,7 +2,7 @@ require eglibc.inc
 
 DEPENDS += "gperf-native kconfig-frontends-native"
 
-SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr23787.tar.bz2 \
+SRC_URI = "http://sakrah.homelinux.org/files/eglibc-${PV}-svnr25243.tar.bz2 \
            file://eglibc-svn-arm-lowlevellock-include-tls.patch \
            file://IO-acquire-lock-fix.patch \
            file://mips-rld-map-check.patch \
@@ -22,20 +22,16 @@ SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr23
            file://0003-eglibc-menuconfig-build-instructions.patch \
            file://fsl-ppc-no-fsqrt.patch \
            file://0001-R_ARM_TLS_DTPOFF32.patch \
-           file://tzselect-sh.patch \
-           file://tzselect-awk.patch \
            file://0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \
            file://fix-tibetian-locales.patch \
-           file://0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch \
-           file://make-4.patch \
           "
-SRC_URI[md5sum] = "b395b021422a027d89884992e91734fc"
-SRC_URI[sha256sum] = "15f564b45dc5dd65faf0875579e3447961ae61e876933384ae05d19328539ad4"
+SRC_URI[md5sum] = "197836c2ba42fb146e971222647198dd"
+SRC_URI[sha256sum] = "baaa030531fc308f7820c46acdf8e1b2f8e3c1f40bcd28b6e440d1c95d170d4c"
 
 LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
-      file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
+      file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
       file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
-      file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff "
+      file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
 SRC_URI_append_class-nativesdk = " file://ld-search-order.patch \
             file://relocatable_sdk.patch \
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 2/6] valgrind: Add glibc 2.19 awareness
  2014-02-17 19:33 [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
  2014-02-17 19:34 ` [PATCH 1/6] eglibc: Upgrade from 2.18 -> 2.19 Khem Raj
@ 2014-02-17 19:34 ` Khem Raj
  2014-02-17 19:34 ` [PATCH 3/6] rootfs.py: Check for LDCONFIGDEPEND being empty string Khem Raj
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2014-02-17 19:34 UTC (permalink / raw)
  To: openembedded-core

It wont compile otherwise and fail with errors e.g.

Valgrind requires glibc version 2.2 - 2.17 ...

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../valgrind/valgrind/glibc-2.19.patch             |   23 ++++++++++++++++++++
 meta/recipes-devtools/valgrind/valgrind_3.9.0.bb   |    1 +
 2 files changed, 24 insertions(+)
 create mode 100644 meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch

diff --git a/meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch b/meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch
new file mode 100644
index 0000000..7714b99
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch
@@ -0,0 +1,23 @@
+Add support for compiling with glibc 2.19
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Upstream-Status: Pending
+Index: valgrind-3.9.0/configure.ac
+===================================================================
+--- valgrind-3.9.0.orig/configure.ac	2014-02-12 09:03:07.879873700 -0800
++++ valgrind-3.9.0/configure.ac	2014-02-12 09:07:35.099871774 -0800
+@@ -918,6 +918,13 @@
+ 	DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ 	DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
+ 	;;
++     2.19)
++	AC_MSG_RESULT(2.19 family)
++	AC_DEFINE([GLIBC_2_19], 1, [Define to 1 if you're using glibc 2.19.x])
++	DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
++	DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
++	DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
++	;;
+      darwin)
+ 	AC_MSG_RESULT(Darwin)
+ 	AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb
index e1fb568..64da1a2 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb
@@ -15,6 +15,7 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
            file://fixed-perl-path.patch \
            file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \
            file://sepbuildfix.patch \
+           file://glibc-2.19.patch \
           "
 
 SRC_URI[md5sum] = "0947de8112f946b9ce64764af7be6df2"
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 3/6] rootfs.py: Check for LDCONFIGDEPEND being empty string
  2014-02-17 19:33 [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
  2014-02-17 19:34 ` [PATCH 1/6] eglibc: Upgrade from 2.18 -> 2.19 Khem Raj
  2014-02-17 19:34 ` [PATCH 2/6] valgrind: Add glibc 2.19 awareness Khem Raj
@ 2014-02-17 19:34 ` Khem Raj
  2014-02-18  8:37   ` Laurentiu Palcu
  2014-02-17 19:34 ` [PATCH 4/6] icu: Disable the default LDFLAGSICUDT for target compile Khem Raj
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Khem Raj @ 2014-02-17 19:34 UTC (permalink / raw)
  To: openembedded-core

We override LDCONFIGDEPEND to be empty string for uclibc
however the current check is for it being None as a result
the function is still executed but ldconfig-native is not
built as dependency for rootfs when building with uclibc

Fixes errors like below

File:
'/home/kraj/work/angstrom-repo/sources/openembedded-core/meta/lib/oe/rootfs.py',
lineno: 191, function: _run_ldconfig
     0187:    def _run_ldconfig(self):
     0188:        if self.d.getVar('LDCONFIGDEPEND', True) is not None:
     0189:            bb.note("Executing: ldconfig -r" +
self.image_rootfs + "-c new -v")
     0190:            self._exec_shell_cmd(['ldconfig', '-r',
self.image_rootfs, '-c',
 *** 0191:                                  'new', '-v'])

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/lib/oe/rootfs.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index d149ca3..3bcb812 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -185,7 +185,7 @@ class Rootfs(object):
                         self._handle_intercept_failure(registered_pkgs)
 
     def _run_ldconfig(self):
-        if self.d.getVar('LDCONFIGDEPEND', True) is not None:
+        if self.d.getVar('LDCONFIGDEPEND', True) != "":
             bb.note("Executing: ldconfig -r" + self.image_rootfs + "-c new -v")
             self._exec_shell_cmd(['ldconfig', '-r', self.image_rootfs, '-c',
                                   'new', '-v'])
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 4/6] icu: Disable the default LDFLAGSICUDT for target compile
  2014-02-17 19:33 [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
                   ` (2 preceding siblings ...)
  2014-02-17 19:34 ` [PATCH 3/6] rootfs.py: Check for LDCONFIGDEPEND being empty string Khem Raj
@ 2014-02-17 19:34 ` Khem Raj
  2014-02-17 21:53   ` Richard Purdie
  2014-02-17 19:34 ` [PATCH 5/6] binutils: ld-is-gold should not affect native and crosssdk recipes Khem Raj
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Khem Raj @ 2014-02-17 19:34 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../0001-Disable-LDFLAGSICUDT-for-Linux.patch      |   28 ++++++++++++++++++++
 meta/recipes-support/icu/icu_51.2.bb               |    3 +++
 2 files changed, 31 insertions(+)
 create mode 100644 meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch

diff --git a/meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch b/meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch
new file mode 100644
index 0000000..2968d57
--- /dev/null
+++ b/meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch
@@ -0,0 +1,28 @@
+From 0c82d6aa02c08e41b13c83b14782bd7024e25d59 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 15 Feb 2014 21:06:42 +0000
+Subject: [PATCH] Disable LDFLAGSICUDT for Linux
+
+Upstream-Status: Inappropriate [ OE Configuration ]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ source/config/mh-linux |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/config/mh-linux b/config/mh-linux
+index 366f0cc..2689aab 100644
+--- a/config/mh-linux
++++ b/config/mh-linux
+@@ -21,7 +21,7 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
+ LD_RPATH_PRE = -Wl,-rpath,
+ 
+ ## These are the library specific LDFLAGS
+-LDFLAGSICUDT=-nodefaultlibs -nostdlib
++# LDFLAGSICUDT=-nodefaultlibs -nostdlib
+ 
+ ## Compiler switch to embed a library name
+ # The initial tab in the next line is to prevent icu-config from reading it.
+-- 
+1.7.10.4
+
diff --git a/meta/recipes-support/icu/icu_51.2.bb b/meta/recipes-support/icu/icu_51.2.bb
index aabe07b..2d1fd42 100644
--- a/meta/recipes-support/icu/icu_51.2.bb
+++ b/meta/recipes-support/icu/icu_51.2.bb
@@ -9,5 +9,8 @@ SRC_URI = "${BASE_SRC_URI} \
            file://add_buffer_length_check_to_UTF_16_or_32_detector.patch \
           "
 
+SRC_URI_append_class-target = "\
+           file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
+          "
 SRC_URI[md5sum] = "072e501b87065f3a0ca888f1b5165709"
 SRC_URI[sha256sum] = "deb027a05f1b3bec03298b96fb93b28c84e9683c22e6f94effa67fdc7bd704cc"
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 5/6] binutils: ld-is-gold should not affect native and crosssdk recipes
  2014-02-17 19:33 [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
                   ` (3 preceding siblings ...)
  2014-02-17 19:34 ` [PATCH 4/6] icu: Disable the default LDFLAGSICUDT for target compile Khem Raj
@ 2014-02-17 19:34 ` Khem Raj
  2014-02-17 19:34 ` [PATCH 6/6] uclibc: Update to git tip Khem Raj
  2014-02-18  0:38 ` [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
  6 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2014-02-17 19:34 UTC (permalink / raw)
  To: openembedded-core

gold linker does not support all architectures, currently arm and x86
are best supported, therefore we can not enable this as a full distro
option where we need to support other architectures e.g. ppc, mips
currently, if we enable ld-is-gold distro feature conditionally then it
invalidates native and sdk version of native binutils because configure
option would change. With this patch we limit ld-is-gold feature to
imapact cross binutils and target binutils only. This means that we
can reuse the sdk and native versions across architectures.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/binutils/binutils.inc |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 6380d54..7f084b5 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -67,10 +67,14 @@ B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
 
 EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
                 --disable-werror \
-		--enable-plugins \
-		${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '', d)} \
+                --enable-plugins \
+                ${LDGOLD} \
                 ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)}"
 
+LDGOLD_class-native = ""
+LDGOLD_class-crosssdk = ""
+LDGOLD ?= "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '', d)}"
+
 # This is necessary due to a bug in the binutils Makefiles
 # EXTRA_OEMAKE = "configure-build-libiberty all"
 
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 6/6] uclibc: Update to git tip
  2014-02-17 19:33 [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
                   ` (4 preceding siblings ...)
  2014-02-17 19:34 ` [PATCH 5/6] binutils: ld-is-gold should not affect native and crosssdk recipes Khem Raj
@ 2014-02-17 19:34 ` Khem Raj
  2014-02-18  0:38 ` [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
  6 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2014-02-17 19:34 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/uclibc/uclibc-git.inc            |    3 +-
 .../0001-add-posix_fadvise-for-arm.patch           |   68 --------------------
 2 files changed, 1 insertion(+), 70 deletions(-)
 delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-add-posix_fadvise-for-arm.patch

diff --git a/meta/recipes-core/uclibc/uclibc-git.inc b/meta/recipes-core/uclibc/uclibc-git.inc
index 2005ae1..f2a1256 100644
--- a/meta/recipes-core/uclibc/uclibc-git.inc
+++ b/meta/recipes-core/uclibc/uclibc-git.inc
@@ -1,4 +1,4 @@
-SRCREV="f22cca4722fa66e424562e69f4afa2bca0af871d"
+SRCREV="19f21a1d974d802f05c43e4cabd6ed6891a8ae50"
 
 PV = "0.9.33+git${SRCPV}"
 
@@ -21,6 +21,5 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master \
 	file://0001-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \
 	file://0001-librt-Use-nodefaultlibs-instead-of-nostdlib.patch \
 	file://0001-Revert-utent.c-wtent.c-move-functions-from-utxent.c.patch \
-	file://0001-add-posix_fadvise-for-arm.patch \
 	"
 S = "${WORKDIR}/git"
diff --git a/meta/recipes-core/uclibc/uclibc-git/0001-add-posix_fadvise-for-arm.patch b/meta/recipes-core/uclibc/uclibc-git/0001-add-posix_fadvise-for-arm.patch
deleted file mode 100644
index 7c17a19..0000000
--- a/meta/recipes-core/uclibc/uclibc-git/0001-add-posix_fadvise-for-arm.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From 236a65abe0a6810e20498fc0ba8d02d90978953b Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 29 Jun 2013 22:46:53 -0700
-Subject: [PATCH] add posix_fadvise() for arm
-
-arm call to posix_fadvise simply calls posix_fadvise64
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- libc/sysdeps/linux/common/posix_fadvise.c |   24 ++++++++++++++++--------
- 1 file changed, 16 insertions(+), 8 deletions(-)
-
-Upstream-Status: Pending
-
-diff --git a/libc/sysdeps/linux/common/posix_fadvise.c b/libc/sysdeps/linux/common/posix_fadvise.c
-index d3e1bd4..e102ce7 100644
---- a/libc/sysdeps/linux/common/posix_fadvise.c
-+++ b/libc/sysdeps/linux/common/posix_fadvise.c
-@@ -10,30 +10,38 @@
- 
- #include <sys/syscall.h>
- 
--#ifdef __NR_fadvise64
-+#if defined(__NR_fadvise64) || defined(__NR_arm_fadvise64_64)
- # include <fcntl.h>
- # include <endian.h>
- # include <bits/wordsize.h>
- 
-+# ifdef __NR_arm_fadvise64_64
-+int posix_fadvise64(int fd, off64_t offset, off64_t len, int advice);
-+# endif
-+
- int posix_fadvise(int fd, off_t offset, off_t len, int advice)
- {
-+# ifdef __NR_arm_fadvise64_64
-+	return posix_fadvise64(fd, offset, len, advice);
-+# else
- 	int ret;
- 	INTERNAL_SYSCALL_DECL(err);
--# if __WORDSIZE == 64
-+#  if __WORDSIZE == 64
- 	ret = INTERNAL_SYSCALL(fadvise64, err, 4, fd, offset, len, advice);
--# else
--#  if defined(__UCLIBC_SYSCALL_ALIGN_64BIT__)
--	ret = INTERNAL_SYSCALL(fadvise64, err, 6, fd, /*unused*/0,
- #  else
-+#   if defined(__UCLIBC_SYSCALL_ALIGN_64BIT__)
-+	ret = INTERNAL_SYSCALL(fadvise64, err, 6, fd, /*unused*/0,
-+#   else
- 	ret = INTERNAL_SYSCALL(fadvise64, err, 5, fd,
--#  endif
-+#   endif
- 			OFF_HI_LO (offset), len, advice);
--# endif
-+#  endif
- 	if (INTERNAL_SYSCALL_ERROR_P (ret, err))
- 		return INTERNAL_SYSCALL_ERRNO (ret, err);
- 	return 0;
-+#  endif
- }
--# if defined __UCLIBC_HAS_LFS__ && (!defined __NR_fadvise64_64 || __WORDSIZE == 64)
-+# if defined __UCLIBC_HAS_LFS__ && ((!defined __NR_fadvise64_64 && !defined __NR_arm_fadvise64_64) || __WORDSIZE == 64)
- strong_alias(posix_fadvise,posix_fadvise64)
- # endif
- #endif
--- 
-1.7.9.5
-
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [PATCH 4/6] icu: Disable the default LDFLAGSICUDT for target compile
  2014-02-17 19:34 ` [PATCH 4/6] icu: Disable the default LDFLAGSICUDT for target compile Khem Raj
@ 2014-02-17 21:53   ` Richard Purdie
  2014-02-18  0:10     ` Khem Raj
  0 siblings, 1 reply; 14+ messages in thread
From: Richard Purdie @ 2014-02-17 21:53 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Mon, 2014-02-17 at 11:34 -0800, Khem Raj wrote:

What appears to be missing here is an explanation of why we're doing
this? Its not in the patch header either...

Cheers,

Richard


> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../0001-Disable-LDFLAGSICUDT-for-Linux.patch      |   28 ++++++++++++++++++++
>  meta/recipes-support/icu/icu_51.2.bb               |    3 +++
>  2 files changed, 31 insertions(+)
>  create mode 100644 meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch
> 
> diff --git a/meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch b/meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch
> new file mode 100644
> index 0000000..2968d57
> --- /dev/null
> +++ b/meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch
> @@ -0,0 +1,28 @@
> +From 0c82d6aa02c08e41b13c83b14782bd7024e25d59 Mon Sep 17 00:00:00 2001
> +From: Khem Raj <raj.khem@gmail.com>
> +Date: Sat, 15 Feb 2014 21:06:42 +0000
> +Subject: [PATCH] Disable LDFLAGSICUDT for Linux
> +
> +Upstream-Status: Inappropriate [ OE Configuration ]
> +
> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +---
> + source/config/mh-linux |    2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/config/mh-linux b/config/mh-linux
> +index 366f0cc..2689aab 100644
> +--- a/config/mh-linux
> ++++ b/config/mh-linux
> +@@ -21,7 +21,7 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
> + LD_RPATH_PRE = -Wl,-rpath,
> + 
> + ## These are the library specific LDFLAGS
> +-LDFLAGSICUDT=-nodefaultlibs -nostdlib
> ++# LDFLAGSICUDT=-nodefaultlibs -nostdlib
> + 
> + ## Compiler switch to embed a library name
> + # The initial tab in the next line is to prevent icu-config from reading it.
> +-- 
> +1.7.10.4
> +
> diff --git a/meta/recipes-support/icu/icu_51.2.bb b/meta/recipes-support/icu/icu_51.2.bb
> index aabe07b..2d1fd42 100644
> --- a/meta/recipes-support/icu/icu_51.2.bb
> +++ b/meta/recipes-support/icu/icu_51.2.bb
> @@ -9,5 +9,8 @@ SRC_URI = "${BASE_SRC_URI} \
>             file://add_buffer_length_check_to_UTF_16_or_32_detector.patch \
>            "
>  
> +SRC_URI_append_class-target = "\
> +           file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
> +          "
>  SRC_URI[md5sum] = "072e501b87065f3a0ca888f1b5165709"
>  SRC_URI[sha256sum] = "deb027a05f1b3bec03298b96fb93b28c84e9683c22e6f94effa67fdc7bd704cc"




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 4/6] icu: Disable the default LDFLAGSICUDT for target compile
  2014-02-17 21:53   ` Richard Purdie
@ 2014-02-18  0:10     ` Khem Raj
  0 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2014-02-18  0:10 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On Mon, Feb 17, 2014 at 1:53 PM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Mon, 2014-02-17 at 11:34 -0800, Khem Raj wrote:
>
> What appears to be missing here is an explanation of why we're doing
> this? Its not in the patch header either...

right. should have done that, now I have pushed a newer patch with
some description in commit log
take a look

>
> Cheers,
>
> Richard
>
>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  .../0001-Disable-LDFLAGSICUDT-for-Linux.patch      |   28 ++++++++++++++++++++
>>  meta/recipes-support/icu/icu_51.2.bb               |    3 +++
>>  2 files changed, 31 insertions(+)
>>  create mode 100644 meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch
>>
>> diff --git a/meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch b/meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch
>> new file mode 100644
>> index 0000000..2968d57
>> --- /dev/null
>> +++ b/meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch
>> @@ -0,0 +1,28 @@
>> +From 0c82d6aa02c08e41b13c83b14782bd7024e25d59 Mon Sep 17 00:00:00 2001
>> +From: Khem Raj <raj.khem@gmail.com>
>> +Date: Sat, 15 Feb 2014 21:06:42 +0000
>> +Subject: [PATCH] Disable LDFLAGSICUDT for Linux
>> +
>> +Upstream-Status: Inappropriate [ OE Configuration ]
>> +
>> +Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> +---
>> + source/config/mh-linux |    2 +-
>> + 1 file changed, 1 insertion(+), 1 deletion(-)
>> +
>> +diff --git a/config/mh-linux b/config/mh-linux
>> +index 366f0cc..2689aab 100644
>> +--- a/config/mh-linux
>> ++++ b/config/mh-linux
>> +@@ -21,7 +21,7 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
>> + LD_RPATH_PRE = -Wl,-rpath,
>> +
>> + ## These are the library specific LDFLAGS
>> +-LDFLAGSICUDT=-nodefaultlibs -nostdlib
>> ++# LDFLAGSICUDT=-nodefaultlibs -nostdlib
>> +
>> + ## Compiler switch to embed a library name
>> + # The initial tab in the next line is to prevent icu-config from reading it.
>> +--
>> +1.7.10.4
>> +
>> diff --git a/meta/recipes-support/icu/icu_51.2.bb b/meta/recipes-support/icu/icu_51.2.bb
>> index aabe07b..2d1fd42 100644
>> --- a/meta/recipes-support/icu/icu_51.2.bb
>> +++ b/meta/recipes-support/icu/icu_51.2.bb
>> @@ -9,5 +9,8 @@ SRC_URI = "${BASE_SRC_URI} \
>>             file://add_buffer_length_check_to_UTF_16_or_32_detector.patch \
>>            "
>>
>> +SRC_URI_append_class-target = "\
>> +           file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
>> +          "
>>  SRC_URI[md5sum] = "072e501b87065f3a0ca888f1b5165709"
>>  SRC_URI[sha256sum] = "deb027a05f1b3bec03298b96fb93b28c84e9683c22e6f94effa67fdc7bd704cc"
>
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes
  2014-02-17 19:33 [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
                   ` (5 preceding siblings ...)
  2014-02-17 19:34 ` [PATCH 6/6] uclibc: Update to git tip Khem Raj
@ 2014-02-18  0:38 ` Khem Raj
  2014-02-18  8:17   ` Iorga, Cristian
  6 siblings, 1 reply; 14+ messages in thread
From: Khem Raj @ 2014-02-18  0:38 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, Feb 17, 2014 at 11:33 AM, Khem Raj <raj.khem@gmail.com> wrote:
> This is consolidated patchsets that I have sent over past couple of weeks
> Upgrades eglibc to 2.19
> Upgrades uclibc to latest git
> Fix for building uclibc images
> binutils is fixed to accomodate gold linker and sstate
> icu is fixed for QT5 runtime-issue reported by many developers over mailing list
>
> I have built and booted systemd-image for eglibc/uclibc on all qemu machines, beaglebone, overo
> and build only tested for  p1020ds
>

Updated the pull tree.
I have addressed RPs feedback into icu patch and additionally added a
fix that surfaced after 9d9bca8785911e8ae06d507bbfb99d6a811f072e
when generating .tar.gz or tar.bz2 images

> The following changes since commit 9d9bca8785911e8ae06d507bbfb99d6a811f072e:
>
>   lib/oe/image.py: fix working directory (2014-02-17 15:37:13 +0000)
>
> are available in the git repository at:
>
>   git://git.openembedded.org/openembedded-core-contrib misc
>   http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/misc
>
> Khem Raj (6):
>   eglibc: Upgrade from 2.18 -> 2.19
>   valgrind: Add glibc 2.19 awareness
>   rootfs.py: Check for LDCONFIGDEPEND being empty string
>   icu: Disable the default LDFLAGSICUDT for target compile
>   binutils: ld-is-gold should not affect native and crosssdk recipes
>   uclibc: Update to git tip
>
>  meta/classes/libc-common.bbclass                   |    2 +-
>  meta/conf/distro/include/tcmode-default.inc        |    2 +-
>  meta/lib/oe/rootfs.py                              |    2 +-
>  ...tive_2.18.bb => cross-localedef-native_2.19.bb} |   10 +-
>  .../0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch |   43 ------
>  meta/recipes-core/eglibc/eglibc-2.18/make-4.patch  |   31 ----
>  .../eglibc/eglibc-2.18/tzselect-awk.patch          |   42 ------
>  .../eglibc/eglibc-2.18/tzselect-sh.patch           |  156 --------------------
>  .../0001-R_ARM_TLS_DTPOFF32.patch                  |    0
>  .../0001-eglibc-menuconfig-support.patch           |  122 +++++++--------
>  ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch |    0
>  ...0002-eglibc-menuconfig-hex-string-options.patch |    0
>  ...0003-eglibc-menuconfig-build-instructions.patch |    0
>  .../GLRO_dl_debug_mask.patch                       |    0
>  .../IO-acquire-lock-fix.patch                      |    0
>  .../add_resource_h_to_wait_h.patch                 |    0
>  .../eglibc-svn-arm-lowlevellock-include-tls.patch  |    0
>  .../eglibc_fix_findidx_parameters.patch            |    0
>  .../{eglibc-2.18 => eglibc-2.19}/etc/ld.so.conf    |    0
>  .../fileops-without-wchar-io.patch                 |    0
>  .../fix-tibetian-locales.patch                     |    0
>  .../fix_for_centos_5.8.patch                       |    0
>  .../fsl-ppc-no-fsqrt.patch                         |    0
>  .../generate-supported.mk                          |    0
>  .../glibc.fix_sqrt2.patch                          |    0
>  .../initgroups_keys.patch                          |    0
>  .../ld-search-order.patch                          |    0
>  .../mips-rld-map-check.patch                       |    0
>  .../multilib_readlib.patch                         |    0
>  .../ppc-sqrt_finite.patch                          |    0
>  .../ppc_slow_ieee754_sqrt.patch                    |    0
>  .../relocatable_sdk.patch                          |    0
>  .../relocatable_sdk_fix_openpath.patch             |    0
>  ...libc-initial_2.18.bb => eglibc-initial_2.19.bb} |    0
>  ...eglibc-locale_2.18.bb => eglibc-locale_2.19.bb} |    0
>  ...eglibc-mtrace_2.18.bb => eglibc-mtrace_2.19.bb} |    0
>  ...libc-scripts_2.18.bb => eglibc-scripts_2.19.bb} |    0
>  .../eglibc/{eglibc_2.18.bb => eglibc_2.19.bb}      |   14 +-
>  meta/recipes-core/uclibc/uclibc-git.inc            |    3 +-
>  .../0001-add-posix_fadvise-for-arm.patch           |   68 ---------
>  meta/recipes-devtools/binutils/binutils.inc        |    8 +-
>  .../valgrind/valgrind/glibc-2.19.patch             |   23 +++
>  meta/recipes-devtools/valgrind/valgrind_3.9.0.bb   |    1 +
>  .../0001-Disable-LDFLAGSICUDT-for-Linux.patch      |   28 ++++
>  meta/recipes-support/icu/icu_51.2.bb               |    3 +
>  45 files changed, 136 insertions(+), 422 deletions(-)
>  rename meta/recipes-core/eglibc/{cross-localedef-native_2.18.bb => cross-localedef-native_2.19.bb} (73%)
>  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch
>  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/make-4.patch
>  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/tzselect-awk.patch
>  delete mode 100644 meta/recipes-core/eglibc/eglibc-2.18/tzselect-sh.patch
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0001-R_ARM_TLS_DTPOFF32.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0001-eglibc-menuconfig-support.patch (93%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0002-eglibc-menuconfig-hex-string-options.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/0003-eglibc-menuconfig-build-instructions.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/GLRO_dl_debug_mask.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/IO-acquire-lock-fix.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/add_resource_h_to_wait_h.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/eglibc-svn-arm-lowlevellock-include-tls.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/eglibc_fix_findidx_parameters.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/etc/ld.so.conf (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fileops-without-wchar-io.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fix-tibetian-locales.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fix_for_centos_5.8.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/fsl-ppc-no-fsqrt.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/generate-supported.mk (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/glibc.fix_sqrt2.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/initgroups_keys.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/ld-search-order.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/mips-rld-map-check.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/multilib_readlib.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/ppc-sqrt_finite.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/ppc_slow_ieee754_sqrt.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/relocatable_sdk.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/relocatable_sdk_fix_openpath.patch (100%)
>  rename meta/recipes-core/eglibc/{eglibc-initial_2.18.bb => eglibc-initial_2.19.bb} (100%)
>  rename meta/recipes-core/eglibc/{eglibc-locale_2.18.bb => eglibc-locale_2.19.bb} (100%)
>  rename meta/recipes-core/eglibc/{eglibc-mtrace_2.18.bb => eglibc-mtrace_2.19.bb} (100%)
>  rename meta/recipes-core/eglibc/{eglibc-scripts_2.18.bb => eglibc-scripts_2.19.bb} (100%)
>  rename meta/recipes-core/eglibc/{eglibc_2.18.bb => eglibc_2.19.bb} (90%)
>  delete mode 100644 meta/recipes-core/uclibc/uclibc-git/0001-add-posix_fadvise-for-arm.patch
>  create mode 100644 meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch
>  create mode 100644 meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.patch
>
> --
> 1.7.10.4
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes
  2014-02-18  0:38 ` [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
@ 2014-02-18  8:17   ` Iorga, Cristian
  0 siblings, 0 replies; 14+ messages in thread
From: Iorga, Cristian @ 2014-02-18  8:17 UTC (permalink / raw)
  To: Khem Raj, Patches and discussions about the oe-core layer

Hi,
Reverting commit http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3f49597225a58965124503ca5f3cc4011b04b3c0
Has the effect of fixing the build at do_rootfs stage.
Also, the commit in question looks strange to my eyes...
Appends should not be easily switchable without side-effects...
Usually.
Regards,
Cristian Iorga
YP
Intel Corporation

-----Original Message-----
From: openembedded-core-bounces@lists.openembedded.org [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of Khem Raj
Sent: Tuesday, February 18, 2014 2:39 AM
To: Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes

On Mon, Feb 17, 2014 at 11:33 AM, Khem Raj <raj.khem@gmail.com> wrote:
> This is consolidated patchsets that I have sent over past couple of 
> weeks Upgrades eglibc to 2.19 Upgrades uclibc to latest git Fix for 
> building uclibc images binutils is fixed to accomodate gold linker and 
> sstate icu is fixed for QT5 runtime-issue reported by many developers 
> over mailing list
>
> I have built and booted systemd-image for eglibc/uclibc on all qemu 
> machines, beaglebone, overo and build only tested for  p1020ds
>

Updated the pull tree.
I have addressed RPs feedback into icu patch and additionally added a fix that surfaced after 9d9bca8785911e8ae06d507bbfb99d6a811f072e
when generating .tar.gz or tar.bz2 images

> The following changes since commit 9d9bca8785911e8ae06d507bbfb99d6a811f072e:
>
>   lib/oe/image.py: fix working directory (2014-02-17 15:37:13 +0000)
>
> are available in the git repository at:
>
>   git://git.openembedded.org/openembedded-core-contrib misc
>   
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h
> =kraj/misc
>
> Khem Raj (6):
>   eglibc: Upgrade from 2.18 -> 2.19
>   valgrind: Add glibc 2.19 awareness
>   rootfs.py: Check for LDCONFIGDEPEND being empty string
>   icu: Disable the default LDFLAGSICUDT for target compile
>   binutils: ld-is-gold should not affect native and crosssdk recipes
>   uclibc: Update to git tip
>
>  meta/classes/libc-common.bbclass                   |    2 +-
>  meta/conf/distro/include/tcmode-default.inc        |    2 +-
>  meta/lib/oe/rootfs.py                              |    2 +-
>  ...tive_2.18.bb => cross-localedef-native_2.19.bb} |   10 +-
>  .../0001-ARM-Pass-dl_hwcap-to-IFUNC-resolver.patch |   43 ------
>  meta/recipes-core/eglibc/eglibc-2.18/make-4.patch  |   31 ----
>  .../eglibc/eglibc-2.18/tzselect-awk.patch          |   42 ------
>  .../eglibc/eglibc-2.18/tzselect-sh.patch           |  156 --------------------
>  .../0001-R_ARM_TLS_DTPOFF32.patch                  |    0
>  .../0001-eglibc-menuconfig-support.patch           |  122 +++++++--------
>  ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch |    0
>  ...0002-eglibc-menuconfig-hex-string-options.patch |    0
>  ...0003-eglibc-menuconfig-build-instructions.patch |    0
>  .../GLRO_dl_debug_mask.patch                       |    0
>  .../IO-acquire-lock-fix.patch                      |    0
>  .../add_resource_h_to_wait_h.patch                 |    0
>  .../eglibc-svn-arm-lowlevellock-include-tls.patch  |    0
>  .../eglibc_fix_findidx_parameters.patch            |    0
>  .../{eglibc-2.18 => eglibc-2.19}/etc/ld.so.conf    |    0
>  .../fileops-without-wchar-io.patch                 |    0
>  .../fix-tibetian-locales.patch                     |    0
>  .../fix_for_centos_5.8.patch                       |    0
>  .../fsl-ppc-no-fsqrt.patch                         |    0
>  .../generate-supported.mk                          |    0
>  .../glibc.fix_sqrt2.patch                          |    0
>  .../initgroups_keys.patch                          |    0
>  .../ld-search-order.patch                          |    0
>  .../mips-rld-map-check.patch                       |    0
>  .../multilib_readlib.patch                         |    0
>  .../ppc-sqrt_finite.patch                          |    0
>  .../ppc_slow_ieee754_sqrt.patch                    |    0
>  .../relocatable_sdk.patch                          |    0
>  .../relocatable_sdk_fix_openpath.patch             |    0
>  ...libc-initial_2.18.bb => eglibc-initial_2.19.bb} |    0
>  ...eglibc-locale_2.18.bb => eglibc-locale_2.19.bb} |    0
>  ...eglibc-mtrace_2.18.bb => eglibc-mtrace_2.19.bb} |    0
>  ...libc-scripts_2.18.bb => eglibc-scripts_2.19.bb} |    0
>  .../eglibc/{eglibc_2.18.bb => eglibc_2.19.bb}      |   14 +-
>  meta/recipes-core/uclibc/uclibc-git.inc            |    3 +-
>  .../0001-add-posix_fadvise-for-arm.patch           |   68 ---------
>  meta/recipes-devtools/binutils/binutils.inc        |    8 +-
>  .../valgrind/valgrind/glibc-2.19.patch             |   23 +++
>  meta/recipes-devtools/valgrind/valgrind_3.9.0.bb   |    1 +
>  .../0001-Disable-LDFLAGSICUDT-for-Linux.patch      |   28 ++++
>  meta/recipes-support/icu/icu_51.2.bb               |    3 +
>  45 files changed, 136 insertions(+), 422 deletions(-)  rename 
> meta/recipes-core/eglibc/{cross-localedef-native_2.18.bb => 
> cross-localedef-native_2.19.bb} (73%)  delete mode 100644 
> meta/recipes-core/eglibc/eglibc-2.18/0001-ARM-Pass-dl_hwcap-to-IFUNC-r
> esolver.patch  delete mode 100644 
> meta/recipes-core/eglibc/eglibc-2.18/make-4.patch
>  delete mode 100644 
> meta/recipes-core/eglibc/eglibc-2.18/tzselect-awk.patch
>  delete mode 100644 
> meta/recipes-core/eglibc/eglibc-2.18/tzselect-sh.patch
>  rename meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/0001-R_ARM_TLS_DTPOFF32.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/0001-eglibc-menuconfig-support.patch (93%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.p
> atch (100%)  rename meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/0002-eglibc-menuconfig-hex-string-options.patch (100%)  
> rename meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/0003-eglibc-menuconfig-build-instructions.patch (100%)  
> rename meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/GLRO_dl_debug_mask.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/IO-acquire-lock-fix.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/add_resource_h_to_wait_h.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/eglibc-svn-arm-lowlevellock-include-tls.patch (100%)  
> rename meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/eglibc_fix_findidx_parameters.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => eglibc-2.19}/etc/ld.so.conf 
> (100%)  rename meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/fileops-without-wchar-io.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/fix-tibetian-locales.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/fix_for_centos_5.8.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/fsl-ppc-no-fsqrt.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/generate-supported.mk (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/glibc.fix_sqrt2.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/initgroups_keys.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/ld-search-order.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/mips-rld-map-check.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/multilib_readlib.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/ppc-sqrt_finite.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/ppc_slow_ieee754_sqrt.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/relocatable_sdk.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-2.18 => 
> eglibc-2.19}/relocatable_sdk_fix_openpath.patch (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-initial_2.18.bb => 
> eglibc-initial_2.19.bb} (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-locale_2.18.bb => 
> eglibc-locale_2.19.bb} (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-mtrace_2.18.bb => 
> eglibc-mtrace_2.19.bb} (100%)  rename 
> meta/recipes-core/eglibc/{eglibc-scripts_2.18.bb => 
> eglibc-scripts_2.19.bb} (100%)  rename 
> meta/recipes-core/eglibc/{eglibc_2.18.bb => eglibc_2.19.bb} (90%)  
> delete mode 100644 
> meta/recipes-core/uclibc/uclibc-git/0001-add-posix_fadvise-for-arm.pat
> ch  create mode 100644 
> meta/recipes-devtools/valgrind/valgrind/glibc-2.19.patch
>  create mode 100644 
> meta/recipes-support/icu/icu-51.2/0001-Disable-LDFLAGSICUDT-for-Linux.
> patch
>
> --
> 1.7.10.4
>
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 3/6] rootfs.py: Check for LDCONFIGDEPEND being empty string
  2014-02-17 19:34 ` [PATCH 3/6] rootfs.py: Check for LDCONFIGDEPEND being empty string Khem Raj
@ 2014-02-18  8:37   ` Laurentiu Palcu
  2014-02-18  8:48     ` Richard Purdie
  0 siblings, 1 reply; 14+ messages in thread
From: Laurentiu Palcu @ 2014-02-18  8:37 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

Hi Khem,

On Mon, Feb 17, 2014 at 11:34:15AM -0800, Khem Raj wrote:
> We override LDCONFIGDEPEND to be empty string for uclibc
> however the current check is for it being None as a result
> the function is still executed but ldconfig-native is not
> built as dependency for rootfs when building with uclibc
> 
> Fixes errors like below
> 
> File:
> '/home/kraj/work/angstrom-repo/sources/openembedded-core/meta/lib/oe/rootfs.py',
> lineno: 191, function: _run_ldconfig
>      0187:    def _run_ldconfig(self):
>      0188:        if self.d.getVar('LDCONFIGDEPEND', True) is not None:
>      0189:            bb.note("Executing: ldconfig -r" +
> self.image_rootfs + "-c new -v")
>      0190:            self._exec_shell_cmd(['ldconfig', '-r',
> self.image_rootfs, '-c',
>  *** 0191:                                  'new', '-v'])
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/lib/oe/rootfs.py |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
> index d149ca3..3bcb812 100644
> --- a/meta/lib/oe/rootfs.py
> +++ b/meta/lib/oe/rootfs.py
> @@ -185,7 +185,7 @@ class Rootfs(object):
>                          self._handle_intercept_failure(registered_pkgs)
>  
>      def _run_ldconfig(self):
> -        if self.d.getVar('LDCONFIGDEPEND', True) is not None:
> +        if self.d.getVar('LDCONFIGDEPEND', True) != "":
May I suggest:
           if (self.d.getVar('LDCONFIGDEPEND', True) or "") != "":
here? Otherwise, the condition will be true even if LDCONFIGDEPEND is
None.

laurentiu
>              bb.note("Executing: ldconfig -r" + self.image_rootfs + "-c new -v")
>              self._exec_shell_cmd(['ldconfig', '-r', self.image_rootfs, '-c',
>                                    'new', '-v'])
> -- 
> 1.7.10.4
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 3/6] rootfs.py: Check for LDCONFIGDEPEND being empty string
  2014-02-18  8:37   ` Laurentiu Palcu
@ 2014-02-18  8:48     ` Richard Purdie
  2014-02-18 14:23       ` Khem Raj
  0 siblings, 1 reply; 14+ messages in thread
From: Richard Purdie @ 2014-02-18  8:48 UTC (permalink / raw)
  To: Laurentiu Palcu; +Cc: openembedded-core

On Tue, 2014-02-18 at 10:37 +0200, Laurentiu Palcu wrote:
> Hi Khem,
> 
> On Mon, Feb 17, 2014 at 11:34:15AM -0800, Khem Raj wrote:
> > We override LDCONFIGDEPEND to be empty string for uclibc
> > however the current check is for it being None as a result
> > the function is still executed but ldconfig-native is not
> > built as dependency for rootfs when building with uclibc
> > 
> > Fixes errors like below
> > 
> > File:
> > '/home/kraj/work/angstrom-repo/sources/openembedded-core/meta/lib/oe/rootfs.py',
> > lineno: 191, function: _run_ldconfig
> >      0187:    def _run_ldconfig(self):
> >      0188:        if self.d.getVar('LDCONFIGDEPEND', True) is not None:
> >      0189:            bb.note("Executing: ldconfig -r" +
> > self.image_rootfs + "-c new -v")
> >      0190:            self._exec_shell_cmd(['ldconfig', '-r',
> > self.image_rootfs, '-c',
> >  *** 0191:                                  'new', '-v'])
> > 
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/lib/oe/rootfs.py |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
> > index d149ca3..3bcb812 100644
> > --- a/meta/lib/oe/rootfs.py
> > +++ b/meta/lib/oe/rootfs.py
> > @@ -185,7 +185,7 @@ class Rootfs(object):
> >                          self._handle_intercept_failure(registered_pkgs)
> >  
> >      def _run_ldconfig(self):
> > -        if self.d.getVar('LDCONFIGDEPEND', True) is not None:
> > +        if self.d.getVar('LDCONFIGDEPEND', True) != "":
> May I suggest:
>            if (self.d.getVar('LDCONFIGDEPEND', True) or "") != "":
> here? Otherwise, the condition will be true even if LDCONFIGDEPEND is
> None.

I think Bernhard's suggestion was the best one here so I've done that.
To be honest I thought Khem had updated the patch.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH 3/6] rootfs.py: Check for LDCONFIGDEPEND being empty string
  2014-02-18  8:48     ` Richard Purdie
@ 2014-02-18 14:23       ` Khem Raj
  0 siblings, 0 replies; 14+ messages in thread
From: Khem Raj @ 2014-02-18 14:23 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On Tue, Feb 18, 2014 at 12:48 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Tue, 2014-02-18 at 10:37 +0200, Laurentiu Palcu wrote:
>> Hi Khem,
>>
>> On Mon, Feb 17, 2014 at 11:34:15AM -0800, Khem Raj wrote:
>> > We override LDCONFIGDEPEND to be empty string for uclibc
>> > however the current check is for it being None as a result
>> > the function is still executed but ldconfig-native is not
>> > built as dependency for rootfs when building with uclibc
>> >
>> > Fixes errors like below
>> >
>> > File:
>> > '/home/kraj/work/angstrom-repo/sources/openembedded-core/meta/lib/oe/rootfs.py',
>> > lineno: 191, function: _run_ldconfig
>> >      0187:    def _run_ldconfig(self):
>> >      0188:        if self.d.getVar('LDCONFIGDEPEND', True) is not None:
>> >      0189:            bb.note("Executing: ldconfig -r" +
>> > self.image_rootfs + "-c new -v")
>> >      0190:            self._exec_shell_cmd(['ldconfig', '-r',
>> > self.image_rootfs, '-c',
>> >  *** 0191:                                  'new', '-v'])
>> >
>> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> > ---
>> >  meta/lib/oe/rootfs.py |    2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
>> > index d149ca3..3bcb812 100644
>> > --- a/meta/lib/oe/rootfs.py
>> > +++ b/meta/lib/oe/rootfs.py
>> > @@ -185,7 +185,7 @@ class Rootfs(object):
>> >                          self._handle_intercept_failure(registered_pkgs)
>> >
>> >      def _run_ldconfig(self):
>> > -        if self.d.getVar('LDCONFIGDEPEND', True) is not None:
>> > +        if self.d.getVar('LDCONFIGDEPEND', True) != "":
>> May I suggest:
>>            if (self.d.getVar('LDCONFIGDEPEND', True) or "") != "":
>> here? Otherwise, the condition will be true even if LDCONFIGDEPEND is
>> None.
>
> I think Bernhard's suggestion was the best one here so I've done that.
> To be honest I thought Khem had updated the patch.

I missed this one. needed to test the suggestion but thanks for taking
care of it

>
> Cheers,
>
> Richard
>


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-02-18 14:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-17 19:33 [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
2014-02-17 19:34 ` [PATCH 1/6] eglibc: Upgrade from 2.18 -> 2.19 Khem Raj
2014-02-17 19:34 ` [PATCH 2/6] valgrind: Add glibc 2.19 awareness Khem Raj
2014-02-17 19:34 ` [PATCH 3/6] rootfs.py: Check for LDCONFIGDEPEND being empty string Khem Raj
2014-02-18  8:37   ` Laurentiu Palcu
2014-02-18  8:48     ` Richard Purdie
2014-02-18 14:23       ` Khem Raj
2014-02-17 19:34 ` [PATCH 4/6] icu: Disable the default LDFLAGSICUDT for target compile Khem Raj
2014-02-17 21:53   ` Richard Purdie
2014-02-18  0:10     ` Khem Raj
2014-02-17 19:34 ` [PATCH 5/6] binutils: ld-is-gold should not affect native and crosssdk recipes Khem Raj
2014-02-17 19:34 ` [PATCH 6/6] uclibc: Update to git tip Khem Raj
2014-02-18  0:38 ` [PATCH 0/6] eglibc upgrade 2.19, uclibc upgrade and fixes Khem Raj
2014-02-18  8:17   ` Iorga, Cristian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.