Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/6] Glibc/gdb upgrade switch to gcc-6 as default
@ 2016-05-13 16:46 Khem Raj
  2016-05-13 16:46 ` [PATCH 1/6] glibc: Add recipes for 2.24 release Khem Raj
                   ` (5 more replies)
  0 siblings, 6 replies; 28+ messages in thread
From: Khem Raj @ 2016-05-13 16:46 UTC (permalink / raw)
  To: openembedded-core; +Cc: Bruce Ashfield

This is essentially v2 of the gcc-6 series for remaining patches
Fixes linux-yocto to build with gcc-6
Adds recipes for glibc-2.24 and gdb 7.11
Python native fix to add native expat dependency that OE builds

feature-arm-vfp.inc fixes build breakage seen on rpi

Finally switch to using gcc-6/glibc-2.24/gdb-7.11 as default


André Draszik (1):
  feature-arm-vfp.inc: fix overzealous ARMPKGSFX_FPU modification

Bruce Ashfield (1):
  linux-yocto/4.4: gcc6 build fixes (powerpc and mips)

Khem Raj (4):
  glibc: Add recipes for 2.24 release
  python-native: Point to expat in native sysroot and add missing dep on
    expat-native
  gdb: Upgrade to 7.11
  tcmode-default: Bump gcc,glibc,gdb

 meta/conf/distro/include/tcmode-default.inc        |  6 +--
 meta/conf/machine/include/arm/feature-arm-vfp.inc  |  2 +-
 .../fix_for_centos_5.8.patch                       | 18 --------
 ...tive_2.23.bb => cross-localedef-native_2.24.bb} | 18 ++++----
 ...glibc-initial_2.23.bb => glibc-initial_2.24.bb} |  0
 .../{glibc-locale_2.23.bb => glibc-locale_2.24.bb} |  0
 .../{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} |  0
 ...glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} |  0
 ...libc-Look-for-host-system-ld.so.cache-as-.patch |  8 ++--
 ...libc-Fix-buffer-overrun-with-a-relocated-.patch |  8 ++--
 ...libc-Raise-the-size-of-arrays-containing-.patch | 34 ++++++---------
 ...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch | 10 +++--
 ...500-e5500-e6500-603e-fsqrt-implementation.patch |  6 +--
 ...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch |  8 ++--
 ...-Fix-undefined-reference-to-__sqrt_finite.patch |  6 +--
 ...qrt-f-are-now-inline-functions-and-call-o.patch |  6 +--
 ...bug-1443-which-explains-what-the-patch-do.patch |  8 ++--
 ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch | 10 ++---
 ...qrt-f-are-now-inline-functions-and-call-o.patch |  6 +--
 ...ersion-output-matching-grok-gold-s-output.patch | 14 +++----
 ...-configure.ac-handle-correctly-libc_cv_ro.patch |  6 +--
 .../glibc/glibc/0014-Add-unused-attribute.patch    |  8 ++--
 ...thin-the-path-sets-wrong-config-variables.patch | 10 ++---
 ...-timezone-re-written-tzselect-as-posix-sh.patch | 16 ++++----
 ...move-bash-dependency-for-nscd-init-script.patch |  8 ++--
 ...c-Cross-building-and-testing-instructions.patch |  6 +--
 ...019-eglibc-Help-bootstrap-cross-toolchain.patch |  8 ++--
 .../glibc/0020-eglibc-cherry-picked-from.patch     | 18 ++++----
 .../0021-eglibc-Clear-cache-lines-on-ppc8xx.patch  | 10 ++---
 ...0022-eglibc-Resolve-__fpscr_values-on-SH4.patch |  8 ++--
 .../glibc/0023-eglibc-Install-PIC-archives.patch   |  8 ++--
 ...ard-port-cross-locale-generation-support.patch} | 30 +++++++-------
 ...0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 32 +++++++++++++++
 ...ing-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 ----------------------
 .../glibc/{glibc_2.23.bb => glibc_2.24.bb}         | 12 +++---
 .../gdb/{gdb-7.10.1.inc => gdb-7.11.inc}           |  0
 meta/recipes-devtools/gdb/gdb-common.inc           | 20 +++++++--
 ...nadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} |  0
 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb      |  4 --
 meta/recipes-devtools/gdb/gdb-cross_7.11.bb        |  2 +
 meta/recipes-devtools/gdb/gdb.inc                  | 10 -----
 .../gdb/0001-include-sys-types.h-for-mode_t.patch  | 10 ++---
 ...002-make-man-install-relative-to-DESTDIR.patch} |  8 ++--
 ...-linux-nat-Define-_ABIO32-if-not-defined.patch} |  8 ++--
 ...efine-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} | 11 ++---
 ...-support-for-Renesas-SH-sh4-architecture.patch} | 32 +++++++--------
 ...-libreadline.a-when-using-disable-static.patch} | 21 ++++++++--
 ...gidefs.h.patch => 0007-use-asm-sgidefs.h.patch} | 15 +++----
 ...0008-Use-exorted-definitions-of-SIGRTMIN.patch} | 44 +++++++++-----------
 ...AGS.patch => 0009-Change-order-of-CFLAGS.patch} | 18 ++++----
 .../0010-resolve-restrict-keyword-conflict.patch   | 48 ++++++++++++++++++++++
 .../gdb/{gdb_7.10.1.bb => gdb_7.11.bb}             |  1 +
 .../python/python-native_2.7.11.bb                 |  4 +-
 meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb    |  4 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb  |  4 +-
 meta/recipes-kernel/linux/linux-yocto_4.4.bb       | 18 ++++----
 56 files changed, 346 insertions(+), 332 deletions(-)
 delete mode 100644 meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
 rename meta/recipes-core/glibc/{cross-localedef-native_2.23.bb => cross-localedef-native_2.24.bb} (84%)
 rename meta/recipes-core/glibc/{glibc-initial_2.23.bb => glibc-initial_2.24.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-locale_2.23.bb => glibc-locale_2.24.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} (100%)
 rename meta/recipes-core/glibc/glibc/{0025-eglibc-Forward-port-cross-locale-generation-support.patch => 0024-eglibc-Forward-port-cross-locale-generation-support.patch} (97%)
 create mode 100644 meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
 delete mode 100644 meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
 rename meta/recipes-core/glibc/{glibc_2.23.bb => glibc_2.24.bb} (93%)
 rename meta/recipes-devtools/gdb/{gdb-7.10.1.inc => gdb-7.11.inc} (100%)
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} (100%)
 delete mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb
 create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.11.bb
 rename meta/recipes-devtools/gdb/gdb/{0001-make-man-install-relative-to-DESTDIR.patch => 0002-make-man-install-relative-to-DESTDIR.patch} (78%)
 rename meta/recipes-devtools/gdb/gdb/{0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch => 0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch} (84%)
 rename meta/recipes-devtools/gdb/gdb/{0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch => 0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} (83%)
 rename meta/recipes-devtools/gdb/gdb/{0003-Add-support-for-Renesas-SH-sh4-architecture.patch => 0005-Add-support-for-Renesas-SH-sh4-architecture.patch} (97%)
 rename meta/recipes-devtools/gdb/gdb/{force-readline-static.patch => 0006-Dont-disable-libreadline.a-when-using-disable-static.patch} (67%)
 rename meta/recipes-devtools/gdb/gdb/{0001-use-asm-sgidefs.h.patch => 0007-use-asm-sgidefs.h.patch} (69%)
 rename meta/recipes-devtools/gdb/gdb/{0001-Use-exported-definitions-of-SIGRTMIN.patch => 0008-Use-exorted-definitions-of-SIGRTMIN.patch} (49%)
 rename meta/recipes-devtools/gdb/gdb/{0002-Change-order-of-CFLAGS.patch => 0009-Change-order-of-CFLAGS.patch} (69%)
 create mode 100644 meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
 rename meta/recipes-devtools/gdb/{gdb_7.10.1.bb => gdb_7.11.bb} (89%)

-- 
2.8.2



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

* [PATCH 1/6] glibc: Add recipes for 2.24 release
  2016-05-13 16:46 [PATCH 0/6] Glibc/gdb upgrade switch to gcc-6 as default Khem Raj
@ 2016-05-13 16:46 ` Khem Raj
  2016-07-03 13:45   ` Trevor Woerner
  2016-05-13 16:46 ` [PATCH 2/6] python-native: Point to expat in native sysroot and add missing dep on expat-native Khem Raj
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 28+ messages in thread
From: Khem Raj @ 2016-05-13 16:46 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../fix_for_centos_5.8.patch                       | 18 --------
 ...tive_2.23.bb => cross-localedef-native_2.24.bb} | 18 ++++----
 ...glibc-initial_2.23.bb => glibc-initial_2.24.bb} |  0
 .../{glibc-locale_2.23.bb => glibc-locale_2.24.bb} |  0
 .../{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} |  0
 ...glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} |  0
 ...libc-Look-for-host-system-ld.so.cache-as-.patch |  8 ++--
 ...libc-Fix-buffer-overrun-with-a-relocated-.patch |  8 ++--
 ...libc-Raise-the-size-of-arrays-containing-.patch | 34 ++++++---------
 ...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch | 10 +++--
 ...500-e5500-e6500-603e-fsqrt-implementation.patch |  6 +--
 ...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch |  8 ++--
 ...-Fix-undefined-reference-to-__sqrt_finite.patch |  6 +--
 ...qrt-f-are-now-inline-functions-and-call-o.patch |  6 +--
 ...bug-1443-which-explains-what-the-patch-do.patch |  8 ++--
 ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch | 10 ++---
 ...qrt-f-are-now-inline-functions-and-call-o.patch |  6 +--
 ...ersion-output-matching-grok-gold-s-output.patch | 14 +++----
 ...-configure.ac-handle-correctly-libc_cv_ro.patch |  6 +--
 .../glibc/glibc/0014-Add-unused-attribute.patch    |  8 ++--
 ...thin-the-path-sets-wrong-config-variables.patch | 10 ++---
 ...-timezone-re-written-tzselect-as-posix-sh.patch | 16 ++++----
 ...move-bash-dependency-for-nscd-init-script.patch |  8 ++--
 ...c-Cross-building-and-testing-instructions.patch |  6 +--
 ...019-eglibc-Help-bootstrap-cross-toolchain.patch |  8 ++--
 .../glibc/0020-eglibc-cherry-picked-from.patch     | 18 ++++----
 .../0021-eglibc-Clear-cache-lines-on-ppc8xx.patch  | 10 ++---
 ...0022-eglibc-Resolve-__fpscr_values-on-SH4.patch |  8 ++--
 .../glibc/0023-eglibc-Install-PIC-archives.patch   |  8 ++--
 ...ard-port-cross-locale-generation-support.patch} | 30 +++++++-------
 ...0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 32 +++++++++++++++
 ...ing-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 ----------------------
 .../glibc/{glibc_2.23.bb => glibc_2.24.bb}         | 12 +++---
 33 files changed, 171 insertions(+), 217 deletions(-)
 delete mode 100644 meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
 rename meta/recipes-core/glibc/{cross-localedef-native_2.23.bb => cross-localedef-native_2.24.bb} (84%)
 rename meta/recipes-core/glibc/{glibc-initial_2.23.bb => glibc-initial_2.24.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-locale_2.23.bb => glibc-locale_2.24.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} (100%)
 rename meta/recipes-core/glibc/{glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} (100%)
 rename meta/recipes-core/glibc/glibc/{0025-eglibc-Forward-port-cross-locale-generation-support.patch => 0024-eglibc-Forward-port-cross-locale-generation-support.patch} (97%)
 create mode 100644 meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
 delete mode 100644 meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
 rename meta/recipes-core/glibc/{glibc_2.23.bb => glibc_2.24.bb} (93%)

diff --git a/meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch b/meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
deleted file mode 100644
index 186a480..0000000
--- a/meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Upstream-Status: Inappropriate [other]
-
-This is a hack to fix building the locale bits on an older
-CentOs 5.X machine
-
-Index: git/locale/programs/config.h
-===================================================================
---- git/locale/programs/config.h
-+++ git.orig/locale/programs/config.h
-@@ -19,6 +19,8 @@
- #ifndef _LD_CONFIG_H
- #define _LD_CONFIG_H	1
- 
-+#define DUMMY_LOCALE_T
-+
- /* Use the internal textdomain used for libc messages.  */
- #define PACKAGE _libc_intl_domainname
- #ifndef VERSION
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.23.bb b/meta/recipes-core/glibc/cross-localedef-native_2.24.bb
similarity index 84%
rename from meta/recipes-core/glibc/cross-localedef-native_2.23.bb
rename to meta/recipes-core/glibc/cross-localedef-native_2.24.bb
index a6795ed..79c3132 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.23.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.24.bb
@@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
       file://posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
       file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
-
 # Tell autotools that we're working in the localedef directory
 #
 AUTOTOOLS_SCRIPT_PATH = "${S}/localedef"
@@ -18,16 +17,16 @@ inherit autotools
 
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:"
 
-SRCBRANCH ?= "release/${PV}/master"
+#SRCBRANCH ?= "release/${PV}/master"
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
+SRCBRANCH ?= "master"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
 
+SRCREV_glibc ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e"
+SRCREV_localedef ?= "29869b6dc11427c5bab839bdb155c85a7c644c71"
+
 SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
            git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \
-           file://fix_for_centos_5.8.patch \
-           ${EGLIBCPATCHES} \
-"
-EGLIBCPATCHES = "\
            file://0016-timezone-re-written-tzselect-as-posix-sh.patch \
            file://0017-Remove-bash-dependency-for-nscd-init-script.patch \
            file://0018-eglibc-Cross-building-and-testing-instructions.patch \
@@ -36,12 +35,9 @@ EGLIBCPATCHES = "\
            file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \
            file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \
            file://0023-eglibc-Install-PIC-archives.patch \
-           file://0025-eglibc-Forward-port-cross-locale-generation-support.patch \
+           file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \
+           file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \
 "
-
-SRCREV_glibc ?= "e742928c1592b43db6809db4f39e67be151cdd27"
-SRCREV_localedef ?= "5a81ff9f06a7a808d4c3d37bbf34077a4c5902ed"
-
 # Makes for a rather long rev (22 characters), but...
 #
 SRCREV_FORMAT = "glibc_localedef"
diff --git a/meta/recipes-core/glibc/glibc-initial_2.23.bb b/meta/recipes-core/glibc/glibc-initial_2.24.bb
similarity index 100%
rename from meta/recipes-core/glibc/glibc-initial_2.23.bb
rename to meta/recipes-core/glibc/glibc-initial_2.24.bb
diff --git a/meta/recipes-core/glibc/glibc-locale_2.23.bb b/meta/recipes-core/glibc/glibc-locale_2.24.bb
similarity index 100%
rename from meta/recipes-core/glibc/glibc-locale_2.23.bb
rename to meta/recipes-core/glibc/glibc-locale_2.24.bb
diff --git a/meta/recipes-core/glibc/glibc-mtrace_2.23.bb b/meta/recipes-core/glibc/glibc-mtrace_2.24.bb
similarity index 100%
rename from meta/recipes-core/glibc/glibc-mtrace_2.23.bb
rename to meta/recipes-core/glibc/glibc-mtrace_2.24.bb
diff --git a/meta/recipes-core/glibc/glibc-scripts_2.23.bb b/meta/recipes-core/glibc/glibc-scripts_2.24.bb
similarity index 100%
rename from meta/recipes-core/glibc/glibc-scripts_2.23.bb
rename to meta/recipes-core/glibc/glibc-scripts_2.24.bb
diff --git a/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch b/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
index 97c2800..ca33758 100644
--- a/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
+++ b/meta/recipes-core/glibc/glibc/0001-nativesdk-glibc-Look-for-host-system-ld.so.cache-as-.patch
@@ -1,7 +1,7 @@
-From 66d04e2cd8badb0984050e4e9f2732f47151fbbf Mon Sep 17 00:00:00 2001
+From 7e11aafc3a7cb873b3f648740c8acd379597e4d1 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:48:24 +0000
-Subject: [PATCH 01/24] nativesdk-glibc: Look for host system ld.so.cache as
+Subject: [PATCH 01/25] nativesdk-glibc: Look for host system ld.so.cache as
  well
 
 Upstream-Status: Inappropriate [embedded specific]
@@ -31,7 +31,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 8 insertions(+), 8 deletions(-)
 
 diff --git a/elf/dl-load.c b/elf/dl-load.c
-index 6fb615e..ee3d1e6 100644
+index c0d6249..2c73105 100644
 --- a/elf/dl-load.c
 +++ b/elf/dl-load.c
 @@ -2094,6 +2094,14 @@ _dl_map_object (struct link_map *loader, const char *name,
@@ -65,5 +65,5 @@ index 6fb615e..ee3d1e6 100644
        if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_LIBS))
  	_dl_debug_printf ("\n");
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch b/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
index 473b894..5428468 100644
--- a/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
+++ b/meta/recipes-core/glibc/glibc/0002-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch
@@ -1,7 +1,7 @@
-From 179dc5f1e13c3ff96d5f21a2a78c089cf120ceb8 Mon Sep 17 00:00:00 2001
+From 5fd884dc28d5d84001fae8ffdd8be698bb84143e Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:50:00 +0000
-Subject: [PATCH 02/24] nativesdk-glibc: Fix buffer overrun with a relocated
+Subject: [PATCH 02/25] nativesdk-glibc: Fix buffer overrun with a relocated
  SDK
 
 When ld-linux-*.so.2 is relocated to a path that is longer than the
@@ -22,7 +22,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 12 insertions(+)
 
 diff --git a/elf/dl-load.c b/elf/dl-load.c
-index ee3d1e6..c4a42e9 100644
+index 2c73105..c7b8797 100644
 --- a/elf/dl-load.c
 +++ b/elf/dl-load.c
 @@ -1793,7 +1793,19 @@ open_path (const char *name, size_t namelen, int mode,
@@ -46,5 +46,5 @@ index ee3d1e6..c4a42e9 100644
      {
        struct r_search_path_elem *this_dir = *dirs;
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
index 60f9f17..23b9fcb 100644
--- a/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
+++ b/meta/recipes-core/glibc/glibc/0003-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch
@@ -1,7 +1,7 @@
-From e76048898ae9aa49dc70d6f9b1bbc22082e61fe3 Mon Sep 17 00:00:00 2001
+From c99892f2018cd7fa0f37b53e6cebec99fa036472 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:51:38 +0000
-Subject: [PATCH 03/24] nativesdk-glibc: Raise the size of arrays containing dl
+Subject: [PATCH 03/25] nativesdk-glibc: Raise the size of arrays containing dl
  paths
 
 This patch puts the dynamic loader path in the binaries, SYSTEM_DIRS strings
@@ -25,7 +25,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  6 files changed, 13 insertions(+), 9 deletions(-)
 
 diff --git a/elf/dl-cache.c b/elf/dl-cache.c
-index dec49bc..862f1d8 100644
+index cfa335e..daa12ec 100644
 --- a/elf/dl-cache.c
 +++ b/elf/dl-cache.c
 @@ -132,6 +132,10 @@ do									      \
@@ -40,7 +40,7 @@ index dec49bc..862f1d8 100644
  internal_function
  _dl_cache_libcmp (const char *p1, const char *p2)
 diff --git a/elf/dl-load.c b/elf/dl-load.c
-index c4a42e9..acf6c03 100644
+index c7b8797..37a1beb 100644
 --- a/elf/dl-load.c
 +++ b/elf/dl-load.c
 @@ -106,8 +106,8 @@ static size_t max_capstrlen attribute_relro;
@@ -55,7 +55,7 @@ index c4a42e9..acf6c03 100644
    SYSTEM_DIRS_LEN
  };
 diff --git a/elf/interp.c b/elf/interp.c
-index 422ea95e..6d61a36 100644
+index 9448802..e7e8c70 100644
 --- a/elf/interp.c
 +++ b/elf/interp.c
 @@ -18,5 +18,5 @@
@@ -66,10 +66,10 @@ index 422ea95e..6d61a36 100644
 +const char __invoke_dynamic_linker__[4096] __attribute__ ((section (".interp")))
    = RUNTIME_LINKER;
 diff --git a/elf/ldconfig.c b/elf/ldconfig.c
-index f54ec22..0e78a83 100644
+index 467ca82..631a2a9 100644
 --- a/elf/ldconfig.c
 +++ b/elf/ldconfig.c
-@@ -167,6 +167,9 @@ static struct argp argp =
+@@ -168,6 +168,9 @@ static struct argp argp =
    options, parse_opt, NULL, doc, NULL, more_help, NULL
  };
  
@@ -80,7 +80,7 @@ index f54ec22..0e78a83 100644
     a platform.  */
  static int
 diff --git a/elf/rtld.c b/elf/rtld.c
-index 52160df..80f0582 100644
+index 647661c..4e16a43 100644
 --- a/elf/rtld.c
 +++ b/elf/rtld.c
 @@ -99,6 +99,7 @@ uintptr_t __pointer_chk_guard_local
@@ -107,7 +107,7 @@ index 52160df..80f0582 100644
        ++_dl_skip_args;
        --_dl_argc;
 diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h
-index 70d4aeb..5c726d0 100644
+index eb2f900..505804e 100644
 --- a/sysdeps/generic/dl-cache.h
 +++ b/sysdeps/generic/dl-cache.h
 @@ -27,10 +27,6 @@
@@ -121,16 +121,6 @@ index 70d4aeb..5c726d0 100644
  #ifndef add_system_dir
  # define add_system_dir(dir) add_dir (dir)
  #endif
-Index: git/iconv/gconv_conf.c
-===================================================================
---- git.orig/iconv/gconv_conf.c
-+++ git/iconv/gconv_conf.c
-@@ -36,7 +36,7 @@
- 
- 
- /* This is the default path where we look for module lists.  */
--static const char default_gconv_path[] = GCONV_PATH;
-+static char default_gconv_path[4096] __attribute__ ((section (".gccrelocprefix"))) = GCONV_PATH;
- 
- /* The path elements, as determined by the __gconv_get_path function.
-    All path elements end in a slash.  */
+-- 
+2.8.2
+
diff --git a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
index 21f04a1..3127de6 100644
--- a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
+++ b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
@@ -1,7 +1,7 @@
-From 2e1638115f0f924ee8235eee9265047054c15cfd Mon Sep 17 00:00:00 2001
+From a56e7aa2fd10b178b9498f88a7a2ca8aad671a53 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Thu, 31 Dec 2015 14:35:35 -0800
-Subject: [PATCH 04/24] nativesdk-glibc: Allow 64 bit atomics for x86
+Subject: [PATCH 04/25] nativesdk-glibc: Allow 64 bit atomics for x86
 
 The fix consist of allowing 64bit atomic ops for x86.
 This should be safe for i586 and newer CPUs.
@@ -11,11 +11,13 @@ Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
 ---
+Upstream-Status: Pending
+
  sysdeps/i386/atomic-machine.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/sysdeps/i386/atomic-machine.h b/sysdeps/i386/atomic-machine.h
-index 59f3d34..6f6b7ff 100644
+index ce62b33..4fe44ea 100644
 --- a/sysdeps/i386/atomic-machine.h
 +++ b/sysdeps/i386/atomic-machine.h
 @@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t;
@@ -28,5 +30,5 @@ index 59f3d34..6f6b7ff 100644
  
  
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch b/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
index ba8c92e..dc0dfad 100644
--- a/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
+++ b/meta/recipes-core/glibc/glibc/0005-fsl-e500-e5500-e6500-603e-fsqrt-implementation.patch
@@ -1,7 +1,7 @@
-From 7ff57edfe24b4243373fcb896ee0b613938c1ec9 Mon Sep 17 00:00:00 2001
+From 450473ce27b47cebec2c5c5b611a8c8bed41e6e8 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:01:50 +0000
-Subject: [PATCH 05/24] fsl e500/e5500/e6500/603e fsqrt implementation
+Subject: [PATCH 05/25] fsl e500/e5500/e6500/603e fsqrt implementation
 
 Upstream-Status: Pending
 Signed-off-by: Edmar Wienskoski <edmar@freescale.com>
@@ -1580,5 +1580,5 @@ index 0000000..04ff8cc
 @@ -0,0 +1 @@
 +powerpc/powerpc64/e6500/fpu
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch b/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
index 086a73d..f267f66 100644
--- a/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
+++ b/meta/recipes-core/glibc/glibc/0006-readlib-Add-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch
@@ -1,7 +1,7 @@
-From 61129ef3ee735b300604f75d50e01cb29f4387f4 Mon Sep 17 00:00:00 2001
+From bb065b78e9e0d3301e64a26e37550a657c885ebc Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:11:22 +0000
-Subject: [PATCH 06/24] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known
+Subject: [PATCH 06/25] readlib: Add OECORE_KNOWN_INTERPRETER_NAMES to known
  names
 
 This bolts in a hook for OE to pass its own version of interpreter
@@ -17,7 +17,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 1 insertion(+)
 
 diff --git a/elf/readlib.c b/elf/readlib.c
-index 7fd5b8a..2f5da9f 100644
+index 8a66ffe..08d56fc 100644
 --- a/elf/readlib.c
 +++ b/elf/readlib.c
 @@ -51,6 +51,7 @@ static struct known_names interpreters[] =
@@ -29,5 +29,5 @@ index 7fd5b8a..2f5da9f 100644
  
  static struct known_names known_libs[] =
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch b/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
index 952784b..612e892 100644
--- a/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
+++ b/meta/recipes-core/glibc/glibc/0007-ppc-sqrt-Fix-undefined-reference-to-__sqrt_finite.patch
@@ -1,7 +1,7 @@
-From f936548decac99501f9a4c522a3211d16542fa49 Mon Sep 17 00:00:00 2001
+From 4a91bbdb11a15f93094695bba4e0849c421fad48 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:15:07 +0000
-Subject: [PATCH 07/24] ppc/sqrt: Fix undefined reference to `__sqrt_finite'
+Subject: [PATCH 07/25] ppc/sqrt: Fix undefined reference to `__sqrt_finite'
 
 on ppc fixes the errors like below
 | ./.libs/libpulsecore-1.1.so: undefined reference to `__sqrt_finite'
@@ -204,5 +204,5 @@ index 26fa067..9d17512 100644
  }
 +strong_alias (__ieee754_sqrtf, __sqrtf_finite)
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch b/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
index 8d513ab..9e222b7 100644
--- a/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
+++ b/meta/recipes-core/glibc/glibc/0008-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
@@ -1,7 +1,7 @@
-From d02704895fdce917e337619a4414042f63edd88b Mon Sep 17 00:00:00 2001
+From ce2746a1560b4430d89d114e1b65c7be225b4c2a Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:16:38 +0000
-Subject: [PATCH 08/24] __ieee754_sqrt{,f} are now inline functions and call
+Subject: [PATCH 08/25] __ieee754_sqrt{,f} are now inline functions and call
  out __slow versions
 
 Upstream-Status: Pending
@@ -383,5 +383,5 @@ index 9d17512..10de1f0 100644
 +
  strong_alias (__ieee754_sqrtf, __sqrtf_finite)
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch b/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
index 12f24fb..7aa74df 100644
--- a/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
+++ b/meta/recipes-core/glibc/glibc/0009-Quote-from-bug-1443-which-explains-what-the-patch-do.patch
@@ -1,7 +1,7 @@
-From 502f061d846e58aac7aca67e4e0d6ba9e0763b17 Mon Sep 17 00:00:00 2001
+From 1b61649e545de76dd79a5e2c39bb16d0c4623160 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:20:09 +0000
-Subject: [PATCH 09/24] Quote from bug 1443 which explains what the patch does
+Subject: [PATCH 09/25] Quote from bug 1443 which explains what the patch does
  :
 
   We build some random program and link it with -lust.  When we run it,
@@ -45,7 +45,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h
-index 6fb20bd..8805537 100644
+index 60eee00..7d54d5e 100644
 --- a/sysdeps/arm/dl-machine.h
 +++ b/sysdeps/arm/dl-machine.h
 @@ -499,7 +499,7 @@ elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
@@ -58,5 +58,5 @@ index 6fb20bd..8805537 100644
  
  	case R_ARM_TLS_TPOFF32:
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch b/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
index 77bd7d1..14963a3 100644
--- a/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
+++ b/meta/recipes-core/glibc/glibc/0010-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch
@@ -1,7 +1,7 @@
-From 69a3e30b49d28a7386d18725528652931510cbfc Mon Sep 17 00:00:00 2001
+From 91af416408b8718b004c83d93a6daa1f34cba48d Mon Sep 17 00:00:00 2001
 From: Ting Liu <b28495@freescale.com>
 Date: Wed, 19 Dec 2012 04:39:57 -0600
-Subject: [PATCH 10/24] eglibc: run libm-err-tab.pl with specific dirs in ${S}
+Subject: [PATCH 10/25] eglibc: run libm-err-tab.pl with specific dirs in ${S}
 
 libm-err-tab.pl will parse all the files named "libm-test-ulps"
 in the given dir recursively. To avoid parsing the one in
@@ -10,7 +10,7 @@ ${S}/.pc/aarch64-0001-glibc-fsf-v1-eaf6f205.patch/ports/sysdeps/
 aarch64/libm-test-ulps), run libm-err-tab.pl with specific dirs
 in ${S}.
 
-Upstream-Status: Inappropriate [OE specific]
+Upstream-Status: inappropriate [OE specific]
 
 Signed-off-by: Ting Liu <b28495@freescale.com>
 ---
@@ -18,7 +18,7 @@ Signed-off-by: Ting Liu <b28495@freescale.com>
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/manual/Makefile b/manual/Makefile
-index cdb6763..0b32a0a 100644
+index f2f694f..e062833 100644
 --- a/manual/Makefile
 +++ b/manual/Makefile
 @@ -105,7 +105,8 @@ $(objpfx)libm-err.texi: $(objpfx)stamp-libm-err
@@ -32,5 +32,5 @@ index cdb6763..0b32a0a 100644
  	touch $@
  
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch b/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
index 251e5f5..e92d04c 100644
--- a/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
+++ b/meta/recipes-core/glibc/glibc/0011-__ieee754_sqrt-f-are-now-inline-functions-and-call-o.patch
@@ -1,7 +1,7 @@
-From 4cf52971a841304aec30b2e975f81d7ad9d42ef0 Mon Sep 17 00:00:00 2001
+From 6a71f688471fe0c85f8ad9afc4ee0723a20aae1d Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:24:46 +0000
-Subject: [PATCH 11/24] __ieee754_sqrt{,f} are now inline functions and call
+Subject: [PATCH 11/25] __ieee754_sqrt{,f} are now inline functions and call
  out __slow versions
 
 Upstream-Status: Pending
@@ -57,5 +57,5 @@ index 8126535..10de1f0 100644
  #endif
  {
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch b/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch
index 3208a0c..4cba03f 100644
--- a/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch
+++ b/meta/recipes-core/glibc/glibc/0012-Make-ld-version-output-matching-grok-gold-s-output.patch
@@ -1,7 +1,7 @@
-From b356816d6e005ecda7adbed9627a4315ad39de39 Mon Sep 17 00:00:00 2001
+From f9d024edb158659e403b51cc9d93da9bca6e5d7b Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:25:45 +0000
-Subject: [PATCH 12/24] Make ld --version output matching grok gold's output
+Subject: [PATCH 12/25] Make ld --version output matching grok gold's output
 
 adapted from from upstream branch roland/gold-vs-libc
 
@@ -14,10 +14,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/configure b/configure
-index aa05d49..6dabd11 100755
+index 8fe5937..7888a3f 100755
 --- a/configure
 +++ b/configure
-@@ -4486,7 +4486,7 @@ else
+@@ -4482,7 +4482,7 @@ else
    # Found it, now check the version.
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $LD" >&5
  $as_echo_n "checking version of $LD... " >&6; }
@@ -27,10 +27,10 @@ index aa05d49..6dabd11 100755
      '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
      2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*)
 diff --git a/configure.ac b/configure.ac
-index ee7a3f1..b4b95b9 100644
+index 3c766b7..6908a99 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -948,7 +948,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version,
+@@ -944,7 +944,7 @@ AC_CHECK_PROG_VER(AS, $AS, --version,
  		  [2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*],
  		  AS=: critic_missing="$critic_missing as")
  AC_CHECK_PROG_VER(LD, $LD, --version,
@@ -40,5 +40,5 @@ index ee7a3f1..b4b95b9 100644
  		  LD=: critic_missing="$critic_missing ld")
  
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch b/meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
index 82fa100..6a82f8d 100644
--- a/meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
+++ b/meta/recipes-core/glibc/glibc/0013-sysdeps-gnu-configure.ac-handle-correctly-libc_cv_ro.patch
@@ -1,7 +1,7 @@
-From 10003d48f83f7a4f7fa562ed89af904a544b6323 Mon Sep 17 00:00:00 2001
+From 2ece12093c8ba4cf688d235f35d36f1feb02324c Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:27:10 +0000
-Subject: [PATCH 13/24] sysdeps/gnu/configure.ac: handle correctly
+Subject: [PATCH 13/25] sysdeps/gnu/configure.ac: handle correctly
  $libc_cv_rootsbindir
 
 Upstream-Status:Pending
@@ -38,5 +38,5 @@ index 634fe4d..3db1697 100644
    ;;
  esac
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch b/meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch
index ea3e167..d14a6d4 100644
--- a/meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch
+++ b/meta/recipes-core/glibc/glibc/0014-Add-unused-attribute.patch
@@ -1,7 +1,7 @@
-From cafa8a7ef830e02cdbf928471e06d11054946940 Mon Sep 17 00:00:00 2001
+From 9fec083dc99d2b524090e1d098e03709eed64a72 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:28:41 +0000
-Subject: [PATCH 14/24] Add unused attribute
+Subject: [PATCH 14/25] Add unused attribute
 
 Helps in avoiding gcc warning when header is is included in
 a source file which does not use both functions
@@ -17,7 +17,7 @@ Upstream-Status: Pending
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h
-index 80290bc..7890a8e 100644
+index 95cbce7..191a0dd 100644
 --- a/iconv/gconv_charset.h
 +++ b/iconv/gconv_charset.h
 @@ -21,7 +21,7 @@
@@ -30,5 +30,5 @@ index 80290bc..7890a8e 100644
  {
    int slash_count = 0;
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch b/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch
index 90e12b8..8ceccec 100644
--- a/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch
+++ b/meta/recipes-core/glibc/glibc/0015-yes-within-the-path-sets-wrong-config-variables.patch
@@ -1,7 +1,7 @@
-From 4d6bead19874e519752ceeb2a15897ff2ffbe5e8 Mon Sep 17 00:00:00 2001
+From 1794a97cba0b09b726eebc565c783c7b7c22dfba Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:31:06 +0000
-Subject: [PATCH 15/24] 'yes' within the path sets wrong config variables
+Subject: [PATCH 15/25] 'yes' within the path sets wrong config variables
 
 It seems that the 'AC_EGREP_CPP(yes...' example is quite popular
 but being such a short word to grep it is likely to produce
@@ -165,7 +165,7 @@ index f05f438..dc86399 100644
    ], libc_cv_nios2_be=yes, libc_cv_nios2_be=no)])
  if test $libc_cv_nios2_be = yes; then
 diff --git a/sysdeps/unix/sysv/linux/mips/configure b/sysdeps/unix/sysv/linux/mips/configure
-index dee56aa..f2049ed 100644
+index a5513fa..283b293 100644
 --- a/sysdeps/unix/sysv/linux/mips/configure
 +++ b/sysdeps/unix/sysv/linux/mips/configure
 @@ -414,11 +414,11 @@ else
@@ -183,7 +183,7 @@ index dee56aa..f2049ed 100644
  else
    libc_cv_mips_nan2008=no
 diff --git a/sysdeps/unix/sysv/linux/mips/configure.ac b/sysdeps/unix/sysv/linux/mips/configure.ac
-index 45147c5..4224af1 100644
+index 9147aa4..7898e24 100644
 --- a/sysdeps/unix/sysv/linux/mips/configure.ac
 +++ b/sysdeps/unix/sysv/linux/mips/configure.ac
 @@ -105,9 +105,9 @@ AC_COMPILE_IFELSE(
@@ -259,5 +259,5 @@ index 0822915..9a32fdd 100644
      ], libc_cv_ppc64_def_call_elf=yes, libc_cv_ppc64_def_call_elf=no)])
    if test $libc_cv_ppc64_def_call_elf = no; then
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch b/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
index e51b611..e5b5083 100644
--- a/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
+++ b/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
@@ -1,7 +1,7 @@
-From 3e8586eb3509e2f0d6dfb74be8f89a30b06b56e9 Mon Sep 17 00:00:00 2001
+From fdb5c9c88e3d1bc5ae6ef9ebcfcf560d3c42f0a6 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:33:03 +0000
-Subject: [PATCH 16/24] timezone: re-written tzselect as posix sh
+Subject: [PATCH 16/25] timezone: re-written tzselect as posix sh
 
 To avoid the bash dependency.
 
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  2 files changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/timezone/Makefile b/timezone/Makefile
-index 99566cb..b6e757e 100644
+index dee7568..66a50be 100644
 --- a/timezone/Makefile
 +++ b/timezone/Makefile
-@@ -122,7 +122,7 @@ $(testdata)/XT%: testdata/XT%
+@@ -120,7 +120,7 @@ $(testdata)/XT%: testdata/XT%
  	cp $< $@
  
  $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
@@ -28,7 +28,7 @@ index 99566cb..b6e757e 100644
  	    -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
  	    -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
 diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh
-index 9d70691..25f45a8 100755
+index 2c3b2f4..0c04a61 100755
 --- a/timezone/tzselect.ksh
 +++ b/timezone/tzselect.ksh
 @@ -35,7 +35,7 @@ REPORT_BUGS_TO=tz@iana.org
@@ -38,8 +38,8 @@ index 9d70691..25f45a8 100755
 -: ${TZDIR=`pwd`}
 +: ${TZDIR=$(pwd)}
  
- # Check for awk Posix compliance.
- ($AWK -v x=y 'BEGIN { exit 123 }') </dev/null >/dev/null 2>&1
+ # Output one argument as-is to standard output.
+ # Safer than 'echo', which can mishandle '\' or leading '-'.
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch b/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch
index 0c9ae6c..c8da05d 100644
--- a/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch
+++ b/meta/recipes-core/glibc/glibc/0017-Remove-bash-dependency-for-nscd-init-script.patch
@@ -1,7 +1,7 @@
-From cd9d9fe7316f4ce4ca9d8e67e22f5718879535e4 Mon Sep 17 00:00:00 2001
+From 88ad88d014a5ee68b0e044d2def5ab13743c8ae0 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Thu, 31 Dec 2015 14:33:02 -0800
-Subject: [PATCH 17/24] Remove bash dependency for nscd init script
+Subject: [PATCH 17/25] Remove bash dependency for nscd init script
 
 The nscd init script uses #! /bin/bash but only really uses one bashism
 (translated strings), so remove them and switch the shell to #!/bin/sh.
@@ -9,6 +9,8 @@ The nscd init script uses #! /bin/bash but only really uses one bashism
 Signed-off-by: Ross Burton <ross.burton@intel.com>
 Signed-off-by: Khem Raj <raj.khem@gmail.com>
 ---
+Upstream-Status: Pending
+
  nscd/nscd.init | 14 +++++++-------
  1 file changed, 7 insertions(+), 7 deletions(-)
 
@@ -69,5 +71,5 @@ index a882da7..b02986e 100644
  	;;
  esac
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch b/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch
index e282e60..1750765 100644
--- a/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch
+++ b/meta/recipes-core/glibc/glibc/0018-eglibc-Cross-building-and-testing-instructions.patch
@@ -1,7 +1,7 @@
-From 8f554f4a1beb39182aad9cd9b5e1da69464dff7e Mon Sep 17 00:00:00 2001
+From 49c0ad7dc2e02e808ed150296a109b586c34115a Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:42:58 +0000
-Subject: [PATCH 18/24] eglibc: Cross building and testing instructions
+Subject: [PATCH 18/25] eglibc: Cross building and testing instructions
 
 Ported from eglibc
 Upstream-Status: Pending
@@ -615,5 +615,5 @@ index 0000000..b67b468
 +  simply place copies of these libraries in the top GLIBC build
 +  directory.
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch b/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch
index c04e0a1..f983d86 100644
--- a/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch
+++ b/meta/recipes-core/glibc/glibc/0019-eglibc-Help-bootstrap-cross-toolchain.patch
@@ -1,7 +1,7 @@
-From c2d49eab20db4ab02b6de62092fedc623d757146 Mon Sep 17 00:00:00 2001
+From e881face7a10354612bf634b44e09e3bc6462c67 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:49:28 +0000
-Subject: [PATCH 19/24] eglibc: Help bootstrap cross toolchain
+Subject: [PATCH 19/25] eglibc: Help bootstrap cross toolchain
 
 Taken from EGLIBC, r1484 + r1525
 
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  create mode 100644 include/stubs-bootstrap.h
 
 diff --git a/Makefile b/Makefile
-index 9a01c93..a6ae003 100644
+index 32748b3..6d055ba 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -69,9 +69,18 @@ subdir-dirs = include
@@ -96,5 +96,5 @@ index 0000000..1d2b669
 +   EGLIBC subdir 'stubs' make targets, on every .o file in EGLIBC, but
 +   an empty stubs.h like this will do fine for GCC.  */
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch b/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch
index 4362efa..30c4c69 100644
--- a/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch
+++ b/meta/recipes-core/glibc/glibc/0020-eglibc-cherry-picked-from.patch
@@ -1,7 +1,7 @@
-From 588d936b9aa65e7cc8b1eb2cad1d209087db43a9 Mon Sep 17 00:00:00 2001
+From 723a31d3e2627211b39fbcc08f75b3c23c4096c5 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Thu, 31 Dec 2015 15:10:33 -0800
-Subject: [PATCH 20/24] eglibc: cherry-picked from
+Subject: [PATCH 20/25] eglibc: cherry-picked from
 
 http://www.eglibc.org/archives/patches/msg00772.html
 
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 13 insertions(+), 1 deletion(-)
 
 diff --git a/resolv/res_libc.c b/resolv/res_libc.c
-index a8394e0..981ac7c 100644
+index a4b376f..3256e12 100644
 --- a/resolv/res_libc.c
 +++ b/resolv/res_libc.c
-@@ -18,6 +18,7 @@
+@@ -21,11 +21,13 @@
  #include <atomic.h>
  #include <limits.h>
  #include <sys/types.h>
@@ -26,15 +26,13 @@ index a8394e0..981ac7c 100644
  #include <netinet/in.h>
  #include <arpa/nameser.h>
  #include <resolv.h>
-@@ -28,6 +29,7 @@
-    out) since res_init() should go into libc.so but the rest of that
-    file should not.  */
+ #include <libc-lock.h>
  
 +__libc_lock_define_initialized (static, lock);
  extern unsigned long long int __res_initstamp attribute_hidden;
  /* We have atomic increment operations on 64-bit platforms.  */
  #if __WORDSIZE == 64
-@@ -35,7 +37,6 @@ extern unsigned long long int __res_initstamp attribute_hidden;
+@@ -33,7 +35,6 @@ extern unsigned long long int __res_initstamp attribute_hidden;
  # define atomicincunlock(lock) (void) 0
  # define atomicinc(var) catomic_increment (&(var))
  #else
@@ -42,7 +40,7 @@ index a8394e0..981ac7c 100644
  # define atomicinclock(lock) __libc_lock_lock (lock)
  # define atomicincunlock(lock) __libc_lock_unlock (lock)
  # define atomicinc(var) ++var
-@@ -94,7 +95,18 @@ res_init(void) {
+@@ -92,7 +93,18 @@ res_init(void) {
  int
  __res_maybe_init (res_state resp, int preinit)
  {
@@ -62,5 +60,5 @@ index a8394e0..981ac7c 100644
  			if (resp->nscount > 0)
  				__res_iclose (resp, true);
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch b/meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch
index 225f22f..8931c9e 100644
--- a/meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch
+++ b/meta/recipes-core/glibc/glibc/0021-eglibc-Clear-cache-lines-on-ppc8xx.patch
@@ -1,7 +1,7 @@
-From b74e34e6f53816ad57b13ba6fd70a97db1bc1eae Mon Sep 17 00:00:00 2001
+From 9699873820d0347c2f377f0d86bce615d87a5e47 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Thu, 31 Dec 2015 15:15:09 -0800
-Subject: [PATCH 21/24] eglibc: Clear cache lines on ppc8xx
+Subject: [PATCH 21/25] eglibc: Clear cache lines on ppc8xx
 
 2007-06-13  Nathan Sidwell  <nathan@codesourcery.com>
             Mark Shinwell  <shinwell@codesourcery.com>
@@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  2 files changed, 28 insertions(+), 2 deletions(-)
 
 diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
-index c2504ff..d50f1cb 100644
+index 98ec2b3..b384ae0 100644
 --- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
 +++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
 @@ -24,9 +24,21 @@ int __cache_line_size attribute_hidden;
@@ -48,7 +48,7 @@ index c2504ff..d50f1cb 100644
  	break;
  
 diff --git a/sysdeps/unix/sysv/linux/powerpc/libc-start.c b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
-index 209a16d..5d8572d 100644
+index 0efd297..8cc0ef8 100644
 --- a/sysdeps/unix/sysv/linux/powerpc/libc-start.c
 +++ b/sysdeps/unix/sysv/linux/powerpc/libc-start.c
 @@ -73,11 +73,25 @@ __libc_start_main (int argc, char **argv,
@@ -79,5 +79,5 @@ index 209a16d..5d8572d 100644
  	break;
  #ifndef SHARED
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch b/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch
index 88b20f6..f53f5ff 100644
--- a/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch
+++ b/meta/recipes-core/glibc/glibc/0022-eglibc-Resolve-__fpscr_values-on-SH4.patch
@@ -1,7 +1,7 @@
-From 8f483cb1f21ab6431ff99e8d30d56b91607ae918 Mon Sep 17 00:00:00 2001
+From 8904f4249c930d187e19c7e9d3e73c835d11e18f Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 00:55:53 +0000
-Subject: [PATCH 22/24] eglibc: Resolve __fpscr_values on SH4
+Subject: [PATCH 22/25] eglibc: Resolve __fpscr_values on SH4
 
 2010-09-29  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
             Andrew Stubbs  <ams@codesourcery.com>
@@ -33,7 +33,7 @@ index e0938c4..ca1d7da 100644
      # a*
      alphasort64;
 diff --git a/sysdeps/unix/sysv/linux/sh/sysdep.S b/sysdeps/unix/sysv/linux/sh/sysdep.S
-index a02b7e2..b9be326 100644
+index 0024d79..d1db7e4 100644
 --- a/sysdeps/unix/sysv/linux/sh/sysdep.S
 +++ b/sysdeps/unix/sysv/linux/sh/sysdep.S
 @@ -30,3 +30,14 @@ ENTRY (__syscall_error)
@@ -52,5 +52,5 @@ index a02b7e2..b9be326 100644
 +weak_alias (___fpscr_values, __fpscr_values)
 +
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch b/meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch
index d95ea3b..f985f3c 100644
--- a/meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch
+++ b/meta/recipes-core/glibc/glibc/0023-eglibc-Install-PIC-archives.patch
@@ -1,7 +1,7 @@
-From 58d424884eed7efde6c90af0cd7c6c37cf9b444a Mon Sep 17 00:00:00 2001
+From 1947f211fab4001e84bb52868cddbd401e597889 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:57:01 +0000
-Subject: [PATCH 23/24] eglibc: Install PIC archives
+Subject: [PATCH 23/25] eglibc: Install PIC archives
 
 Forward port from eglibc
 
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 40 insertions(+), 2 deletions(-)
 
 diff --git a/Makerules b/Makerules
-index fa24030..1ff4634 100644
+index 53eabfa..1cd2a53 100644
 --- a/Makerules
 +++ b/Makerules
 @@ -694,6 +694,9 @@ ifeq ($(build-shared),yes)
@@ -119,5 +119,5 @@ index fa24030..1ff4634 100644
  install-no-libc.a-nosubdir: install-bin-nosubdir install-bin-script-nosubdir \
  			    install-rootsbin-nosubdir install-sbin-nosubdir \
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0025-eglibc-Forward-port-cross-locale-generation-support.patch b/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch
similarity index 97%
rename from meta/recipes-core/glibc/glibc/0025-eglibc-Forward-port-cross-locale-generation-support.patch
rename to meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch
index 68d1119..c45b557 100644
--- a/meta/recipes-core/glibc/glibc/0025-eglibc-Forward-port-cross-locale-generation-support.patch
+++ b/meta/recipes-core/glibc/glibc/0024-eglibc-Forward-port-cross-locale-generation-support.patch
@@ -1,7 +1,7 @@
-From a5695930aec68b3f501e475d8705cddbb63f695e Mon Sep 17 00:00:00 2001
+From 11d7633178301add26a24657e2f1596a2f7dddce Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 18 Mar 2015 01:33:49 +0000
-Subject: [PATCH 25/25] eglibc: Forward port cross locale generation support
+Subject: [PATCH 24/25] eglibc: Forward port cross locale generation support
 
 Upstream-Status: Pending
 
@@ -23,7 +23,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  create mode 100644 locale/catnames.c
 
 diff --git a/locale/Makefile b/locale/Makefile
-index 75afbe1..d32523b 100644
+index c5379e6..c98c675 100644
 --- a/locale/Makefile
 +++ b/locale/Makefile
 @@ -25,7 +25,8 @@ include ../Makeconfig
@@ -91,7 +91,7 @@ index 0000000..9fad357
 +    [LC_ALL] = sizeof ("LC_ALL") - 1
 +  };
 diff --git a/locale/localeinfo.h b/locale/localeinfo.h
-index 789da44..4ac9249 100644
+index 94627f3..d0db77b 100644
 --- a/locale/localeinfo.h
 +++ b/locale/localeinfo.h
 @@ -224,7 +224,7 @@ __libc_tsd_define (extern, __locale_t, LOCALE)
@@ -104,7 +104,7 @@ index 789da44..4ac9249 100644
  # define NL_CURRENT_INDIRECT	1
  #endif
 diff --git a/locale/programs/charmap-dir.c b/locale/programs/charmap-dir.c
-index cf7adea..ef3b811 100644
+index 99fcd35..5e528dc 100644
 --- a/locale/programs/charmap-dir.c
 +++ b/locale/programs/charmap-dir.c
 @@ -19,7 +19,9 @@
@@ -150,7 +150,7 @@ index cf7adea..ef3b811 100644
    return NULL;
  }
 diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
-index dc0fe30..3c88c6d 100644
+index 1e125f6..3b2867f 100644
 --- a/locale/programs/ld-collate.c
 +++ b/locale/programs/ld-collate.c
 @@ -350,7 +350,7 @@ new_element (struct locale_collate_t *collate, const char *mbs, size_t mbslen,
@@ -199,7 +199,7 @@ index dc0fe30..3c88c6d 100644
  			 == runp->wcnext->wcs[runp->nwcs - 1] + 1));
  
 diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c
-index 3f464ef..b7b6b51 100644
+index 0fd141c..68136e6 100644
 --- a/locale/programs/ld-ctype.c
 +++ b/locale/programs/ld-ctype.c
 @@ -926,7 +926,7 @@ ctype_output (struct localedef_t *locale, const struct charmap_t *charmap,
@@ -281,7 +281,7 @@ index 3f464ef..b7b6b51 100644
  	      srunp = srunp->next;
  	    }
 diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
-index db490c6..75dc505 100644
+index 87531bc..5f2c266 100644
 --- a/locale/programs/ld-time.c
 +++ b/locale/programs/ld-time.c
 @@ -215,8 +215,10 @@ No definition for %s category found"), "LC_TIME"));
@@ -331,7 +331,7 @@ index db490c6..75dc505 100644
  		}
  	      else
  		time->era_entries[idx].wname =
-@@ -530,7 +532,16 @@ No definition for %s category found"), "LC_TIME"));
+@@ -534,7 +536,16 @@ No definition for %s category found"), "LC_TIME"));
    if (time->date_fmt == NULL)
      time->date_fmt = "%a %b %e %H:%M:%S %Z %Y";
    if (time->wdate_fmt == NULL)
@@ -350,7 +350,7 @@ index db490c6..75dc505 100644
  
  
 diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c
-index 2e05130..653b68c 100644
+index b885f65..0afb631 100644
 --- a/locale/programs/linereader.c
 +++ b/locale/programs/linereader.c
 @@ -595,7 +595,7 @@ get_string (struct linereader *lr, const struct charmap_t *charmap,
@@ -363,7 +363,7 @@ index 2e05130..653b68c 100644
    size_t bufmax = 56;
  
 diff --git a/locale/programs/localedef.c b/locale/programs/localedef.c
-index fd6ca51..328d36c 100644
+index 6becd9a..8ddd080 100644
 --- a/locale/programs/localedef.c
 +++ b/locale/programs/localedef.c
 @@ -114,6 +114,7 @@ void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
@@ -409,7 +409,7 @@ index fd6ca51..328d36c 100644
        force_output = 1;
        break;
 diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c
-index 33da52e..f790c4c 100644
+index 32f5cd2..02967b0 100644
 --- a/locale/programs/locfile.c
 +++ b/locale/programs/locfile.c
 @@ -544,6 +544,9 @@ compare_files (const char *filename1, const char *filename2, size_t size,
@@ -432,7 +432,7 @@ index 33da52e..f790c4c 100644
  
  /* Record that FILE's next element is the 32-bit integer VALUE.  */
 diff --git a/locale/programs/locfile.h b/locale/programs/locfile.h
-index 6fc441b..118b171 100644
+index a3dd904..2c7763a 100644
 --- a/locale/programs/locfile.h
 +++ b/locale/programs/locfile.h
 @@ -71,6 +71,8 @@ extern void write_all_categories (struct localedef_t *definitions,
@@ -521,7 +521,7 @@ index 6fc441b..118b171 100644
 +
  #endif /* locfile.h */
 diff --git a/locale/setlocale.c b/locale/setlocale.c
-index ead030d..b551332 100644
+index 69b3141..1cef0be 100644
 --- a/locale/setlocale.c
 +++ b/locale/setlocale.c
 @@ -64,36 +64,6 @@ static char *const _nl_current_used[] =
@@ -562,5 +562,5 @@ index ead030d..b551332 100644
  # define WEAK_POSTLOAD(postload) weak_extern (postload)
  #else
 -- 
-2.6.4
+2.8.2
 
diff --git a/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch b/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
new file mode 100644
index 0000000..9d60d02
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
@@ -0,0 +1,32 @@
+From 89ec25290d34413ce5c8ba6c378e31dbae3a37c0 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 20 Apr 2016 21:11:00 -0700
+Subject: [PATCH 25/25] Define DUMMY_LOCALE_T if not defined
+
+This is a hack to fix building the locale bits on an older
+CentOs 5.X machine
+
+Upstream-Status: Inappropriate [other]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ locale/programs/config.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/locale/programs/config.h b/locale/programs/config.h
+index f606365..0e5f8c3 100644
+--- a/locale/programs/config.h
++++ b/locale/programs/config.h
+@@ -19,6 +19,9 @@
+ #ifndef _LD_CONFIG_H
+ #define _LD_CONFIG_H	1
+ 
++#ifndef DUMMY_LOCALE_T
++#define DUMMY_LOCALE_T
++#endif
+ /* Use the internal textdomain used for libc messages.  */
+ #define PACKAGE _libc_intl_domainname
+ #ifndef VERSION
+-- 
+2.8.2
+
diff --git a/meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch b/meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
deleted file mode 100644
index 2b889a9..0000000
--- a/meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 97fe7f1b23ea1f17533884b8fa7f7eb40087d558 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 5 Jan 2016 17:50:00 -0800
-Subject: [PATCH] When disabling SSE,  make sure -fpmath is not set to use SSE
- either
-
-This fixes errors when we inject sse options through CFLAGS and now
-that we have -Werror turned on by default this warning turns to become
-error on x86
-
-gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -x c /dev/null -S
--mno-sse -mno-mmx
-
-generates warning
-/dev/null:1:0: warning: SSE instruction set disabled, using 387
-arithmetics
-
-where as
-
-gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -x c /dev/null -S
--mno-sse -mno-mmx -mfpmath=387
-
-Generates no warnings
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
-Upstream-Status: Submitted
-
- ChangeLog             | 5 +++++
- sysdeps/i386/Makefile | 2 +-
- 2 files changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile
-index 168512f..70153b3 100644
---- a/sysdeps/i386/Makefile
-+++ b/sysdeps/i386/Makefile
-@@ -89,7 +89,7 @@ ifeq ($(subdir),elf)
- # the first 3 mm/xmm/ymm/zmm registers are used to pass vector parameters
- # which must be preserved.
- CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
--		   -mno-sse -mno-mmx)
-+		   -mno-sse -mno-mmx -mfpmath=387)
- 
- tests-special += $(objpfx)tst-ld-sse-use.out
- $(objpfx)tst-ld-sse-use.out: ../sysdeps/i386/tst-ld-sse-use.sh $(objpfx)ld.so
--- 
-2.6.4
-
diff --git a/meta/recipes-core/glibc/glibc_2.23.bb b/meta/recipes-core/glibc/glibc_2.24.bb
similarity index 93%
rename from meta/recipes-core/glibc/glibc_2.23.bb
rename to meta/recipes-core/glibc/glibc_2.24.bb
index 18f4066..77630e3 100644
--- a/meta/recipes-core/glibc/glibc_2.23.bb
+++ b/meta/recipes-core/glibc/glibc_2.24.bb
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
 
 DEPENDS += "gperf-native"
 
-SRCREV ?= "e742928c1592b43db6809db4f39e67be151cdd27"
+SRCREV ?= "1ac3eaa6bcc473a56340c24511786ff48a91293e"
 
-SRCBRANCH ?= "release/${PV}/master"
+#SRCBRANCH ?= "release/${PV}/master"
+SRCBRANCH ?= "master"
 
 GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)"
@@ -34,8 +35,8 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
            file://0021-eglibc-Clear-cache-lines-on-ppc8xx.patch \
            file://0022-eglibc-Resolve-__fpscr_values-on-SH4.patch \
            file://0023-eglibc-Install-PIC-archives.patch \
-           file://0025-eglibc-Forward-port-cross-locale-generation-support.patch \
-           file://0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch \
+           file://0024-eglibc-Forward-port-cross-locale-generation-support.patch \
+           file://0025-Define-DUMMY_LOCALE_T-if-not-defined.patch \
 "
 
 SRC_URI += "\
@@ -59,8 +60,7 @@ PACKAGES_DYNAMIC = ""
 BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
 TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}"
 
-GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1"
-
+GLIBC_BROKEN_LOCALES = ""
 #
 # We will skip parsing glibc when target system C library selection is not glibc
 # this helps in easing out parsing for non-glibc system libraries
-- 
2.8.2



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

* [PATCH 2/6] python-native: Point to expat in native sysroot and add missing dep on expat-native
  2016-05-13 16:46 [PATCH 0/6] Glibc/gdb upgrade switch to gcc-6 as default Khem Raj
  2016-05-13 16:46 ` [PATCH 1/6] glibc: Add recipes for 2.24 release Khem Raj
@ 2016-05-13 16:46 ` Khem Raj
  2016-05-13 16:46 ` [PATCH 3/6] gdb: Upgrade to 7.11 Khem Raj
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 28+ messages in thread
From: Khem Raj @ 2016-05-13 16:46 UTC (permalink / raw)
  To: openembedded-core

This fixes inconsistency where expat dependency is
then depending upon build host having it or not having it

Fixes errors like
WARNING: renaming "pyexpat" since importing it failed: build/lib.linux-x86_64-2.7/pyexpat.so: undefined symbol: XML_SetCommentHandler

also reported here
https://dev.openwrt.org/ticket/20087

This work due to the fact that we use -isystem pointing to native sysroot
so the search order of native includedir is moved after buildhosts system
includdirs. Moment we replace it with -I, build falls apart

This also fixes the error

Caught exception: <type 'exceptions.ImportError'> ImportError('No module named _elementtree',)

where gobject-introspection-native fails to find _elementtree
which is only compiled if expat is available

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/python/python-native_2.7.11.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python-native_2.7.11.bb b/meta/recipes-devtools/python/python-native_2.7.11.bb
index 4c204a4..abb69fc 100644
--- a/meta/recipes-devtools/python/python-native_2.7.11.bb
+++ b/meta/recipes-devtools/python/python-native_2.7.11.bb
@@ -1,7 +1,7 @@
 require python.inc
 
 EXTRANATIVEPATH += "bzip2-native"
-DEPENDS = "openssl-native bzip2-replacement-native zlib-native readline-native sqlite3-native"
+DEPENDS = "openssl-native bzip2-replacement-native zlib-native readline-native sqlite3-native expat-native"
 PR = "${INC_PR}.1"
 
 SRC_URI += "\
@@ -27,7 +27,7 @@ inherit native
 
 RPROVIDES += "python-distutils-native python-compression-native python-textutils-native python-codecs-native python-core-native python-unittest-native"
 
-EXTRA_OECONF_append = " --bindir=${bindir}/${PN}"
+EXTRA_OECONF_append = " --bindir=${bindir}/${PN} --with-system-expat=${STAGING_DIR_HOST}"
 
 EXTRA_OEMAKE = '\
   BUILD_SYS="" \
-- 
2.8.2



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

* [PATCH 3/6] gdb: Upgrade to 7.11
  2016-05-13 16:46 [PATCH 0/6] Glibc/gdb upgrade switch to gcc-6 as default Khem Raj
  2016-05-13 16:46 ` [PATCH 1/6] glibc: Add recipes for 2.24 release Khem Raj
  2016-05-13 16:46 ` [PATCH 2/6] python-native: Point to expat in native sysroot and add missing dep on expat-native Khem Raj
@ 2016-05-13 16:46 ` Khem Raj
  2016-05-13 16:46 ` [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb Khem Raj
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 28+ messages in thread
From: Khem Raj @ 2016-05-13 16:46 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../gdb/{gdb-7.10.1.inc => gdb-7.11.inc}           |  0
 meta/recipes-devtools/gdb/gdb-common.inc           | 20 +++++++--
 ...nadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} |  0
 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb      |  4 --
 meta/recipes-devtools/gdb/gdb-cross_7.11.bb        |  2 +
 meta/recipes-devtools/gdb/gdb.inc                  | 10 -----
 .../gdb/0001-include-sys-types.h-for-mode_t.patch  | 10 ++---
 ...002-make-man-install-relative-to-DESTDIR.patch} |  8 ++--
 ...-linux-nat-Define-_ABIO32-if-not-defined.patch} |  8 ++--
 ...efine-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} | 11 ++---
 ...-support-for-Renesas-SH-sh4-architecture.patch} | 32 +++++++--------
 ...-libreadline.a-when-using-disable-static.patch} | 21 ++++++++--
 ...gidefs.h.patch => 0007-use-asm-sgidefs.h.patch} | 15 +++----
 ...0008-Use-exorted-definitions-of-SIGRTMIN.patch} | 44 +++++++++-----------
 ...AGS.patch => 0009-Change-order-of-CFLAGS.patch} | 18 ++++----
 .../0010-resolve-restrict-keyword-conflict.patch   | 48 ++++++++++++++++++++++
 .../gdb/{gdb_7.10.1.bb => gdb_7.11.bb}             |  1 +
 17 files changed, 156 insertions(+), 96 deletions(-)
 rename meta/recipes-devtools/gdb/{gdb-7.10.1.inc => gdb-7.11.inc} (100%)
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.10.1.bb => gdb-cross-canadian_7.11.bb} (100%)
 delete mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb
 create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.11.bb
 rename meta/recipes-devtools/gdb/gdb/{0001-make-man-install-relative-to-DESTDIR.patch => 0002-make-man-install-relative-to-DESTDIR.patch} (78%)
 rename meta/recipes-devtools/gdb/gdb/{0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch => 0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch} (84%)
 rename meta/recipes-devtools/gdb/gdb/{0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch => 0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch} (83%)
 rename meta/recipes-devtools/gdb/gdb/{0003-Add-support-for-Renesas-SH-sh4-architecture.patch => 0005-Add-support-for-Renesas-SH-sh4-architecture.patch} (97%)
 rename meta/recipes-devtools/gdb/gdb/{force-readline-static.patch => 0006-Dont-disable-libreadline.a-when-using-disable-static.patch} (67%)
 rename meta/recipes-devtools/gdb/gdb/{0001-use-asm-sgidefs.h.patch => 0007-use-asm-sgidefs.h.patch} (69%)
 rename meta/recipes-devtools/gdb/gdb/{0001-Use-exported-definitions-of-SIGRTMIN.patch => 0008-Use-exorted-definitions-of-SIGRTMIN.patch} (49%)
 rename meta/recipes-devtools/gdb/gdb/{0002-Change-order-of-CFLAGS.patch => 0009-Change-order-of-CFLAGS.patch} (69%)
 create mode 100644 meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
 rename meta/recipes-devtools/gdb/{gdb_7.10.1.bb => gdb_7.11.bb} (89%)

diff --git a/meta/recipes-devtools/gdb/gdb-7.10.1.inc b/meta/recipes-devtools/gdb/gdb-7.11.inc
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb-7.10.1.inc
rename to meta/recipes-devtools/gdb/gdb-7.11.inc
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 3260dbd..1d1cf8f 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -16,8 +16,6 @@ LTTNGUST_mips64eln32 = ""
 LTTNGUST_sh4 = ""
 LTTNGUST_libc-musl = ""
 
-INC_PR = "r0"
-
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 		file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \
 		file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
@@ -25,8 +23,22 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 
 inherit autotools texinfo
 
-SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
-          "
+SRCREV = "1a982b689ce4e20523bdf69e47fdd574c4f63934"
+
+SRC_URI = "git://sourceware.org/git/binutils-gdb.git;branch=gdb-7.11-branch \
+           file://0001-include-sys-types.h-for-mode_t.patch \
+           file://0002-make-man-install-relative-to-DESTDIR.patch \
+           file://0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \
+           file://0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \
+           file://0005-Add-support-for-Renesas-SH-sh4-architecture.patch \
+           file://0006-Dont-disable-libreadline.a-when-using-disable-static.patch \
+           file://0007-use-asm-sgidefs.h.patch \
+           file://0008-Use-exorted-definitions-of-SIGRTMIN.patch \
+           file://0009-Change-order-of-CFLAGS.patch \
+           file://0010-resolve-restrict-keyword-conflict.patch \
+"
+
+S = "${WORKDIR}/git"
 
 B = "${WORKDIR}/build-${TARGET_SYS}"
 
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.10.1.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.11.bb
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb-cross-canadian_7.10.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross-canadian_7.11.bb
diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb b/meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb
deleted file mode 100644
index 3a95cfb..0000000
--- a/meta/recipes-devtools/gdb/gdb-cross_7.10.1.bb
+++ /dev/null
@@ -1,4 +0,0 @@
-require gdb-cross.inc
-require gdb-${PV}.inc
-
-SRC_URI += "file://0001-make-man-install-relative-to-DESTDIR.patch"
diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.11.bb b/meta/recipes-devtools/gdb/gdb-cross_7.11.bb
new file mode 100644
index 0000000..50cf159
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb-cross_7.11.bb
@@ -0,0 +1,2 @@
+require gdb-cross.inc
+require gdb-${PV}.inc
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
index 5a2067e..52119a0 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -2,16 +2,6 @@ require gdb-common.inc
 
 inherit gettext
 
-SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
-           file://0002-Change-order-of-CFLAGS.patch \
-           file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \
-           file://0001-Use-exported-definitions-of-SIGRTMIN.patch \
-           file://0001-include-sys-types.h-for-mode_t.patch \
-           file://0001-use-asm-sgidefs.h.patch \
-           file://force-readline-static.patch \
-           file://0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch \
-           file://0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch \
-           "
 #LDFLAGS_append = " -s"
 #export CFLAGS_append=" -L${STAGING_LIBDIR}"
 
diff --git a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
index a0292e4..0042c00 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
+++ b/meta/recipes-devtools/gdb/gdb/0001-include-sys-types.h-for-mode_t.patch
@@ -1,7 +1,7 @@
-From acbee4edacb80b5eeaff2480712fe98e56443997 Mon Sep 17 00:00:00 2001
+From fddd7178915968acf680814411b8b3cb137d0587 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Tue, 19 Jan 2016 18:18:52 -0800
-Subject: [PATCH] include sys/types.h for mode_t
+Subject: [PATCH 01/10] include sys/types.h for mode_t
 
 mode_t is used in target.h, so we need to include sys/types.h to get the
 defintion
@@ -14,10 +14,10 @@ Upstream-Status: Pending
  1 file changed, 1 insertion(+)
 
 diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h
-index 9a40867..aaecab9 100644
+index 5af2051..f42c510 100644
 --- a/gdb/gdbserver/target.h
 +++ b/gdb/gdbserver/target.h
-@@ -27,6 +27,7 @@
+@@ -28,6 +28,7 @@
  #include "target/waitstatus.h"
  #include "mem-break.h"
  #include "btrace-common.h"
@@ -26,5 +26,5 @@ index 9a40867..aaecab9 100644
  struct emit_ops;
  struct buffer;
 -- 
-2.7.0
+2.8.2
 
diff --git a/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch b/meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch
similarity index 78%
rename from meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
rename to meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch
index 6996c18..defed62 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
+++ b/meta/recipes-devtools/gdb/gdb/0002-make-man-install-relative-to-DESTDIR.patch
@@ -1,7 +1,7 @@
-From 12b0506951460c3cc37d775478d024db3f95e9d8 Mon Sep 17 00:00:00 2001
+From 3229cb09033eeb5003a08d91fa9d43be8ba4c86b Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Mon, 2 Mar 2015 02:27:55 +0000
-Subject: [PATCH 1/3] make man install relative to DESTDIR
+Subject: [PATCH 02/10] make man install relative to DESTDIR
 
 Upstream-Status: Pending
 
@@ -11,7 +11,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/sim/common/Makefile.in b/sim/common/Makefile.in
-index d49a93b..2121c46 100644
+index a05f507..8d0fa64 100644
 --- a/sim/common/Makefile.in
 +++ b/sim/common/Makefile.in
 @@ -35,7 +35,7 @@ tooldir = $(libdir)/$(target_alias)
@@ -24,5 +24,5 @@ index d49a93b..2121c46 100644
  includedir = @includedir@
  
 -- 
-2.1.4
+2.8.2
 
diff --git a/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch b/meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
similarity index 84%
rename from meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
rename to meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
index 3173952..bac7939 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
+++ b/meta/recipes-devtools/gdb/gdb/0003-mips-linux-nat-Define-_ABIO32-if-not-defined.patch
@@ -1,7 +1,7 @@
-From e92f8932ef488de2a56db4299131ce6a4eb170bd Mon Sep 17 00:00:00 2001
+From 88e67caed662d8344c8db56176c9f1221e6cd2a2 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Wed, 23 Mar 2016 06:30:09 +0000
-Subject: [PATCH] mips-linux-nat: Define _ABIO32 if not defined
+Subject: [PATCH 03/10] mips-linux-nat: Define _ABIO32 if not defined
 
 This helps building gdb on mips64 on musl, since
 musl does not provide sgidefs.h this define is
@@ -17,7 +17,7 @@ Upstream-Status: Pending
  1 file changed, 5 insertions(+)
 
 diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
-index fd5c705..753f29d 100644
+index bfe9fcb..449b43a 100644
 --- a/gdb/mips-linux-nat.c
 +++ b/gdb/mips-linux-nat.c
 @@ -46,6 +46,11 @@
@@ -33,5 +33,5 @@ index fd5c705..753f29d 100644
     we'll clear this and use PTRACE_PEEKUSER instead.  */
  static int have_ptrace_regsets = 1;
 -- 
-1.8.3.1
+2.8.2
 
diff --git a/meta/recipes-devtools/gdb/gdb/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
similarity index 83%
rename from meta/recipes-devtools/gdb/gdb/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
rename to meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
index 342f1ce..a5fe2a2 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
+++ b/meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
@@ -1,7 +1,8 @@
-From 33a2cdb731298b73277507f01b9a21cd340c5b5c Mon Sep 17 00:00:00 2001
+From bec564eb454bc7fc6ecfcb573aa53040bf39c1d5 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Sat, 30 Apr 2016 16:46:03 +0000
-Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems
+Subject: [PATCH 04/10] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC
+ systems
 
 Upstream-Status: Pending
 
@@ -12,7 +13,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  2 files changed, 12 insertions(+)
 
 diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c
-index 188fac0..f71d5ab 100644
+index 2145c50..777905d 100644
 --- a/gdb/gdbserver/linux-ppc-low.c
 +++ b/gdb/gdbserver/linux-ppc-low.c
 @@ -21,7 +21,13 @@
@@ -30,7 +31,7 @@ index 188fac0..f71d5ab 100644
  #include "nat/ppc-linux.h"
  
 diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h
-index 0ff2223..c978daa 100644
+index 85fbcd8..cbec9c5 100644
 --- a/gdb/nat/ppc-linux.h
 +++ b/gdb/nat/ppc-linux.h
 @@ -18,7 +18,13 @@
@@ -48,5 +49,5 @@ index 0ff2223..c978daa 100644
  
  /* This sometimes isn't defined.  */
 -- 
-1.8.3.1
+2.8.2
 
diff --git a/meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch b/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch
similarity index 97%
rename from meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch
rename to meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch
index 4a3e22c..8809e6f 100644
--- a/meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch
+++ b/meta/recipes-devtools/gdb/gdb/0005-Add-support-for-Renesas-SH-sh4-architecture.patch
@@ -1,7 +1,7 @@
-From 407cb13cfb70697f45dfb761304e005e1ecbd0e9 Mon Sep 17 00:00:00 2001
+From 8c5fe58c5a0044ddb517a41b277ed27fb3d3bedc Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
 Date: Mon, 2 Mar 2015 02:31:12 +0000
-Subject: [PATCH 3/3] Add support for Renesas SH (sh4) architecture.
+Subject: [PATCH 05/10] Add support for Renesas SH (sh4) architecture.
 
 gdb (7.4-1~cvs20111117.2) experimental; urgency=low
  .
@@ -27,10 +27,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  11 files changed, 617 insertions(+), 29 deletions(-)
 
 diff --git a/gdb/Makefile.in b/gdb/Makefile.in
-index 7937801..63baf81 100644
+index ec2af52..df8e84d 100644
 --- a/gdb/Makefile.in
 +++ b/gdb/Makefile.in
-@@ -1707,6 +1707,7 @@ ALLDEPFILES = \
+@@ -1736,6 +1736,7 @@ ALLDEPFILES = \
  	score-tdep.c \
  	ser-go32.c ser-pipe.c ser-tcp.c ser-mingw.c \
  	sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \
@@ -39,10 +39,10 @@ index 7937801..63baf81 100644
  	solib-svr4.c \
  	sparc-linux-nat.c sparc-linux-tdep.c \
 diff --git a/gdb/configure.host b/gdb/configure.host
-index d07be4b..b6391c5 100644
+index ef265eb..322a1e2 100644
 --- a/gdb/configure.host
 +++ b/gdb/configure.host
-@@ -150,6 +150,7 @@ powerpc*-*-linux*)	gdb_host=linux ;;
+@@ -149,6 +149,7 @@ powerpc*-*-linux*)	gdb_host=linux ;;
  
  s390*-*-linux*)		gdb_host=linux ;;
  
@@ -51,7 +51,7 @@ index d07be4b..b6391c5 100644
  			gdb_host=nbsd ;;
  sh*-*-openbsd*)		gdb_host=nbsd ;;
 diff --git a/gdb/sh-linux-tdep.c b/gdb/sh-linux-tdep.c
-index 2ff2ee8..1a11262 100644
+index 2418d25..ac8ea9e 100644
 --- a/gdb/sh-linux-tdep.c
 +++ b/gdb/sh-linux-tdep.c
 @@ -18,14 +18,37 @@
@@ -599,7 +599,7 @@ index 2ff2ee8..1a11262 100644
  
    /* GNU/Linux uses SVR4-style shared libraries.  */
 diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
-index 82cf2f4..b443e46 100644
+index 336b48e..847b271 100644
 --- a/gdb/sh-tdep.c
 +++ b/gdb/sh-tdep.c
 @@ -21,6 +21,9 @@
@@ -702,7 +702,7 @@ index 82cf2f4..b443e46 100644
  
    if (regnum < SH_NUM_REGS && cache->saved_regs[regnum] != -1)
      return frame_unwind_got_memory (this_frame, regnum,
-@@ -2237,8 +2224,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch,
+@@ -2240,8 +2227,8 @@ sh_return_in_first_hidden_param_p (struct gdbarch *gdbarch,
  static struct gdbarch *
  sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
  {
@@ -712,7 +712,7 @@ index 82cf2f4..b443e46 100644
  
    /* SH5 is handled entirely in sh64-tdep.c.  */
    if (info.bfd_arch_info->mach == bfd_mach_sh5)
-@@ -2254,6 +2241,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
+@@ -2257,6 +2244,18 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
    tdep = XCNEW (struct gdbarch_tdep);
    gdbarch = gdbarch_alloc (&info, tdep);
  
@@ -731,7 +731,7 @@ index 82cf2f4..b443e46 100644
    set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
    set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT);
    set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
-@@ -2404,10 +2403,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
+@@ -2407,10 +2406,11 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
        break;
      }
  
@@ -745,7 +745,7 @@ index 82cf2f4..b443e46 100644
    frame_unwind_append_unwinder (gdbarch, &sh_frame_unwind);
  
 diff --git a/gdb/sh-tdep.h b/gdb/sh-tdep.h
-index fc671a5..699f59f 100644
+index 666968f..62c65b5 100644
 --- a/gdb/sh-tdep.h
 +++ b/gdb/sh-tdep.h
 @@ -21,6 +21,12 @@
@@ -828,10 +828,10 @@ index fc671a5..699f59f 100644
       where each general-purpose register is stored inside the associated
       core file section.  */
 diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp
-index 8854af0..ef44682 100644
+index 6d9aef8..5b66b42 100644
 --- a/gdb/testsuite/gdb.asm/asm-source.exp
 +++ b/gdb/testsuite/gdb.asm/asm-source.exp
-@@ -113,6 +113,11 @@ switch -glob -- [istarget] {
+@@ -116,6 +116,11 @@ switch -glob -- [istarget] {
              append link-flags " -m elf32ppc"
          }
      }
@@ -873,7 +873,7 @@ index 424e1b8..0de2e7b 100644
  void
  handle_USR1 (int sig)
 diff --git a/gdb/testsuite/gdb.base/annota3.c b/gdb/testsuite/gdb.base/annota3.c
-index 424e1b8..952aaf2 100644
+index 424e1b8..952aaf21 100644
 --- a/gdb/testsuite/gdb.base/annota3.c
 +++ b/gdb/testsuite/gdb.base/annota3.c
 @@ -1,6 +1,10 @@
@@ -917,5 +917,5 @@ index 7566068..1205a9b 100644
  static int count = 0;
  
 -- 
-2.1.4
+2.8.2
 
diff --git a/meta/recipes-devtools/gdb/gdb/force-readline-static.patch b/meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch
similarity index 67%
rename from meta/recipes-devtools/gdb/gdb/force-readline-static.patch
rename to meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch
index d34ee8c..394d26d 100644
--- a/meta/recipes-devtools/gdb/gdb/force-readline-static.patch
+++ b/meta/recipes-devtools/gdb/gdb/0006-Dont-disable-libreadline.a-when-using-disable-static.patch
@@ -1,3 +1,8 @@
+From f3932cb2960fd54655a448b13d5a5b80f356f8de Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 30 Apr 2016 15:25:03 -0700
+Subject: [PATCH 06/10] Dont disable libreadline.a when using --disable-static
+
 If gdb is configured with --disable-static then this is dutifully passed to
 readline which then disables libreadline.a, which causes a problem when gdb
 tries to link against that.
@@ -7,12 +12,17 @@ the sub-configure.
 
 Upstream-Status: Pending
 Signed-off-by: Ross Burton <ross.burton@intel.com>
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ Makefile.def | 3 ++-
+ Makefile.in  | 2 +-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
 
 diff --git a/Makefile.def b/Makefile.def
-index 4394188..05c661a 100644
+index ea8453e..0fc66c6 100644
 --- a/Makefile.def
 +++ b/Makefile.def
-@@ -100,7 +100,8 @@ host_modules= { module= libiconv;
+@@ -104,7 +104,8 @@ host_modules= { module= libiconv;
  		missing= install-html;
  		missing= install-info; };
  host_modules= { module= m4; };
@@ -23,10 +33,10 @@ index 4394188..05c661a 100644
  host_modules= { module= sim; };
  host_modules= { module= texinfo; no_install= true; };
 diff --git a/Makefile.in b/Makefile.in
-index 61e0ab6..837f36e 100644
+index 2733c4d..3e04e80 100644
 --- a/Makefile.in
 +++ b/Makefile.in
-@@ -24971,7 +24971,7 @@ configure-readline:
+@@ -25380,7 +25380,7 @@ configure-readline:
  	  $$s/$$module_srcdir/configure \
  	  --srcdir=$${topdir}/$$module_srcdir \
  	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
@@ -35,3 +45,6 @@ index 61e0ab6..837f36e 100644
  	  || exit 1
  @endif readline
  
+-- 
+2.8.2
+
diff --git a/meta/recipes-devtools/gdb/gdb/0001-use-asm-sgidefs.h.patch b/meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch
similarity index 69%
rename from meta/recipes-devtools/gdb/gdb/0001-use-asm-sgidefs.h.patch
rename to meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch
index eaec390..f32f8ee 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-use-asm-sgidefs.h.patch
+++ b/meta/recipes-devtools/gdb/gdb/0007-use-asm-sgidefs.h.patch
@@ -1,7 +1,7 @@
-From 677b5b56135141c0d259e370aacd0e11c810aa15 Mon Sep 17 00:00:00 2001
-From: Andre McCurdy <armccurdy@gmail.com>
-Date: Fri, 5 Feb 2016 14:00:00 -0800
-Subject: [PATCH] use <asm/sgidefs.h>
+From 048675a915a72989f2613386975730da016e7c5d Mon Sep 17 00:00:00 2001
+From: Andre McCurdy <amccurdy@gmail.com>
+Date: Sat, 30 Apr 2016 15:29:06 -0700
+Subject: [PATCH 07/10] use <asm/sgidefs.h>
 
 Build fix for MIPS with musl libc
 
@@ -13,12 +13,13 @@ instead.
 Upstream-Status: Pending
 
 Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
 ---
  gdb/mips-linux-nat.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
-index a36bb63..fd5c705 100644
+index 449b43a..09603da 100644
 --- a/gdb/mips-linux-nat.c
 +++ b/gdb/mips-linux-nat.c
 @@ -31,7 +31,7 @@
@@ -27,9 +28,9 @@ index a36bb63..fd5c705 100644
  
 -#include <sgidefs.h>
 +#include <asm/sgidefs.h>
- #include <sys/ptrace.h>
+ #include "nat/gdb_ptrace.h"
  #include <asm/ptrace.h>
  
 -- 
-1.9.1
+2.8.2
 
diff --git a/meta/recipes-devtools/gdb/gdb/0001-Use-exported-definitions-of-SIGRTMIN.patch b/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
similarity index 49%
rename from meta/recipes-devtools/gdb/gdb/0001-Use-exported-definitions-of-SIGRTMIN.patch
rename to meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
index 5f0c096..7e58b61 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-Use-exported-definitions-of-SIGRTMIN.patch
+++ b/meta/recipes-devtools/gdb/gdb/0008-Use-exorted-definitions-of-SIGRTMIN.patch
@@ -1,7 +1,7 @@
-From 2f97e89e9e4e5797d0d973e1d05c1f44c46b4912 Mon Sep 17 00:00:00 2001
+From e54ead9d81f4d38412751b815f909db3cb144bb1 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 5 Jun 2015 20:21:38 -0700
-Subject: [PATCH] Use exorted definitions of SIGRTMIN
+Date: Sat, 30 Apr 2016 15:31:40 -0700
+Subject: [PATCH 08/10] Use exorted definitions of SIGRTMIN
 
 Define W_STOPCODE if not defined already
 
@@ -11,38 +11,34 @@ may not provide them
 Fixes
 https://sourceware.org/bugzilla/show_bug.cgi?id=13012
 
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
 Upstream-Status: Submitted
 
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
  gdb/linux-nat.c     | 4 ++--
  gdb/nat/linux-nat.h | 4 ++++
  2 files changed, 6 insertions(+), 2 deletions(-)
 
 diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
-index 396c30c..50320ee 100644
+index 0829bcb..3b8a896 100644
 --- a/gdb/linux-nat.c
 +++ b/gdb/linux-nat.c
-@@ -4856,10 +4856,10 @@ lin_thread_get_thread_signals (sigset_t *set)
-      fortunately they don't change!  */
- 
-   if (restart == 0)
--    restart = __SIGRTMIN;
-+    restart = SIGRTMIN;
- 
-   if (cancel == 0)
--    cancel = __SIGRTMIN + 1;
-+    cancel = SIGRTMIN + 1;
- 
-   sigaddset (set, restart);
-   sigaddset (set, cancel);
+@@ -4845,6 +4845,6 @@ lin_thread_get_thread_signals (sigset_t *set)
+   /* NPTL reserves the first two RT signals, but does not provide any
+      way for the debugger to query the signal numbers - fortunately
+      they don't change.  */
+-  sigaddset (set, __SIGRTMIN);
+-  sigaddset (set, __SIGRTMIN + 1);
++  sigaddset (set, SIGRTMIN);
++  sigaddset (set, SIGRTMIN + 1);
+ }
 diff --git a/gdb/nat/linux-nat.h b/gdb/nat/linux-nat.h
-index 83a6d91..efbe0fd 100644
+index 2b485db..d058afc 100644
 --- a/gdb/nat/linux-nat.h
 +++ b/gdb/nat/linux-nat.h
-@@ -25,4 +25,8 @@
-    instead SIGTRAP with bit 7 set.  */
- #define SYSCALL_SIGTRAP (SIGTRAP | 0x80)
+@@ -85,4 +85,8 @@ extern enum target_stop_reason lwp_stop_reason (struct lwp_info *lwp);
+ 
+ extern void linux_stop_lwp (struct lwp_info *lwp);
  
 +#ifndef W_STOPCODE
 +#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
@@ -50,5 +46,5 @@ index 83a6d91..efbe0fd 100644
 +
  #endif /* LINUX_NAT_H */
 -- 
-2.1.4
+2.8.2
 
diff --git a/meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch b/meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch
similarity index 69%
rename from meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch
rename to meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch
index bccb45f..a230047 100644
--- a/meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch
+++ b/meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch
@@ -1,7 +1,7 @@
-From 262ccc4fdb2a3df0f16c61a807046964ae7729c9 Mon Sep 17 00:00:00 2001
+From ba0bbf887d4911ccee9df57cb13eafb1de34bb31 Mon Sep 17 00:00:00 2001
 From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 2 Mar 2015 02:29:23 +0000
-Subject: [PATCH 2/3] Change order of CFLAGS
+Date: Sat, 30 Apr 2016 15:35:39 -0700
+Subject: [PATCH 09/10] Change order of CFLAGS
 
 Lets us override Werror if need be
 
@@ -13,22 +13,22 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
-index 1ed2ec8..0cef95b 100644
+index 1e874e3..91e8550 100644
 --- a/gdb/gdbserver/Makefile.in
 +++ b/gdb/gdbserver/Makefile.in
-@@ -131,10 +131,10 @@ CFLAGS = @CFLAGS@
+@@ -138,10 +138,10 @@ CXXFLAGS = @CXXFLAGS@
  CPPFLAGS = @CPPFLAGS@
  
  # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
--INTERNAL_CFLAGS_BASE =  ${CFLAGS} ${GLOBAL_CFLAGS} \
-+INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \
+-INTERNAL_CFLAGS_BASE =  ${COMPILER_CFLAGS} ${GLOBAL_CFLAGS} \
++INTERNAL_CFLAGS_BASE =  ${GLOBAL_CFLAGS} \
  	${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS}
  INTERNAL_WARN_CFLAGS =  ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
 -INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
-+INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER
++INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${COMPILER_CFLAGS} -DGDBSERVER
  
  # LDFLAGS is specifically reserved for setting from the command line
  # when running make.
 -- 
-2.1.4
+2.8.2
 
diff --git a/meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch b/meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
new file mode 100644
index 0000000..16c34c7
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb/0010-resolve-restrict-keyword-conflict.patch
@@ -0,0 +1,48 @@
+From 5a9ccb8c0728b658fc4f7f0f7b36873c64274f10 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Tue, 10 May 2016 08:47:05 -0700
+Subject: [PATCH 10/10] resolve restrict keyword conflict
+
+GCC detects that we call 'restrict' as param name in function
+signatures and complains since both params are called 'restrict'
+therefore we use __restrict to denote the C99 keywork
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ gdb/gnulib/import/sys_time.in.h | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/gdb/gnulib/import/sys_time.in.h b/gdb/gnulib/import/sys_time.in.h
+index c556c5d..2a6107f 100644
+--- a/gdb/gnulib/import/sys_time.in.h
++++ b/gdb/gnulib/import/sys_time.in.h
+@@ -93,20 +93,20 @@ struct timeval
+ #   define gettimeofday rpl_gettimeofday
+ #  endif
+ _GL_FUNCDECL_RPL (gettimeofday, int,
+-                  (struct timeval *restrict, void *restrict)
++                  (struct timeval *__restrict, void *__restrict)
+                   _GL_ARG_NONNULL ((1)));
+ _GL_CXXALIAS_RPL (gettimeofday, int,
+-                  (struct timeval *restrict, void *restrict));
++                  (struct timeval *__restrict, void *__restrict));
+ # else
+ #  if !@HAVE_GETTIMEOFDAY@
+ _GL_FUNCDECL_SYS (gettimeofday, int,
+-                  (struct timeval *restrict, void *restrict)
++                  (struct timeval *__restrict, void *__restrict)
+                   _GL_ARG_NONNULL ((1)));
+ #  endif
+ /* Need to cast, because on glibc systems, by default, the second argument is
+                                                   struct timezone *.  */
+ _GL_CXXALIAS_SYS_CAST (gettimeofday, int,
+-                       (struct timeval *restrict, void *restrict));
++                       (struct timeval *__restrict, void *__restrict));
+ # endif
+ _GL_CXXALIASWARN (gettimeofday);
+ #elif defined GNULIB_POSIXCHECK
+-- 
+2.8.2
+
diff --git a/meta/recipes-devtools/gdb/gdb_7.10.1.bb b/meta/recipes-devtools/gdb/gdb_7.11.bb
similarity index 89%
rename from meta/recipes-devtools/gdb/gdb_7.10.1.bb
rename to meta/recipes-devtools/gdb/gdb_7.11.bb
index f897e12..ccc33b8 100644
--- a/meta/recipes-devtools/gdb/gdb_7.10.1.bb
+++ b/meta/recipes-devtools/gdb/gdb_7.11.bb
@@ -18,3 +18,4 @@ EOF
 		chmod +x ${WORKDIR}/python
 	fi
 }
+CFLAGS_append_libc-musl = " -Drpl_gettimeofday=gettimeofday"
-- 
2.8.2



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

* [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-13 16:46 [PATCH 0/6] Glibc/gdb upgrade switch to gcc-6 as default Khem Raj
                   ` (2 preceding siblings ...)
  2016-05-13 16:46 ` [PATCH 3/6] gdb: Upgrade to 7.11 Khem Raj
@ 2016-05-13 16:46 ` Khem Raj
  2016-05-15  7:03   ` Richard Purdie
  2016-05-13 16:46 ` [PATCH 5/6] linux-yocto/4.4: gcc6 build fixes (powerpc and mips) Khem Raj
  2016-05-13 16:46 ` [PATCH 6/6] feature-arm-vfp.inc: fix overzealous ARMPKGSFX_FPU modification Khem Raj
  5 siblings, 1 reply; 28+ messages in thread
From: Khem Raj @ 2016-05-13 16:46 UTC (permalink / raw)
  To: openembedded-core

gcc 6.1, glibc 2.24, gdb 7.11

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/distro/include/tcmode-default.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index c412420..d3a4351 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -22,11 +22,11 @@ PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial"
 PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial"
 PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
 
-GCCVERSION ?= "5.3%"
+GCCVERSION ?= "6.1%"
 SDKGCCVERSION ?= "${GCCVERSION}"
 BINUVERSION ?= "2.26%"
-GDBVERSION ?= "7.10%"
-GLIBCVERSION ?= "2.23"
+GDBVERSION ?= "7.11%"
+GLIBCVERSION ?= "2.24"
 UCLIBCVERSION ?= "1.0%"
 LINUXLIBCVERSION ?= "4.4"
 
-- 
2.8.2



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

* [PATCH 5/6] linux-yocto/4.4: gcc6 build fixes (powerpc and mips)
  2016-05-13 16:46 [PATCH 0/6] Glibc/gdb upgrade switch to gcc-6 as default Khem Raj
                   ` (3 preceding siblings ...)
  2016-05-13 16:46 ` [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb Khem Raj
@ 2016-05-13 16:46 ` Khem Raj
  2016-05-13 16:46 ` [PATCH 6/6] feature-arm-vfp.inc: fix overzealous ARMPKGSFX_FPU modification Khem Raj
  5 siblings, 0 replies; 28+ messages in thread
From: Khem Raj @ 2016-05-13 16:46 UTC (permalink / raw)
  To: openembedded-core; +Cc: Bruce Ashfield

From: Bruce Ashfield <bruce.ashfield@windriver.com>

Khem provided fixes to fix gcc6 build issues, these are safe for
all gcc versions, so we integrate them directly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb   |  4 ++--
 meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb |  4 ++--
 meta/recipes-kernel/linux/linux-yocto_4.4.bb      | 18 +++++++++---------
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
index 5e39374..feef29f 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb
@@ -2,8 +2,8 @@ KBRANCH ?= "standard/preempt-rt"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-SRCREV_machine ?= "449fe1dca2c1f972f1ec02091a20691f3e19a28b"
-SRCREV_meta ?= "b7ce076447c0e3cc07f8d3ed4a11070fdeae41e6"
+SRCREV_machine ?= "7ef3fe56827bd9c20021e3a52bc36ebd4c6b2ce3"
+SRCREV_meta ?= "d6ee402d461048cf1afd10375fee5769c06d21d6"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb
index abafe75..93ffe18 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.4.bb
@@ -9,8 +9,8 @@ LINUX_VERSION ?= "4.4.10"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f"
-SRCREV_meta ?= "b7ce076447c0e3cc07f8d3ed4a11070fdeae41e6"
+SRCREV_machine ?= "578ff2a88676d20439dbf3877768370d06a22d8f"
+SRCREV_meta ?= "d6ee402d461048cf1afd10375fee5769c06d21d6"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.4.bb b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
index a665b5c..a98f9fa 100644
--- a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
@@ -11,15 +11,15 @@ KBRANCH_qemux86  ?= "standard/base"
 KBRANCH_qemux86-64 ?= "standard/base"
 KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "bdda97014e55200e704ecd8d112da09176dcb7dc"
-SRCREV_machine_qemuarm64 ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f"
-SRCREV_machine_qemumips ?= "f60887555f78ae5f5338d41181e848082109429b"
-SRCREV_machine_qemuppc ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f"
-SRCREV_machine_qemux86 ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f"
-SRCREV_machine_qemux86-64 ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f"
-SRCREV_machine_qemumips64 ?= "b783512062c5081fa9b01e89e811d0508e62895f"
-SRCREV_machine ?= "fe7ff38448d530db27ac31cbb086cb6fdf94bb7f"
-SRCREV_meta ?= "b7ce076447c0e3cc07f8d3ed4a11070fdeae41e6"
+SRCREV_machine_qemuarm ?= "1d343b327d97843de4a32fda9015bc87a46dea9b"
+SRCREV_machine_qemuarm64 ?= "578ff2a88676d20439dbf3877768370d06a22d8f"
+SRCREV_machine_qemumips ?= "f89dd8336dcb0b7bf0291aee7ee33531564ea3b5"
+SRCREV_machine_qemuppc ?= "578ff2a88676d20439dbf3877768370d06a22d8f"
+SRCREV_machine_qemux86 ?= "578ff2a88676d20439dbf3877768370d06a22d8f"
+SRCREV_machine_qemux86-64 ?= "578ff2a88676d20439dbf3877768370d06a22d8f"
+SRCREV_machine_qemumips64 ?= "5faa3c8de491435842024b24b6a95fccdbe3f72a"
+SRCREV_machine ?= "578ff2a88676d20439dbf3877768370d06a22d8f"
+SRCREV_meta ?= "d6ee402d461048cf1afd10375fee5769c06d21d6"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}"
-- 
2.8.2



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

* [PATCH 6/6] feature-arm-vfp.inc: fix overzealous ARMPKGSFX_FPU modification
  2016-05-13 16:46 [PATCH 0/6] Glibc/gdb upgrade switch to gcc-6 as default Khem Raj
                   ` (4 preceding siblings ...)
  2016-05-13 16:46 ` [PATCH 5/6] linux-yocto/4.4: gcc6 build fixes (powerpc and mips) Khem Raj
@ 2016-05-13 16:46 ` Khem Raj
  5 siblings, 0 replies; 28+ messages in thread
From: Khem Raj @ 2016-05-13 16:46 UTC (permalink / raw)
  To: openembedded-core

From: André Draszik <git@andred.net>

Since commit 972b4fc (feature-arm-neon.inc: restore vfpv3-d16 support)
we're replacing _all_ dashes (-) in ARMPKGSFX_FPU, which is causing
problems for all legitimate uses of the dash as TUNE_PKGARCH doesn't
have the right value anymore:

E.g. on raspberrypi2:

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Error, the PACKAGE_ARCHS variable (all any noarch armv5hf-vfp armv5thf-vfp
armv5ehf-vfp armv5tehf-vfp armv6hf-vfp armv6thf-vfp armv7ahf-vfp
armv7at2hf-vfp armv7vehf-vfp armv7vet2hf-vfp armv7vehf-neon armv7vet2hf-neon
armv7vehf-neon-vfpv4 armv7vet2hf-neon-vfpv4 cortexa7hf-vfp cortexa7hf-neon
cortexa7hf-neon-vfpv4 cortexa7t2hf-vfp cortexa7t2hf-neon
cortexa7t2hf-neon-vfpv4 raspberrypi3) for DEFAULTTUNE (cortexa7thf-neon-vfpv4)
does not contain TUNE_PKGARCH (cortexa7hf-neonvfpv4).

Fix this by being more explicit about what we're modifying.

Reported-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/machine/include/arm/feature-arm-vfp.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/machine/include/arm/feature-arm-vfp.inc b/meta/conf/machine/include/arm/feature-arm-vfp.inc
index bd366a1..9ef31e7 100644
--- a/meta/conf/machine/include/arm/feature-arm-vfp.inc
+++ b/meta/conf/machine/include/arm/feature-arm-vfp.inc
@@ -6,7 +6,7 @@ TUNEVALID[vfp] = "Enable Vector Floating Point (vfp) unit."
 TUNE_CCARGS_MFPU .= "${@bb.utils.contains('TUNE_FEATURES', 'vfp', ' vfp', '', d)}"
 
 TUNE_CCARGS  .= "${@ (' -mfpu=%s ' % d.getVar('TUNE_CCARGS_MFPU', True).split()[-1]) if (d.getVar('TUNE_CCARGS_MFPU', True) != '') else ''}"
-ARMPKGSFX_FPU = "${@ ('-%s'        % d.getVar('TUNE_CCARGS_MFPU', True).split()[-1].replace('-', '')) if (d.getVar('TUNE_CCARGS_MFPU', True) != '') else ''}"
+ARMPKGSFX_FPU = "${@ ('-%s'        % d.getVar('TUNE_CCARGS_MFPU', True).split()[-1].replace('vfpv3-d16', 'vfpv3d16')) if (d.getVar('TUNE_CCARGS_MFPU', True) != '') else ''}"
 
 TUNEVALID[callconvention-hard] = "Enable EABI hard float call convention, requires VFP."
 TUNE_CCARGS_MFLOAT = "${@ bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'hard', 'softfp', d) if (d.getVar('TUNE_CCARGS_MFPU', True) != '') else '' }"
-- 
2.8.2



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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-13 16:46 ` [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb Khem Raj
@ 2016-05-15  7:03   ` Richard Purdie
  2016-05-15  9:25     ` Khem Raj
  2016-05-24 14:51     ` Richard Purdie
  0 siblings, 2 replies; 28+ messages in thread
From: Richard Purdie @ 2016-05-15  7:03 UTC (permalink / raw)
  To: Khem Raj, openembedded-core, Ashfield, Bruce

On Fri, 2016-05-13 at 09:46 -0700, Khem Raj wrote:
> gcc 6.1, glibc 2.24, gdb 7.11
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/conf/distro/include/tcmode-default.inc | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

I'll merge most of this series however before we can move to gcc6 by
default there are some remaining issues:

https://autobuilder.yoctoproject.org/main/builders/nightly-x86-64-lsb/b
uilds/788/steps/BuildImages/logs/stdio

qt4-x11-free fails to compile
linux-yocto 4.1 also fails

(on qemux86-64, qemux86, qemuppc, qemumips, qemuarm)

https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/7
78/steps/BuildImages_1/logs/stdio

linux-yocto 4.4 fails on ppc

https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/bui
lds/768/steps/BuildImages/logs/stdio

non-GPLv3 on elfutils and diffutils

(There may be other failures too, the build hasn't completed yet)

We'll need to come up with a plan to address these issues (possibly
upgrades for some of the kernels?) before we can change the defaults.

Cheers,

Richard




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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-15  7:03   ` Richard Purdie
@ 2016-05-15  9:25     ` Khem Raj
  2016-05-16 12:49       ` Bruce Ashfield
  2016-05-24 14:51     ` Richard Purdie
  1 sibling, 1 reply; 28+ messages in thread
From: Khem Raj @ 2016-05-15  9:25 UTC (permalink / raw)
  To: Richard Purdie
  Cc: Ashfield, Bruce, Patches and discussions about the oe-core layer

On Sun, May 15, 2016 at 12:03 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Fri, 2016-05-13 at 09:46 -0700, Khem Raj wrote:
>> gcc 6.1, glibc 2.24, gdb 7.11
>>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  meta/conf/distro/include/tcmode-default.inc | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> I'll merge most of this series however before we can move to gcc6 by
> default there are some remaining issues:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-x86-64-lsb/b
> uilds/788/steps/BuildImages/logs/stdio
>
> qt4-x11-free fails to compile

This can be fixed easily. I will see if I can cook up one.

> linux-yocto 4.1 also fails

I am sure if we upgrade to latest point release of 4.1 then most of
fixes may be available.
but there are more than 1 fixes that would require backport

>
> (on qemux86-64, qemux86, qemuppc, qemumips, qemuarm)
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/7
> 78/steps/BuildImages_1/logs/stdio
>
> linux-yocto 4.4 fails on ppc
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/bui
> lds/768/steps/BuildImages/logs/stdio

This patch https://patchwork.ozlabs.org/patch/614548/ is required and
I gave pointers for that to Bruce
and was hoping that with
http://git.openembedded.org/openembedded-core/commit/?id=f1c75b93a4e11425e595c5ce043fbb0276a41931
the above fix is bundled in but Bruce might be able to conform.


>
> non-GPLv3 on elfutils and diffutils

Yes, now, I wonder if we can backport fixes from newer versions and
still call it GPL-2 without getting
consent from patch authors. This is going to be a bit twisted.

>
> (There may be other failures too, the build hasn't completed yet)
>
> We'll need to come up with a plan to address these issues (possibly
> upgrades for some of the kernels?) before we can change the defaults.
>
> Cheers,
>
> Richard
>
>


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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-15  9:25     ` Khem Raj
@ 2016-05-16 12:49       ` Bruce Ashfield
  2016-05-16 13:38         ` Bruce Ashfield
  0 siblings, 1 reply; 28+ messages in thread
From: Bruce Ashfield @ 2016-05-16 12:49 UTC (permalink / raw)
  To: Khem Raj, Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On 2016-05-15 5:25 AM, Khem Raj wrote:
> On Sun, May 15, 2016 at 12:03 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>> On Fri, 2016-05-13 at 09:46 -0700, Khem Raj wrote:
>>> gcc 6.1, glibc 2.24, gdb 7.11
>>>
>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>> ---
>>>  meta/conf/distro/include/tcmode-default.inc | 6 +++---
>>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> I'll merge most of this series however before we can move to gcc6 by
>> default there are some remaining issues:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-x86-64-lsb/b
>> uilds/788/steps/BuildImages/logs/stdio
>>
>> qt4-x11-free fails to compile
>
> This can be fixed easily. I will see if I can cook up one.
>
>> linux-yocto 4.1 also fails
>
> I am sure if we upgrade to latest point release of 4.1 then most of
> fixes may be available.
> but there are more than 1 fixes that would require backport

Two 4.1 -stable updates came out just recently. I already have them
queued here. I'll send them along today .. will have a scan to see if
the gcc6 changes were picked up by the maintainer.

>
>>
>> (on qemux86-64, qemux86, qemuppc, qemumips, qemuarm)
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/7
>> 78/steps/BuildImages_1/logs/stdio
>>
>> linux-yocto 4.4 fails on ppc
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/bui
>> lds/768/steps/BuildImages/logs/stdio
>
> This patch https://patchwork.ozlabs.org/patch/614548/ is required and
> I gave pointers for that to Bruce
> and was hoping that with
> http://git.openembedded.org/openembedded-core/commit/?id=f1c75b93a4e11425e595c5ce043fbb0276a41931
> the above fix is bundled in but Bruce might be able to conform.
>

Confirmed that the fix is in that commit. In linux-yocto:

Author: Khem Raj <raj.khem@gmail.com>
Date:   Mon Apr 25 05:47:01 2016 +0000

     powerpc/ptrace: Fix out of bounds array access warning

     gcc-6 correctly warns about a out of bounds access

     arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes an 
offset greater than size of 'u64[32][1] {aka long long unsigned 
int[32][1]}' [-Warray-bounds]
             offsetof(struct thread_fp_state, fpr[32][0]));
                             ^

     check the end of array instead of beginning of next element to fix this

     Signed-off-by: Khem Raj <raj.khem@gmail.com>
     Cc: Kees Cook <keescook@chromium.org>
     Cc: Michael Ellerman <mpe@ellerman.id.au>
     Cc: Segher Boessenkool <segher@kernel.crashing.org>
     Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

All the branches have that commit now, and it is covered by that SRCREV
bump. So there's something else lurking for ppc.

Bruce

>
>>
>> non-GPLv3 on elfutils and diffutils
>
> Yes, now, I wonder if we can backport fixes from newer versions and
> still call it GPL-2 without getting
> consent from patch authors. This is going to be a bit twisted.
>
>>
>> (There may be other failures too, the build hasn't completed yet)
>>
>> We'll need to come up with a plan to address these issues (possibly
>> upgrades for some of the kernels?) before we can change the defaults.
>>
>> Cheers,
>>
>> Richard
>>
>>



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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-16 12:49       ` Bruce Ashfield
@ 2016-05-16 13:38         ` Bruce Ashfield
  0 siblings, 0 replies; 28+ messages in thread
From: Bruce Ashfield @ 2016-05-16 13:38 UTC (permalink / raw)
  To: Khem Raj, Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On 2016-05-16 8:49 AM, Bruce Ashfield wrote:
> On 2016-05-15 5:25 AM, Khem Raj wrote:
>> On Sun, May 15, 2016 at 12:03 AM, Richard Purdie
>> <richard.purdie@linuxfoundation.org> wrote:
>>> On Fri, 2016-05-13 at 09:46 -0700, Khem Raj wrote:
>>>> gcc 6.1, glibc 2.24, gdb 7.11
>>>>
>>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>>> ---
>>>>  meta/conf/distro/include/tcmode-default.inc | 6 +++---
>>>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>>
>>> I'll merge most of this series however before we can move to gcc6 by
>>> default there are some remaining issues:
>>>
>>> https://autobuilder.yoctoproject.org/main/builders/nightly-x86-64-lsb/b
>>> uilds/788/steps/BuildImages/logs/stdio
>>>
>>> qt4-x11-free fails to compile
>>
>> This can be fixed easily. I will see if I can cook up one.
>>
>>> linux-yocto 4.1 also fails
>>
>> I am sure if we upgrade to latest point release of 4.1 then most of
>> fixes may be available.
>> but there are more than 1 fixes that would require backport
>
> Two 4.1 -stable updates came out just recently. I already have them
> queued here. I'll send them along today .. will have a scan to see if
> the gcc6 changes were picked up by the maintainer.

FYI: I checked and there are no gcc6 changes (that I can see) in
the 4.1 -stable updates to v4.1.24.

Bruce

>
>>
>>>
>>> (on qemux86-64, qemux86, qemuppc, qemumips, qemuarm)
>>>
>>> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/7
>>> 78/steps/BuildImages_1/logs/stdio
>>>
>>> linux-yocto 4.4 fails on ppc
>>>
>>> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/bui
>>> lds/768/steps/BuildImages/logs/stdio
>>
>> This patch https://patchwork.ozlabs.org/patch/614548/ is required and
>> I gave pointers for that to Bruce
>> and was hoping that with
>> http://git.openembedded.org/openembedded-core/commit/?id=f1c75b93a4e11425e595c5ce043fbb0276a41931
>>
>> the above fix is bundled in but Bruce might be able to conform.
>>
>
> Confirmed that the fix is in that commit. In linux-yocto:
>
> Author: Khem Raj <raj.khem@gmail.com>
> Date:   Mon Apr 25 05:47:01 2016 +0000
>
>     powerpc/ptrace: Fix out of bounds array access warning
>
>     gcc-6 correctly warns about a out of bounds access
>
>     arch/powerpc/kernel/ptrace.c:407:24: warning: index 32 denotes an
> offset greater than size of 'u64[32][1] {aka long long unsigned
> int[32][1]}' [-Warray-bounds]
>             offsetof(struct thread_fp_state, fpr[32][0]));
>                             ^
>
>     check the end of array instead of beginning of next element to fix this
>
>     Signed-off-by: Khem Raj <raj.khem@gmail.com>
>     Cc: Kees Cook <keescook@chromium.org>
>     Cc: Michael Ellerman <mpe@ellerman.id.au>
>     Cc: Segher Boessenkool <segher@kernel.crashing.org>
>     Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
>
> All the branches have that commit now, and it is covered by that SRCREV
> bump. So there's something else lurking for ppc.
>
> Bruce
>
>>
>>>
>>> non-GPLv3 on elfutils and diffutils
>>
>> Yes, now, I wonder if we can backport fixes from newer versions and
>> still call it GPL-2 without getting
>> consent from patch authors. This is going to be a bit twisted.
>>
>>>
>>> (There may be other failures too, the build hasn't completed yet)
>>>
>>> We'll need to come up with a plan to address these issues (possibly
>>> upgrades for some of the kernels?) before we can change the defaults.
>>>
>>> Cheers,
>>>
>>> Richard
>>>
>>>
>



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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-15  7:03   ` Richard Purdie
  2016-05-15  9:25     ` Khem Raj
@ 2016-05-24 14:51     ` Richard Purdie
  2016-05-24 15:51       ` Bruce Ashfield
  2016-05-24 18:18       ` Khem Raj
  1 sibling, 2 replies; 28+ messages in thread
From: Richard Purdie @ 2016-05-24 14:51 UTC (permalink / raw)
  To: Khem Raj, openembedded-core, Ashfield, Bruce

On Sun, 2016-05-15 at 08:03 +0100, Richard Purdie wrote:
> On Fri, 2016-05-13 at 09:46 -0700, Khem Raj wrote:
> > gcc 6.1, glibc 2.24, gdb 7.11
> > 
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta/conf/distro/include/tcmode-default.inc | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> I'll merge most of this series however before we can move to gcc6 by
> default there are some remaining issues:
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-x86-64-lsb
> /b
> uilds/788/steps/BuildImages/logs/stdio
> 
> qt4-x11-free fails to compile
> linux-yocto 4.1 also fails

I just retested gcc6 and the above is still happening and has also been
joined by a xdg-utils do_compile failure.

> (on qemux86-64, qemux86, qemuppc, qemumips, qemuarm)
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds
> /7
> 78/steps/BuildImages_1/logs/stdio
> 
> linux-yocto 4.4 fails on ppc
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/b
> ui
> lds/768/steps/BuildImages/logs/stdio
> 
> non-GPLv3 on elfutils and diffutils

Khem fixed elfutils, thanks! diffutils still breaks though.

I really can't merge the gcc upgrade until these get fixed one way or
another...

Cheers,

Richard


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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-24 14:51     ` Richard Purdie
@ 2016-05-24 15:51       ` Bruce Ashfield
  2016-05-24 18:18       ` Khem Raj
  1 sibling, 0 replies; 28+ messages in thread
From: Bruce Ashfield @ 2016-05-24 15:51 UTC (permalink / raw)
  To: Richard Purdie, Khem Raj, openembedded-core

On 2016-05-24 10:51 AM, Richard Purdie wrote:
> On Sun, 2016-05-15 at 08:03 +0100, Richard Purdie wrote:
>> On Fri, 2016-05-13 at 09:46 -0700, Khem Raj wrote:
>>> gcc 6.1, glibc 2.24, gdb 7.11
>>>
>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>> ---
>>>  meta/conf/distro/include/tcmode-default.inc | 6 +++---
>>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> I'll merge most of this series however before we can move to gcc6 by
>> default there are some remaining issues:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-x86-64-lsb
>> /b
>> uilds/788/steps/BuildImages/logs/stdio
>>
>> qt4-x11-free fails to compile
>> linux-yocto 4.1 also fails
>
> I just retested gcc6 and the above is still happening and has also been
> joined by a xdg-utils do_compile failure.

For the gcc6 include failure 4.1.23 and 4.1.24 have the compiler.h fix.
I have that pushed to linux-yocto-4.1 already and will send the SRCREV
bumps shortly.

Bruce

>
>> (on qemux86-64, qemux86, qemuppc, qemumips, qemuarm)
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds
>> /7
>> 78/steps/BuildImages_1/logs/stdio
>>
>> linux-yocto 4.4 fails on ppc
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/b
>> ui
>> lds/768/steps/BuildImages/logs/stdio
>>
>> non-GPLv3 on elfutils and diffutils
>
> Khem fixed elfutils, thanks! diffutils still breaks though.
>
> I really can't merge the gcc upgrade until these get fixed one way or
> another...
>
> Cheers,
>
> Richard
>



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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-24 14:51     ` Richard Purdie
  2016-05-24 15:51       ` Bruce Ashfield
@ 2016-05-24 18:18       ` Khem Raj
  2016-05-25  6:39         ` Richard Purdie
  1 sibling, 1 reply; 28+ messages in thread
From: Khem Raj @ 2016-05-24 18:18 UTC (permalink / raw)
  To: Richard Purdie
  Cc: Ashfield, Bruce, Patches and discussions about the oe-core layer

On Tue, May 24, 2016 at 5:51 PM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Sun, 2016-05-15 at 08:03 +0100, Richard Purdie wrote:
>> On Fri, 2016-05-13 at 09:46 -0700, Khem Raj wrote:
>> > gcc 6.1, glibc 2.24, gdb 7.11
>> >
>> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> > ---
>> >  meta/conf/distro/include/tcmode-default.inc | 6 +++---
>> >  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> I'll merge most of this series however before we can move to gcc6 by
>> default there are some remaining issues:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-x86-64-lsb
>> /b
>> uilds/788/steps/BuildImages/logs/stdio
>>
>> qt4-x11-free fails to compile
>> linux-yocto 4.1 also fails
>
> I just retested gcc6 and the above is still happening and has also been
> joined by a xdg-utils do_compile failure.

This must be new. did someone push xdg-utils upgrades or something ?

>
>> (on qemux86-64, qemux86, qemuppc, qemumips, qemuarm)
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds
>> /7
>> 78/steps/BuildImages_1/logs/stdio
>>
>> linux-yocto 4.4 fails on ppc
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/b
>> ui
>> lds/768/steps/BuildImages/logs/stdio
>>
>> non-GPLv3 on elfutils and diffutils
>
> Khem fixed elfutils, thanks! diffutils still breaks though.

I could not reproduce the diffutils failure.

>
> I really can't merge the gcc upgrade until these get fixed one way or
> another...
>
> Cheers,
>
> Richard


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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-24 18:18       ` Khem Raj
@ 2016-05-25  6:39         ` Richard Purdie
  2016-05-25  8:23           ` Khem Raj
                             ` (2 more replies)
  0 siblings, 3 replies; 28+ messages in thread
From: Richard Purdie @ 2016-05-25  6:39 UTC (permalink / raw)
  To: Khem Raj; +Cc: Ashfield, Bruce, Patches and discussions about the oe-core layer

Thanks to the patches from Bruce we're looking better, linux-yocto 4.1
works, just 4.4 has a couple of issues. I also removed a patch which
removed the xdg-utils failure. That leaves us with:

qt4-x11-free:

arm, mips, ppc, world-lsb, x86, x86_64:
https://autobuilder.yoctoproject.org/main/builders/nightly-arm-lsb/buil
ds/767/steps/BuildImages/logs/stdio

qt4-embedded:

https://autobuilder.yoctoproject.org/main/builders/nightly-world-lsb/bu
ilds/520/steps/BuildImages/logs/stdio

linux-yocto-4.4 mips:

https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/
795/steps/BuildImages_1/logs/stdio

linux-yocto-4.4 ppc:

https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/8
07/steps/BuildImages_1/logs/stdio

diffutils - non-gplv3:

https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/bui
lds/797

Bruce: Looks like 4.4 might also need a patch you merged to 4.1?

Cheers,

Richard


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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-25  6:39         ` Richard Purdie
@ 2016-05-25  8:23           ` Khem Raj
  2016-05-25 12:03             ` Bruce Ashfield
  2016-05-25 12:01           ` Bruce Ashfield
  2016-05-25 12:32           ` Bruce Ashfield
  2 siblings, 1 reply; 28+ messages in thread
From: Khem Raj @ 2016-05-25  8:23 UTC (permalink / raw)
  To: Richard Purdie
  Cc: Ashfield, Bruce, Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]


> On May 25, 2016, at 9:39 AM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
> 
> Thanks to the patches from Bruce we're looking better, linux-yocto 4.1
> works, just 4.4 has a couple of issues. I also removed a patch which
> removed the xdg-utils failure. That leaves us with:
> 
> qt4-x11-free:
> 
> arm, mips, ppc, world-lsb, x86, x86_64:
> https://autobuilder.yoctoproject.org/main/builders/nightly-arm-lsb/buil
> ds/767/steps/BuildImages/logs/stdio
> 
> qt4-embedded:
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-world-lsb/bu
> ilds/520/steps/BuildImages/logs/stdio


I have posted patches for this to yocto ml [meta-qt4] see
https://www.mail-archive.com/yocto@yoctoproject.org/msg29319.html

please apply them

> 
> linux-yocto-4.4 mips:
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/
> 795/steps/BuildImages_1/logs/stdio
> 
> linux-yocto-4.4 ppc:
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/8
> 07/steps/BuildImages_1/logs/stdio

It seems Bruce did not apply my patches to kernel.

> 
> diffutils - non-gplv3:
> 
> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/bui
> lds/797

I can’t reproduce it locally.

> 
> Bruce: Looks like 4.4 might also need a patch you merged to 4.1?
> 
> Cheers,
> 
> Richard


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-25  6:39         ` Richard Purdie
  2016-05-25  8:23           ` Khem Raj
@ 2016-05-25 12:01           ` Bruce Ashfield
  2016-05-25 12:32           ` Bruce Ashfield
  2 siblings, 0 replies; 28+ messages in thread
From: Bruce Ashfield @ 2016-05-25 12:01 UTC (permalink / raw)
  To: Richard Purdie, Khem Raj; +Cc: Patches and discussions about the oe-core layer

On 2016-05-25 2:39 AM, Richard Purdie wrote:
> Thanks to the patches from Bruce we're looking better, linux-yocto 4.1
> works, just 4.4 has a couple of issues. I also removed a patch which
> removed the xdg-utils failure. That leaves us with:
>
> qt4-x11-free:
>
> arm, mips, ppc, world-lsb, x86, x86_64:
> https://autobuilder.yoctoproject.org/main/builders/nightly-arm-lsb/buil
> ds/767/steps/BuildImages/logs/stdio
>
> qt4-embedded:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-world-lsb/bu
> ilds/520/steps/BuildImages/logs/stdio
>
> linux-yocto-4.4 mips:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/
> 795/steps/BuildImages_1/logs/stdio
>
> linux-yocto-4.4 ppc:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/8
> 07/steps/BuildImages_1/logs/stdio
>
> diffutils - non-gplv3:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/bui
> lds/797
>
> Bruce: Looks like 4.4 might also need a patch you merged to 4.1?
>

I'll check 4.4 stable, otherwise, I can do a port myself.

Bruce

> Cheers,
>
> Richard
>



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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-25  8:23           ` Khem Raj
@ 2016-05-25 12:03             ` Bruce Ashfield
  0 siblings, 0 replies; 28+ messages in thread
From: Bruce Ashfield @ 2016-05-25 12:03 UTC (permalink / raw)
  To: Khem Raj, Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On 2016-05-25 4:23 AM, Khem Raj wrote:
>
>> On May 25, 2016, at 9:39 AM, Richard Purdie <richard.purdie@linuxfoundation.org> wrote:
>>
>> Thanks to the patches from Bruce we're looking better, linux-yocto 4.1
>> works, just 4.4 has a couple of issues. I also removed a patch which
>> removed the xdg-utils failure. That leaves us with:
>>
>> qt4-x11-free:
>>
>> arm, mips, ppc, world-lsb, x86, x86_64:
>> https://autobuilder.yoctoproject.org/main/builders/nightly-arm-lsb/buil
>> ds/767/steps/BuildImages/logs/stdio
>>
>> qt4-embedded:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-world-lsb/bu
>> ilds/520/steps/BuildImages/logs/stdio
>
>
> I have posted patches for this to yocto ml [meta-qt4] see
> https://www.mail-archive.com/yocto@yoctoproject.org/msg29319.html
>
> please apply them
>
>>
>> linux-yocto-4.4 mips:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/
>> 795/steps/BuildImages_1/logs/stdio
>>
>> linux-yocto-4.4 ppc:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/8
>> 07/steps/BuildImages_1/logs/stdio
>
> It seems Bruce did not apply my patches to kernel.

Nope. They were definitely applied, I merged them and made the
SRCREV updates available while you were working on the gcc6 changes.

Bruce

>
>>
>> diffutils - non-gplv3:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/bui
>> lds/797
>
> I can’t reproduce it locally.
>
>>
>> Bruce: Looks like 4.4 might also need a patch you merged to 4.1?
>>
>> Cheers,
>>
>> Richard
>



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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-25  6:39         ` Richard Purdie
  2016-05-25  8:23           ` Khem Raj
  2016-05-25 12:01           ` Bruce Ashfield
@ 2016-05-25 12:32           ` Bruce Ashfield
  2016-05-25 13:31             ` Bruce Ashfield
  2 siblings, 1 reply; 28+ messages in thread
From: Bruce Ashfield @ 2016-05-25 12:32 UTC (permalink / raw)
  To: Richard Purdie, Khem Raj; +Cc: Patches and discussions about the oe-core layer

On 2016-05-25 2:39 AM, Richard Purdie wrote:
> Thanks to the patches from Bruce we're looking better, linux-yocto 4.1
> works, just 4.4 has a couple of issues. I also removed a patch which
> removed the xdg-utils failure. That leaves us with:
>
> qt4-x11-free:
>
> arm, mips, ppc, world-lsb, x86, x86_64:
> https://autobuilder.yoctoproject.org/main/builders/nightly-arm-lsb/buil
> ds/767/steps/BuildImages/logs/stdio
>
> qt4-embedded:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-world-lsb/bu
> ilds/520/steps/BuildImages/logs/stdio
>
> linux-yocto-4.4 mips:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/
> 795/steps/BuildImages_1/logs/stdio
>
> linux-yocto-4.4 ppc:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/8
> 07/steps/BuildImages_1/logs/stdio
>
> diffutils - non-gplv3:
>
> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/bui
> lds/797
>
> Bruce: Looks like 4.4 might also need a patch you merged to 4.1?

I didn't see anything obvious missing from 4.4, and the existing patches
posted for the build issues are part of:

-----------------

commit 574e9f4b4334807faad40a2d23c350f266d6febb
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date:   Fri May 13 09:46:53 2016 -0700

     linux-yocto/4.4: gcc6 build fixes (powerpc and mips)

     Khem provided fixes to fix gcc6 build issues, these are safe for
     all gcc versions, so we integrate them directly.

     (From OE-Core rev: f1c75b93a4e11425e595c5ce043fbb0276a41931)

     Signed-off-by: Khem Raj <raj.khem@gmail.com>
     Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

---------------

So I can't say why the two build failures that that commit addresses
are popping up.

I checked and the later 4.4-stable commit update I did has the right
SRCREVs and encompasses that fix .. unless something ended up getting
clobbered in the code itself.

What's the right incantation to start a gcc6 based build on my own
machine ? Just bump the preferred version of the compiler ? (I'll do
that now, since I see the gcc6 recipe .. and that seems like the
obvious thing).

Bruce

>
> Cheers,
>
> Richard
>



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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-25 12:32           ` Bruce Ashfield
@ 2016-05-25 13:31             ` Bruce Ashfield
  2016-05-25 13:56               ` Richard Purdie
  2016-05-25 14:15               ` Richard Purdie
  0 siblings, 2 replies; 28+ messages in thread
From: Bruce Ashfield @ 2016-05-25 13:31 UTC (permalink / raw)
  To: Richard Purdie, Khem Raj; +Cc: Patches and discussions about the oe-core layer

On 2016-05-25 8:32 AM, Bruce Ashfield wrote:
> On 2016-05-25 2:39 AM, Richard Purdie wrote:
>> Thanks to the patches from Bruce we're looking better, linux-yocto 4.1
>> works, just 4.4 has a couple of issues. I also removed a patch which
>> removed the xdg-utils failure. That leaves us with:
>>
>> qt4-x11-free:
>>
>> arm, mips, ppc, world-lsb, x86, x86_64:
>> https://autobuilder.yoctoproject.org/main/builders/nightly-arm-lsb/buil
>> ds/767/steps/BuildImages/logs/stdio
>>
>> qt4-embedded:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-world-lsb/bu
>> ilds/520/steps/BuildImages/logs/stdio
>>
>> linux-yocto-4.4 mips:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/
>> 795/steps/BuildImages_1/logs/stdio
>>
>> linux-yocto-4.4 ppc:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/8
>> 07/steps/BuildImages_1/logs/stdio
>>
>> diffutils - non-gplv3:
>>
>> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gpl3/bui
>> lds/797
>>
>> Bruce: Looks like 4.4 might also need a patch you merged to 4.1?
>
> I didn't see anything obvious missing from 4.4, and the existing patches
> posted for the build issues are part of:
>
> -----------------
>
> commit 574e9f4b4334807faad40a2d23c350f266d6febb
> Author: Bruce Ashfield <bruce.ashfield@windriver.com>
> Date:   Fri May 13 09:46:53 2016 -0700
>
>     linux-yocto/4.4: gcc6 build fixes (powerpc and mips)
>
>     Khem provided fixes to fix gcc6 build issues, these are safe for
>     all gcc versions, so we integrate them directly.
>
>     (From OE-Core rev: f1c75b93a4e11425e595c5ce043fbb0276a41931)
>
>     Signed-off-by: Khem Raj <raj.khem@gmail.com>
>     Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
>     Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> ---------------
>
> So I can't say why the two build failures that that commit addresses
> are popping up.
>
> I checked and the later 4.4-stable commit update I did has the right
> SRCREVs and encompasses that fix .. unless something ended up getting
> clobbered in the code itself.
>
> What's the right incantation to start a gcc6 based build on my own
> machine ? Just bump the preferred version of the compiler ? (I'll do
> that now, since I see the gcc6 recipe .. and that seems like the
> obvious thing).

Hmm. Are we somehow building different SRCREVs ? I'm able to build the
ppc kernel with gcc6:

yow-bashfiel-d4 [/home/bruc...dard-build]> ls -alF vmlinux
-rwxr-xr-x 1 bruce bruce 115353128 May 25 09:12 vmlinux*
yow-bashfiel-d4 [/home/bruc...dard-build]> pwd
/home/bruce/poky/build/tmp/work/qemuppc-poky-linux/linux-yocto/4.4.11+gitAUTOINC+6ec93aaa70_628bf62756-r0/linux-qemuppc-standard-build
yow-bashfiel-d4 [/home/bruc...dard-build]> ls -alF vmlinux
-rwxr-xr-x 1 bruce bruce 115353128 May 25 09:12 vmlinux*
yow-bashfiel-d4 [/home/bruc...dard-build]> strings vmlinux | grep "gcc 
version"
%s version %s (bruce@yow-bashfiel-d4) (gcc version 6.1.1 20160511 (GCC) ) %s
Linux version 4.4.11-yocto-standard (bruce@yow-bashfiel-d4) (gcc version 
6.1.1 20160511 (GCC) ) #1 PREEMPT Wed May 25 09:12:02 EDT 2016

Bruce

>
> Bruce
>
>>
>> Cheers,
>>
>> Richard
>>
>



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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-25 13:31             ` Bruce Ashfield
@ 2016-05-25 13:56               ` Richard Purdie
  2016-05-25 14:15               ` Richard Purdie
  1 sibling, 0 replies; 28+ messages in thread
From: Richard Purdie @ 2016-05-25 13:56 UTC (permalink / raw)
  To: Bruce Ashfield, Khem Raj; +Cc: Patches and discussions about the oe-core layer

On Wed, 2016-05-25 at 09:31 -0400, Bruce Ashfield wrote:
> Hmm. Are we somehow building different SRCREVs ? I'm able to build
> the
> ppc kernel with gcc6:
> 
> yow-bashfiel-d4 [/home/bruc...dard-build]> ls -alF vmlinux
> -rwxr-xr-x 1 bruce bruce 115353128 May 25 09:12 vmlinux*
> yow-bashfiel-d4 [/home/bruc...dard-build]> pwd
> /home/bruce/poky/build/tmp/work/qemuppc-poky-linux/linux
> -yocto/4.4.11+gitAUTOINC+6ec93aaa70_628bf62756-r0/linux-qemuppc
> -standard-build
> yow-bashfiel-d4 [/home/bruc...dard-build]> ls -alF vmlinux
> -rwxr-xr-x 1 bruce bruce 115353128 May 25 09:12 vmlinux*
> yow-bashfiel-d4 [/home/bruc...dard-build]> strings vmlinux | grep
> "gcc 
> version"
> %s version %s (bruce@yow-bashfiel-d4) (gcc version 6.1.1 20160511
> (GCC) ) %s
> Linux version 4.4.11-yocto-standard (bruce@yow-bashfiel-d4) (gcc
> version 
> 6.1.1 20160511 (GCC) ) #1 PREEMPT Wed May 25 09:12:02 EDT 2016

The autobuilder failure is here:

https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/8
07/steps/BuildImages_1/logs/stdio

which shows:

4.4.11+gitAUTOINC+6ec93aaa70_df00877ef9-r0

so yes, we're not seeing the same latter revision. The next obvious
question is why, have I missed a patch?

Cheers,

Richard


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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-25 13:31             ` Bruce Ashfield
  2016-05-25 13:56               ` Richard Purdie
@ 2016-05-25 14:15               ` Richard Purdie
  2016-05-25 14:16                 ` Bruce Ashfield
  2016-05-26 14:15                 ` Richard Purdie
  1 sibling, 2 replies; 28+ messages in thread
From: Richard Purdie @ 2016-05-25 14:15 UTC (permalink / raw)
  To: Bruce Ashfield, Khem Raj; +Cc: Patches and discussions about the oe-core layer

On Wed, 2016-05-25 at 09:31 -0400, Bruce Ashfield wrote:
> On 2016-05-25 8:32 AM, Bruce Ashfield wrote:
> > On 2016-05-25 2:39 AM, Richard Purdie wrote:
> > > Thanks to the patches from Bruce we're looking better, linux
> > > -yocto 4.1
> > > works, just 4.4 has a couple of issues. I also removed a patch
> > > which
> > > removed the xdg-utils failure. That leaves us with:
> > > 
> > > qt4-x11-free:
> > > 
> > > arm, mips, ppc, world-lsb, x86, x86_64:
> > > https://autobuilder.yoctoproject.org/main/builders/nightly-arm-ls
> > > b/buil
> > > ds/767/steps/BuildImages/logs/stdio
> > > 
> > > qt4-embedded:
> > > 
> > > https://autobuilder.yoctoproject.org/main/builders/nightly-world-
> > > lsb/bu
> > > ilds/520/steps/BuildImages/logs/stdio
> > > 
> > > linux-yocto-4.4 mips:
> > > 
> > > https://autobuilder.yoctoproject.org/main/builders/nightly-mips/b
> > > uilds/
> > > 795/steps/BuildImages_1/logs/stdio
> > > 
> > > linux-yocto-4.4 ppc:
> > > 
> > > https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/bu
> > > ilds/8
> > > 07/steps/BuildImages_1/logs/stdio
> > > 
> > > diffutils - non-gplv3:
> > > 
> > > https://autobuilder.yoctoproject.org/main/builders/nightly-non-gp
> > > l3/bui
> > > lds/797
> > > 
> > > Bruce: Looks like 4.4 might also need a patch you merged to 4.1?
> > 
> > I didn't see anything obvious missing from 4.4, and the existing
> > patches
> > posted for the build issues are part of:
> > 
> > -----------------
> > 
> > commit 574e9f4b4334807faad40a2d23c350f266d6febb
> > Author: Bruce Ashfield <bruce.ashfield@windriver.com>
> > Date:   Fri May 13 09:46:53 2016 -0700
> > 
> >     linux-yocto/4.4: gcc6 build fixes (powerpc and mips)
> > 
> >     Khem provided fixes to fix gcc6 build issues, these are safe
> > for
> >     all gcc versions, so we integrate them directly.
> > 
> >     (From OE-Core rev: f1c75b93a4e11425e595c5ce043fbb0276a41931)
> > 
> >     Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >     Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
> >     Signed-off-by: Richard Purdie <
> > richard.purdie@linuxfoundation.org>
> > 
> > ---------------
> > 
> > So I can't say why the two build failures that that commit
> > addresses
> > are popping up.
> > 
> > I checked and the later 4.4-stable commit update I did has the
> > right
> > SRCREVs and encompasses that fix .. unless something ended up
> > getting
> > clobbered in the code itself.
> > 
> > What's the right incantation to start a gcc6 based build on my own
> > machine ? Just bump the preferred version of the compiler ? (I'll
> > do
> > that now, since I see the gcc6 recipe .. and that seems like the
> > obvious thing).
> 
> Hmm. Are we somehow building different SRCREVs ? I'm able to build
> the
> ppc kernel with gcc6:
> 
> yow-bashfiel-d4 [/home/bruc...dard-build]> ls -alF vmlinux
> -rwxr-xr-x 1 bruce bruce 115353128 May 25 09:12 vmlinux*
> yow-bashfiel-d4 [/home/bruc...dard-build]> pwd
> /home/bruce/poky/build/tmp/work/qemuppc-poky-linux/linux
> -yocto/4.4.11+gitAUTOINC+6ec93aaa70_628bf62756-r0/linux-qemuppc
> -standard-build
> yow-bashfiel-d4 [/home/bruc...dard-build]> ls -alF vmlinux
> -rwxr-xr-x 1 bruce bruce 115353128 May 25 09:12 vmlinux*
> yow-bashfiel-d4 [/home/bruc...dard-build]> strings vmlinux | grep
> "gcc 
> version"
> %s version %s (bruce@yow-bashfiel-d4) (gcc version 6.1.1 20160511
> (GCC) ) %s
> Linux version 4.4.11-yocto-standard (bruce@yow-bashfiel-d4) (gcc
> version 
> 6.1.1 20160511 (GCC) ) #1 PREEMPT Wed May 25 09:12:02 EDT 2016

Just realised the failure is in mpc8315e_rdb so its meta-yocto-bsp
bumps we're missing?

Cheers,

Richard



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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-25 14:15               ` Richard Purdie
@ 2016-05-25 14:16                 ` Bruce Ashfield
  2016-05-26 14:15                 ` Richard Purdie
  1 sibling, 0 replies; 28+ messages in thread
From: Bruce Ashfield @ 2016-05-25 14:16 UTC (permalink / raw)
  To: Richard Purdie, Khem Raj; +Cc: Patches and discussions about the oe-core layer

On 2016-05-25 10:15 AM, Richard Purdie wrote:
> On Wed, 2016-05-25 at 09:31 -0400, Bruce Ashfield wrote:
>> On 2016-05-25 8:32 AM, Bruce Ashfield wrote:
>>> On 2016-05-25 2:39 AM, Richard Purdie wrote:
>>>> Thanks to the patches from Bruce we're looking better, linux
>>>> -yocto 4.1
>>>> works, just 4.4 has a couple of issues. I also removed a patch
>>>> which
>>>> removed the xdg-utils failure. That leaves us with:
>>>>
>>>> qt4-x11-free:
>>>>
>>>> arm, mips, ppc, world-lsb, x86, x86_64:
>>>> https://autobuilder.yoctoproject.org/main/builders/nightly-arm-ls
>>>> b/buil
>>>> ds/767/steps/BuildImages/logs/stdio
>>>>
>>>> qt4-embedded:
>>>>
>>>> https://autobuilder.yoctoproject.org/main/builders/nightly-world-
>>>> lsb/bu
>>>> ilds/520/steps/BuildImages/logs/stdio
>>>>
>>>> linux-yocto-4.4 mips:
>>>>
>>>> https://autobuilder.yoctoproject.org/main/builders/nightly-mips/b
>>>> uilds/
>>>> 795/steps/BuildImages_1/logs/stdio
>>>>
>>>> linux-yocto-4.4 ppc:
>>>>
>>>> https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/bu
>>>> ilds/8
>>>> 07/steps/BuildImages_1/logs/stdio
>>>>
>>>> diffutils - non-gplv3:
>>>>
>>>> https://autobuilder.yoctoproject.org/main/builders/nightly-non-gp
>>>> l3/bui
>>>> lds/797
>>>>
>>>> Bruce: Looks like 4.4 might also need a patch you merged to 4.1?
>>>
>>> I didn't see anything obvious missing from 4.4, and the existing
>>> patches
>>> posted for the build issues are part of:
>>>
>>> -----------------
>>>
>>> commit 574e9f4b4334807faad40a2d23c350f266d6febb
>>> Author: Bruce Ashfield <bruce.ashfield@windriver.com>
>>> Date:   Fri May 13 09:46:53 2016 -0700
>>>
>>>     linux-yocto/4.4: gcc6 build fixes (powerpc and mips)
>>>
>>>     Khem provided fixes to fix gcc6 build issues, these are safe
>>> for
>>>     all gcc versions, so we integrate them directly.
>>>
>>>     (From OE-Core rev: f1c75b93a4e11425e595c5ce043fbb0276a41931)
>>>
>>>     Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>>     Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
>>>     Signed-off-by: Richard Purdie <
>>> richard.purdie@linuxfoundation.org>
>>>
>>> ---------------
>>>
>>> So I can't say why the two build failures that that commit
>>> addresses
>>> are popping up.
>>>
>>> I checked and the later 4.4-stable commit update I did has the
>>> right
>>> SRCREVs and encompasses that fix .. unless something ended up
>>> getting
>>> clobbered in the code itself.
>>>
>>> What's the right incantation to start a gcc6 based build on my own
>>> machine ? Just bump the preferred version of the compiler ? (I'll
>>> do
>>> that now, since I see the gcc6 recipe .. and that seems like the
>>> obvious thing).
>>
>> Hmm. Are we somehow building different SRCREVs ? I'm able to build
>> the
>> ppc kernel with gcc6:
>>
>> yow-bashfiel-d4 [/home/bruc...dard-build]> ls -alF vmlinux
>> -rwxr-xr-x 1 bruce bruce 115353128 May 25 09:12 vmlinux*
>> yow-bashfiel-d4 [/home/bruc...dard-build]> pwd
>> /home/bruce/poky/build/tmp/work/qemuppc-poky-linux/linux
>> -yocto/4.4.11+gitAUTOINC+6ec93aaa70_628bf62756-r0/linux-qemuppc
>> -standard-build
>> yow-bashfiel-d4 [/home/bruc...dard-build]> ls -alF vmlinux
>> -rwxr-xr-x 1 bruce bruce 115353128 May 25 09:12 vmlinux*
>> yow-bashfiel-d4 [/home/bruc...dard-build]> strings vmlinux | grep
>> "gcc
>> version"
>> %s version %s (bruce@yow-bashfiel-d4) (gcc version 6.1.1 20160511
>> (GCC) ) %s
>> Linux version 4.4.11-yocto-standard (bruce@yow-bashfiel-d4) (gcc
>> version
>> 6.1.1 20160511 (GCC) ) #1 PREEMPT Wed May 25 09:12:02 EDT 2016
>
> Just realised the failure is in mpc8315e_rdb so its meta-yocto-bsp
> bumps we're missing?

Indeed. I can prepare a compile-only SRCREV bump, and if it happens
to introduce a runtime issue .. we'll deal with that separately.

Bruce

>
> Cheers,
>
> Richard
>



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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-25 14:15               ` Richard Purdie
  2016-05-25 14:16                 ` Bruce Ashfield
@ 2016-05-26 14:15                 ` Richard Purdie
  2016-05-26 14:17                   ` Bruce Ashfield
  1 sibling, 1 reply; 28+ messages in thread
From: Richard Purdie @ 2016-05-26 14:15 UTC (permalink / raw)
  To: Bruce Ashfield, Khem Raj; +Cc: Patches and discussions about the oe-core layer

On Wed, 2016-05-25 at 15:15 +0100, Richard Purdie wrote:
> Just realised the failure is in mpc8315e_rdb so its meta-yocto-bsp
> bumps we're missing?

To update on this, python-pyqt broke once qt4 was building. This was
due to webkit in qt4 being silently disabled. I've merged a patch to
meta-qt4 to handle that and the python-pyqt issue is then fixed.

We were also still having linux-yocto-4.1 issues on meta-yocto-bsp,
which looked like the same problem as we were having with 4.4, a lack
of a SRCREV bump.

Bruce: I took the liberty of testing:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&id=c87f
66e1b8f4eced3da1b7aaeceb2341674fa61c

which bumps the SRCREVs for 4.1 in meta-yocto-bsp. This is looking
greener on the autobuilder, I'm hoping if this works we could finally
merge gcc6. Can I merge that SRCREV bump?

Sadly all this debugging/testing is holding up the rest of the patch
queue :(.

Cheers,

Richard




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

* Re: [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb
  2016-05-26 14:15                 ` Richard Purdie
@ 2016-05-26 14:17                   ` Bruce Ashfield
  0 siblings, 0 replies; 28+ messages in thread
From: Bruce Ashfield @ 2016-05-26 14:17 UTC (permalink / raw)
  To: Richard Purdie, Khem Raj; +Cc: Patches and discussions about the oe-core layer

On 2016-05-26 10:15 AM, Richard Purdie wrote:
> On Wed, 2016-05-25 at 15:15 +0100, Richard Purdie wrote:
>> Just realised the failure is in mpc8315e_rdb so its meta-yocto-bsp
>> bumps we're missing?
>
> To update on this, python-pyqt broke once qt4 was building. This was
> due to webkit in qt4 being silently disabled. I've merged a patch to
> meta-qt4 to handle that and the python-pyqt issue is then fixed.
>
> We were also still having linux-yocto-4.1 issues on meta-yocto-bsp,
> which looked like the same problem as we were having with 4.4, a lack
> of a SRCREV bump.
>
> Bruce: I took the liberty of testing:
>
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&id=c87f
> 66e1b8f4eced3da1b7aaeceb2341674fa61c
>
> which bumps the SRCREVs for 4.1 in meta-yocto-bsp. This is looking
> greener on the autobuilder, I'm hoping if this works we could finally
> merge gcc6. Can I merge that SRCREV bump?

Yep. That's what my update script shows as the next bump as well.
Fire away.

I should have just bumped this at the same time .. sorry about overlooking
it.

Bruce

>
> Sadly all this debugging/testing is holding up the rest of the patch
> queue :(.
>
> Cheers,
>
> Richard
>
>



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

* Re: [PATCH 1/6] glibc: Add recipes for 2.24 release
  2016-05-13 16:46 ` [PATCH 1/6] glibc: Add recipes for 2.24 release Khem Raj
@ 2016-07-03 13:45   ` Trevor Woerner
  2016-07-03 15:02     ` Khem Raj
  0 siblings, 1 reply; 28+ messages in thread
From: Trevor Woerner @ 2016-07-03 13:45 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

I just finished a bisection task which implies this patch is the reason why
chromium crashes when run on x86_64 (minnow) with signal 4 ILL_ILLOPN. Note
that chromium compiles fine both before and after this patch, the problem is
when chromium is run.

I'm not 100% how to move forward, at this point. Maybe the problem is caused
by the remove of the SSE patch?

Any suggestions greatly appreciated! :-)


Received signal Received signal 44 ILL_ILLOPN  ILL_ILLOPN 557b2cb6cc90557b2cb6cc90

Received signal 4 ILL_ILLOPN 557b2cb6cc90
Received signal 4 ILL_ILLOPN 557b2cb6cc90
##0 00x 557b2860a60e0x 557b2860a60e <unknown>
<unknown>#
1# 1 0x0x557b2860a9d9557b2860a9d9  <unknown>
#2 0x7f0923227e40 <unknown><unknown>

##32  0x0x7f0923227e40557b2cb6cc90  <unknown>
#3 0x557b2cb6cc90 <unknown>
#4 0x557b2931b580 <unknown>
#5 0x557b2931bd93 Received signal 6
<unknown>
#6 0x557b29319956 #0 0x557b2860a60e <unknown>
#7 0x557b2931a1dc <unknown>
#1 0x557b2860a9d9 <unknown>
#2 0x7f0923227e40 <unknown>
#<unknown>8
 #0x3557b29a6ec5d  0x7f091e801d38 <unknown>
#9 0x557b29a6301e <unknown>
#10 <unknown>0x
557b29a63cf0# 4 0x7f091e80318a <unknown>
#11 0x557b2bb8f5fe <unknown>
#5 0x557b28694b5a <unknown>
<unknown>#
6# 120x 0x557b2869533b557b2bb90321  <unknown>
#7 0x557b2860a885 <unknown>
#8 0x557b2860a9f7 <unknown>
#9 0x7f0923227e40 <unknown>
#13 0x557b2bb84a1b <unknown>
#10 0x557b2cb6cc90 <unknown>
#11 0x557b2931b580 <unknown>
#12 0x557b2931bd93 <unknown>
#<unknown>13
 #0x14 557b293199560x 557b2d0a1172 <unknown>
#14 0x557b2931a1dc <unknown>
#15 0x557b29a6ec5d <unknown>
#16 0x557b29a6301e <unknown>
#17 0x557b29a63cf0 <unknown>
<unknown>#
18#15  0x0x557b29135d86557b2bb8f5fe #0 0x557b2860a60e <unknown>
#19 0x557b2bb90321 <unknown>
#20 0x557b2bb84a1b <unknown>
#21 0x557b2d0a1172 <unknown>
#22 0x557b29135d86 <unknown>
#1 0x557b2860a9d9 <unknown>
#23 0x557b286747fd <unknown>
#24 0x557b2d10a8ce <unknown>
#25 0x557b2d10aec4 <unknown>
#26 <unknown>
0x#2557b286747fd 0x7f0923227e40  <unknown>
#3 0x557b2cb6cc90 Received signal 11 <unknown> 000000000000
<unknown>
#4 0x557b2931b580 #0 0x557b2860a60e <unknown>
#1 0x557b2860a9d9 <unknown>
#2 0x<unknown>7f0923227e40
# 5 0x557b2931bd93 <unknown>
#3 0x7f091e803286 <unknown>
#6 0x557b29319956 <unknown>
#7 0x557b2931a1dc <unknown>
#4 0x557b28694b5a <unknown>
#5 0x557b2869533b <unknown><unknown>

##8 60x 557b29a6ec5d0x 557b2860a885 <unknown>
#7 0x557b2860a9f7 <unknown>
#8 0x7f0923227e40 <unknown><unknown>
#
9 #0x9557b29a6301e  0x7f091e801d38  #0 0x557b2860a60e <unknown>
#1 0x557b2860a9d9 <unknown>
#2 0x7f0923227e40 <unknown>
#10 0x557b29a63cf0 <unknown>
#3 0x557b2cb6cc90 <unknown>
#16 0x557b286747fd Received signal 6
<unknown>
#17 0x557b2d10a8ce #0 0x557b2860a60e <unknown>
#1 0x557b2860a9d9 <unknown>
#18 0x557b2d10aec4 <unknown>
#3 0x7f091e801d38 <unknown>
#19 0x557b286747fd <unknown>
#20 0x557b2862865b <unknown>
#4 0x7f091e80318a <unknown>
#21 0x557b286291dd <unknown>
#22 0x557b286294ab <unknown>
#5 0x557b28694b5a <unknown>
#6 0x557b2869533b <unknown>
#7 0x557b2860a885 <unknown>
#8 0x557b2860a9f7 <unknown>
#9 0x7f0923227e40 <unknown>
#23<unknown> 
0x#557b2862ada910  0x557b2cb6cc90 <unknown>
#11 0x557b2931b580 <unknown>
#12 0x557b2931bd93 <unknown>
#13 0x557b29319956 <unknown>
#14 0x557b2931a1dc <unknown>
#15 0x557b29a6ec5d <unknown>
#16 0x557b29a6301e <unknown>
#17 0x557b29a63cf0 <unknown>
#18 0x557b2bb8f5fe <unknown>
#19 0x557b2bb90321 <unknown>
#20 0x557b2bb84a1b <unknown><unknown>

##2124  0x0x557b2d0a1172557b286413fa  <unknown>
#25 0x557b28627495 <unknown>
#26 0x557b2bba6cd0 <unknown>
#27 0x557b285d99a1 <unknown>
#28 0x557b285d9f3d <unknown>
#29 0x557b285d91d1 <unknown>
#30 0x557b281a2f9a <unknown>
#31 0x7f091e7ef040 <unknown>
#22 0x557b29135d86 <unknown>
#32 0x557b281a2dfa <unknown>
  r8: 0000000000000000  r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000202
 r12: 000027522aa181e0 r13: 0000000000000004 r14: 000027522aa181f8 r15: 0000557b2fc06352
  di: 0000357c8b781000  si: 000000000001e000  bp: 000027522aa64000  bx: 000027522aa18200
  dx: 0000000000000008  ax: ffffffffffffffff  cx: ffffffffffffff58  sp: 00007ffe2cd33b70
  ip: 0000557b2cb6cc90 efl: 0000000000010286 cgf: 0000000000000033 erf: 0000000000000000
 trp: 0000000000000006 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
<unknown>
#23 0x557b286747fd <unknown>
#24 0x557b2d10a8ce <unknown>
#11 0x557b2bb8f5fe <unknown>
#12 0x557b2bb90321 <unknown>
#13 0x557b2bb84a1b <unknown>
#14 0x557b2d0a1172 <unknown>
#15 0x557b29135d86 <unknown>
#16 0x557b286747fd <unknown>
#17 0x557b2d10a8ce <unknown>
#18 0x557b2d10aec4 <unknown>
#19 0x557b286747fd <unknown>
#20 0x557b2862865b <unknown>
#21 0x557b286291dd <unknown>
#25 0x557b2d10aec4 <unknown>
#26 0x557b286747fd <unknown>
#27 0x557b2862865b <unknown>
#28 0x557b286291dd <unknown>
#22 0x557b286294ab <unknown>
#23 0x557b2862ada9 <unknown>
#24 0x557b286413fa Received signal 11 <unknown> 000000000000
#<unknown>0
 #0x25557b2860a60e  0x557b28627495 <unknown>
#26 0x557b2bba6cd0 <unknown>
#27 0x557b285d99a1 <unknown>
#28 0x557b285d9f3d <unknown>
#29 0x557b285d91d1 <unknown>
#30 0x557b281a2f9a <unknown>
#31 0x7f091e7ef040 <unknown>
#1 0x557b2860a9d9 <unknown>
#32 0x557b281a2dfa <unknown>
  r8: 0000000000000000  r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000202
 r12: 00001991086181e0 r13: 0000000000000004 r14: 00001991086181f8 r15: 0000557b2fc06352
  di: 00002a0341a41000  si: 000000000001e000  bp: 0000199108664000  bx: 0000199108618200
  dx: 0000000000000008  ax: ffffffffffffffff  cx: ffffffffffffff58  sp: 00007ffe2cd33b70
  ip: 0000557b2cb6cc90 efl: 0000000000010286 cgf: 0000000000000033 erf: 0000000000000000
 trp: 0000000000000006 msk: 0000000000000000 cr2: 0000000000000000
[end of stack trace]
<unknown>
#10 0x7f091e80318a <unknown>
#11 0x557b28694b5a <unknown>
#12 0x557b2869533b <unknown>
#13 0x557b2860a885 <unknown>
#14 0x557b2860a9f7 <unknown>
#15 0x7f0923227e40 <unknown>
#16 0x557b2cb6cc90 <unknown>
#17 0x557b2931b580 <unknown>
#2 0x7f0923227e40 <unknown>
#3 0x7f091e803286 <unknown>
#4 0x557b28694b5a <unknown>
#5 0x557b2869533b <unknown>
#6 0x557b2860a885 <unknown>
#18 0x557b2931bd93 <unknown>
#19 0x557b29319956 <unknown>
#20 0x557b2931a1dc <unknown>
#21 0x<unknown>557b29a6ec5d
 #7 0x557b2860a9f7 <unknown>
#8 0x7f0923227e40 <unknown>
#9 0x7f091e801d38 <unknown>
#22<unknown> 
0x#557b29a6301e10  0x7f091e80318a <unknown>
#11 0x557b28694b5a <unknown>
#12 0x557b2869533b <unknown>
#13 0x557b2860a885 <unknown>
#14 0x557b2860a9f7 <unknown>
#15 0x7f0923227e40 <unknown>
#23 0x557b29a63cf0 <unknown>
#16 0x557b2cb6cc90 <unknown>
#17 0x557b2931b580 <unknown>
#18 0x557b2931bd93 <unknown>
#19 0x557b29319956 <unknown>
#20 0x557b2931a1dc <unknown>
#21 0x557b29a6ec5d <unknown>
#22 0x557b29a6301e <unknown>
#23 0x557b29a63cf0 <unknown>
#24 0x557b2bb8f5fe <unknown>
#25 0x557b2bb90321 <unknown>
#26 0x557b2bb84a1b <unknown>
<unknown>#
27# 240x 557b2d0a11720x 557b2bb8f5fe <unknown>
#25 0x557b2bb90321 <unknown>
#26 0x557b2bb84a1b <unknown>
#27 0x557b2d0a1172 <unknown>
#28 0x557b29135d86 <unknown>
#29 0x557b286747fd <unknown>
#30 0x557b2d10a8ce <unknown>
#31 0x557b2d10aec4 <unknown>
#32 0x557b286747fd <unknown>
#33 0x557b2862865b <unknown>
#34 0x557b286291dd <unknown>
#35 0x557b286294ab <unknown>
#36 0x557b2862ada9 <unknown>
#28 0x557b29135d86 <unknown>
#29 0x557b286747fd <unknown>
#30 0x557b2d10a8ce <unknown>
#31 0x557b2d10aec4 <unknown>
#32 0x557b286747fd <unknown>
#33 0x557b2862865b <unknown>
#34 0x557b286291dd <unknown>
#35 0x557b286294ab <unknown>
#36 0x557b2862ada9 <unknown>
#37 0x557b286413fa <unknown>
#38 0x557b28627495 <unknown>
#39 0x557b2bba6cd0 <unknown>
#37 0x557b286413fa <unknown>
#38 0x557b28627495 <unknown>
#39 0x557b2bba6cd0 <unknown>
#40 0x557b285d99a1 <unknown>
#41 0x557b285d9f3d <unknown>
#42 0x557b285d91d1 <unknown>
#43 0x557b281a2f9a <unknown>
#44 0x7f091e7ef040 <unknown>
#40 0x557b285d99a1 <unknown>
#45 0x557b281a2dfa <unknown>
  r8: 0000000000000000  r9: ffffffffffffffff r10: 0000000000000008 r11: 0000000000000202
 r12: 00007ffe2cd31320 r13: 0000557b276ad000 r14: 0000557b286747fc r15: 0000000000000040
  di: 0000000000000001  si: 0000000000000001  bp: 00007ffe2cd31690  bx: 000000000000004e
  dx: 0000000000000006  ax: 0000000000000006  cx: 00007f091e801d38  sp: 00007ffe2cd311d0
  ip: 00007f091e803286 efl: 0000000000010246 cgf: 0000000000000033 erf: 0000000000000000
 trp: 000000000000000d msk: 0000000000000008 cr2: 0000000000000000
[end of stack trace]
<unknown>
#41 0x557b285d9f3d <unknown>
#42 0x557b285d91d1 <unknown>
#43 0x557b281a2f9a ChromeMain
#44 0x7f091e7ef040 <unknown>
#45 0x557b281a2dfa _start
  r8: 0000000000000000  r9: ffffffffffffffff r10: 0000000000000008 r11: 0000000000000202
 r12: 00007ffe2cd31320 r13: 0000557b276ad000 r14: 0000557b286291dc r15: 00000000000000c0
  di: 0000000000000001  si: 0000000000000001  bp: 00007ffe2cd31690  bx: 000000000000004e
  dx: 0000000000000006  ax: 0000000000000006  cx: 00007f091e801d38  sp: 00007ffe2cd311d0
  ip: 00007f091e803286 efl: 0000000000010246 cgf: 0000000000000033 erf: 0000000000000000
 trp: 000000000000000d msk: 0000000000000008 cr2: 0000000000000000
[end of stack trace]


On Fri 2016-05-13 @ 09:46:49 AM, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../fix_for_centos_5.8.patch                       | 18 --------
>  ...tive_2.23.bb => cross-localedef-native_2.24.bb} | 18 ++++----
>  ...glibc-initial_2.23.bb => glibc-initial_2.24.bb} |  0
>  .../{glibc-locale_2.23.bb => glibc-locale_2.24.bb} |  0
>  .../{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} |  0
>  ...glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} |  0
>  ...libc-Look-for-host-system-ld.so.cache-as-.patch |  8 ++--
>  ...libc-Fix-buffer-overrun-with-a-relocated-.patch |  8 ++--
>  ...libc-Raise-the-size-of-arrays-containing-.patch | 34 ++++++---------
>  ...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch | 10 +++--
>  ...500-e5500-e6500-603e-fsqrt-implementation.patch |  6 +--
>  ...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch |  8 ++--
>  ...-Fix-undefined-reference-to-__sqrt_finite.patch |  6 +--
>  ...qrt-f-are-now-inline-functions-and-call-o.patch |  6 +--
>  ...bug-1443-which-explains-what-the-patch-do.patch |  8 ++--
>  ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch | 10 ++---
>  ...qrt-f-are-now-inline-functions-and-call-o.patch |  6 +--
>  ...ersion-output-matching-grok-gold-s-output.patch | 14 +++----
>  ...-configure.ac-handle-correctly-libc_cv_ro.patch |  6 +--
>  .../glibc/glibc/0014-Add-unused-attribute.patch    |  8 ++--
>  ...thin-the-path-sets-wrong-config-variables.patch | 10 ++---
>  ...-timezone-re-written-tzselect-as-posix-sh.patch | 16 ++++----
>  ...move-bash-dependency-for-nscd-init-script.patch |  8 ++--
>  ...c-Cross-building-and-testing-instructions.patch |  6 +--
>  ...019-eglibc-Help-bootstrap-cross-toolchain.patch |  8 ++--
>  .../glibc/0020-eglibc-cherry-picked-from.patch     | 18 ++++----
>  .../0021-eglibc-Clear-cache-lines-on-ppc8xx.patch  | 10 ++---
>  ...0022-eglibc-Resolve-__fpscr_values-on-SH4.patch |  8 ++--
>  .../glibc/0023-eglibc-Install-PIC-archives.patch   |  8 ++--
>  ...ard-port-cross-locale-generation-support.patch} | 30 +++++++-------
>  ...0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 32 +++++++++++++++
>  ...ing-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 ----------------------
>  .../glibc/{glibc_2.23.bb => glibc_2.24.bb}         | 12 +++---
>  33 files changed, 171 insertions(+), 217 deletions(-)
>  delete mode 100644 meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
>  rename meta/recipes-core/glibc/{cross-localedef-native_2.23.bb => cross-localedef-native_2.24.bb} (84%)
>  rename meta/recipes-core/glibc/{glibc-initial_2.23.bb => glibc-initial_2.24.bb} (100%)
>  rename meta/recipes-core/glibc/{glibc-locale_2.23.bb => glibc-locale_2.24.bb} (100%)
>  rename meta/recipes-core/glibc/{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} (100%)
>  rename meta/recipes-core/glibc/{glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} (100%)
>  rename meta/recipes-core/glibc/glibc/{0025-eglibc-Forward-port-cross-locale-generation-support.patch => 0024-eglibc-Forward-port-cross-locale-generation-support.patch} (97%)
>  create mode 100644 meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
>  delete mode 100644 meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
>  rename meta/recipes-core/glibc/{glibc_2.23.bb => glibc_2.24.bb} (93%)


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

* Re: [PATCH 1/6] glibc: Add recipes for 2.24 release
  2016-07-03 13:45   ` Trevor Woerner
@ 2016-07-03 15:02     ` Khem Raj
  2016-07-05 14:56       ` Trevor Woerner
  0 siblings, 1 reply; 28+ messages in thread
From: Khem Raj @ 2016-07-03 15:02 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: Patches and discussions about the oe-core layer

On Sun, Jul 3, 2016 at 6:45 AM, Trevor Woerner <twoerner@gmail.com> wrote:
> I just finished a bisection task which implies this patch is the reason why
> chromium crashes when run on x86_64 (minnow) with signal 4 ILL_ILLOPN. Note
> that chromium compiles fine both before and after this patch, the problem is
> when chromium is run.
>
> I'm not 100% how to move forward, at this point. Maybe the problem is caused
> by the remove of the SSE patch?
>
> Any suggestions greatly appreciated! :-)
>
>
> Received signal Received signal 44 ILL_ILLOPN  ILL_ILLOPN 557b2cb6cc90557b2cb6cc90

couple of ideas.

compile the image with debug info so we can see the full stack trace
with symbols.
secondly, see if it fails same way on qemux86-64 as well.

sse patch was upstreamed so technically its not removed.


>
> Received signal 4 ILL_ILLOPN 557b2cb6cc90
> Received signal 4 ILL_ILLOPN 557b2cb6cc90
> ##0 00x 557b2860a60e0x 557b2860a60e <unknown>
> <unknown>#
> 1# 1 0x0x557b2860a9d9557b2860a9d9  <unknown>
> #2 0x7f0923227e40 <unknown><unknown>
>
> ##32  0x0x7f0923227e40557b2cb6cc90  <unknown>
> #3 0x557b2cb6cc90 <unknown>
> #4 0x557b2931b580 <unknown>
> #5 0x557b2931bd93 Received signal 6
> <unknown>
> #6 0x557b29319956 #0 0x557b2860a60e <unknown>
> #7 0x557b2931a1dc <unknown>
> #1 0x557b2860a9d9 <unknown>
> #2 0x7f0923227e40 <unknown>
> #<unknown>8
>  #0x3557b29a6ec5d  0x7f091e801d38 <unknown>
> #9 0x557b29a6301e <unknown>
> #10 <unknown>0x
> 557b29a63cf0# 4 0x7f091e80318a <unknown>
> #11 0x557b2bb8f5fe <unknown>
> #5 0x557b28694b5a <unknown>
> <unknown>#
> 6# 120x 0x557b2869533b557b2bb90321  <unknown>
> #7 0x557b2860a885 <unknown>
> #8 0x557b2860a9f7 <unknown>
> #9 0x7f0923227e40 <unknown>
> #13 0x557b2bb84a1b <unknown>
> #10 0x557b2cb6cc90 <unknown>
> #11 0x557b2931b580 <unknown>
> #12 0x557b2931bd93 <unknown>
> #<unknown>13
>  #0x14 557b293199560x 557b2d0a1172 <unknown>
> #14 0x557b2931a1dc <unknown>
> #15 0x557b29a6ec5d <unknown>
> #16 0x557b29a6301e <unknown>
> #17 0x557b29a63cf0 <unknown>
> <unknown>#
> 18#15  0x0x557b29135d86557b2bb8f5fe #0 0x557b2860a60e <unknown>
> #19 0x557b2bb90321 <unknown>
> #20 0x557b2bb84a1b <unknown>
> #21 0x557b2d0a1172 <unknown>
> #22 0x557b29135d86 <unknown>
> #1 0x557b2860a9d9 <unknown>
> #23 0x557b286747fd <unknown>
> #24 0x557b2d10a8ce <unknown>
> #25 0x557b2d10aec4 <unknown>
> #26 <unknown>
> 0x#2557b286747fd 0x7f0923227e40  <unknown>
> #3 0x557b2cb6cc90 Received signal 11 <unknown> 000000000000
> <unknown>
> #4 0x557b2931b580 #0 0x557b2860a60e <unknown>
> #1 0x557b2860a9d9 <unknown>
> #2 0x<unknown>7f0923227e40
> # 5 0x557b2931bd93 <unknown>
> #3 0x7f091e803286 <unknown>
> #6 0x557b29319956 <unknown>
> #7 0x557b2931a1dc <unknown>
> #4 0x557b28694b5a <unknown>
> #5 0x557b2869533b <unknown><unknown>
>
> ##8 60x 557b29a6ec5d0x 557b2860a885 <unknown>
> #7 0x557b2860a9f7 <unknown>
> #8 0x7f0923227e40 <unknown><unknown>
> #
> 9 #0x9557b29a6301e  0x7f091e801d38  #0 0x557b2860a60e <unknown>
> #1 0x557b2860a9d9 <unknown>
> #2 0x7f0923227e40 <unknown>
> #10 0x557b29a63cf0 <unknown>
> #3 0x557b2cb6cc90 <unknown>
> #16 0x557b286747fd Received signal 6
> <unknown>
> #17 0x557b2d10a8ce #0 0x557b2860a60e <unknown>
> #1 0x557b2860a9d9 <unknown>
> #18 0x557b2d10aec4 <unknown>
> #3 0x7f091e801d38 <unknown>
> #19 0x557b286747fd <unknown>
> #20 0x557b2862865b <unknown>
> #4 0x7f091e80318a <unknown>
> #21 0x557b286291dd <unknown>
> #22 0x557b286294ab <unknown>
> #5 0x557b28694b5a <unknown>
> #6 0x557b2869533b <unknown>
> #7 0x557b2860a885 <unknown>
> #8 0x557b2860a9f7 <unknown>
> #9 0x7f0923227e40 <unknown>
> #23<unknown>
> 0x#557b2862ada910  0x557b2cb6cc90 <unknown>
> #11 0x557b2931b580 <unknown>
> #12 0x557b2931bd93 <unknown>
> #13 0x557b29319956 <unknown>
> #14 0x557b2931a1dc <unknown>
> #15 0x557b29a6ec5d <unknown>
> #16 0x557b29a6301e <unknown>
> #17 0x557b29a63cf0 <unknown>
> #18 0x557b2bb8f5fe <unknown>
> #19 0x557b2bb90321 <unknown>
> #20 0x557b2bb84a1b <unknown><unknown>
>
> ##2124  0x0x557b2d0a1172557b286413fa  <unknown>
> #25 0x557b28627495 <unknown>
> #26 0x557b2bba6cd0 <unknown>
> #27 0x557b285d99a1 <unknown>
> #28 0x557b285d9f3d <unknown>
> #29 0x557b285d91d1 <unknown>
> #30 0x557b281a2f9a <unknown>
> #31 0x7f091e7ef040 <unknown>
> #22 0x557b29135d86 <unknown>
> #32 0x557b281a2dfa <unknown>
>   r8: 0000000000000000  r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000202
>  r12: 000027522aa181e0 r13: 0000000000000004 r14: 000027522aa181f8 r15: 0000557b2fc06352
>   di: 0000357c8b781000  si: 000000000001e000  bp: 000027522aa64000  bx: 000027522aa18200
>   dx: 0000000000000008  ax: ffffffffffffffff  cx: ffffffffffffff58  sp: 00007ffe2cd33b70
>   ip: 0000557b2cb6cc90 efl: 0000000000010286 cgf: 0000000000000033 erf: 0000000000000000
>  trp: 0000000000000006 msk: 0000000000000000 cr2: 0000000000000000
> [end of stack trace]
> <unknown>
> #23 0x557b286747fd <unknown>
> #24 0x557b2d10a8ce <unknown>
> #11 0x557b2bb8f5fe <unknown>
> #12 0x557b2bb90321 <unknown>
> #13 0x557b2bb84a1b <unknown>
> #14 0x557b2d0a1172 <unknown>
> #15 0x557b29135d86 <unknown>
> #16 0x557b286747fd <unknown>
> #17 0x557b2d10a8ce <unknown>
> #18 0x557b2d10aec4 <unknown>
> #19 0x557b286747fd <unknown>
> #20 0x557b2862865b <unknown>
> #21 0x557b286291dd <unknown>
> #25 0x557b2d10aec4 <unknown>
> #26 0x557b286747fd <unknown>
> #27 0x557b2862865b <unknown>
> #28 0x557b286291dd <unknown>
> #22 0x557b286294ab <unknown>
> #23 0x557b2862ada9 <unknown>
> #24 0x557b286413fa Received signal 11 <unknown> 000000000000
> #<unknown>0
>  #0x25557b2860a60e  0x557b28627495 <unknown>
> #26 0x557b2bba6cd0 <unknown>
> #27 0x557b285d99a1 <unknown>
> #28 0x557b285d9f3d <unknown>
> #29 0x557b285d91d1 <unknown>
> #30 0x557b281a2f9a <unknown>
> #31 0x7f091e7ef040 <unknown>
> #1 0x557b2860a9d9 <unknown>
> #32 0x557b281a2dfa <unknown>
>   r8: 0000000000000000  r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000202
>  r12: 00001991086181e0 r13: 0000000000000004 r14: 00001991086181f8 r15: 0000557b2fc06352
>   di: 00002a0341a41000  si: 000000000001e000  bp: 0000199108664000  bx: 0000199108618200
>   dx: 0000000000000008  ax: ffffffffffffffff  cx: ffffffffffffff58  sp: 00007ffe2cd33b70
>   ip: 0000557b2cb6cc90 efl: 0000000000010286 cgf: 0000000000000033 erf: 0000000000000000
>  trp: 0000000000000006 msk: 0000000000000000 cr2: 0000000000000000
> [end of stack trace]
> <unknown>
> #10 0x7f091e80318a <unknown>
> #11 0x557b28694b5a <unknown>
> #12 0x557b2869533b <unknown>
> #13 0x557b2860a885 <unknown>
> #14 0x557b2860a9f7 <unknown>
> #15 0x7f0923227e40 <unknown>
> #16 0x557b2cb6cc90 <unknown>
> #17 0x557b2931b580 <unknown>
> #2 0x7f0923227e40 <unknown>
> #3 0x7f091e803286 <unknown>
> #4 0x557b28694b5a <unknown>
> #5 0x557b2869533b <unknown>
> #6 0x557b2860a885 <unknown>
> #18 0x557b2931bd93 <unknown>
> #19 0x557b29319956 <unknown>
> #20 0x557b2931a1dc <unknown>
> #21 0x<unknown>557b29a6ec5d
>  #7 0x557b2860a9f7 <unknown>
> #8 0x7f0923227e40 <unknown>
> #9 0x7f091e801d38 <unknown>
> #22<unknown>
> 0x#557b29a6301e10  0x7f091e80318a <unknown>
> #11 0x557b28694b5a <unknown>
> #12 0x557b2869533b <unknown>
> #13 0x557b2860a885 <unknown>
> #14 0x557b2860a9f7 <unknown>
> #15 0x7f0923227e40 <unknown>
> #23 0x557b29a63cf0 <unknown>
> #16 0x557b2cb6cc90 <unknown>
> #17 0x557b2931b580 <unknown>
> #18 0x557b2931bd93 <unknown>
> #19 0x557b29319956 <unknown>
> #20 0x557b2931a1dc <unknown>
> #21 0x557b29a6ec5d <unknown>
> #22 0x557b29a6301e <unknown>
> #23 0x557b29a63cf0 <unknown>
> #24 0x557b2bb8f5fe <unknown>
> #25 0x557b2bb90321 <unknown>
> #26 0x557b2bb84a1b <unknown>
> <unknown>#
> 27# 240x 557b2d0a11720x 557b2bb8f5fe <unknown>
> #25 0x557b2bb90321 <unknown>
> #26 0x557b2bb84a1b <unknown>
> #27 0x557b2d0a1172 <unknown>
> #28 0x557b29135d86 <unknown>
> #29 0x557b286747fd <unknown>
> #30 0x557b2d10a8ce <unknown>
> #31 0x557b2d10aec4 <unknown>
> #32 0x557b286747fd <unknown>
> #33 0x557b2862865b <unknown>
> #34 0x557b286291dd <unknown>
> #35 0x557b286294ab <unknown>
> #36 0x557b2862ada9 <unknown>
> #28 0x557b29135d86 <unknown>
> #29 0x557b286747fd <unknown>
> #30 0x557b2d10a8ce <unknown>
> #31 0x557b2d10aec4 <unknown>
> #32 0x557b286747fd <unknown>
> #33 0x557b2862865b <unknown>
> #34 0x557b286291dd <unknown>
> #35 0x557b286294ab <unknown>
> #36 0x557b2862ada9 <unknown>
> #37 0x557b286413fa <unknown>
> #38 0x557b28627495 <unknown>
> #39 0x557b2bba6cd0 <unknown>
> #37 0x557b286413fa <unknown>
> #38 0x557b28627495 <unknown>
> #39 0x557b2bba6cd0 <unknown>
> #40 0x557b285d99a1 <unknown>
> #41 0x557b285d9f3d <unknown>
> #42 0x557b285d91d1 <unknown>
> #43 0x557b281a2f9a <unknown>
> #44 0x7f091e7ef040 <unknown>
> #40 0x557b285d99a1 <unknown>
> #45 0x557b281a2dfa <unknown>
>   r8: 0000000000000000  r9: ffffffffffffffff r10: 0000000000000008 r11: 0000000000000202
>  r12: 00007ffe2cd31320 r13: 0000557b276ad000 r14: 0000557b286747fc r15: 0000000000000040
>   di: 0000000000000001  si: 0000000000000001  bp: 00007ffe2cd31690  bx: 000000000000004e
>   dx: 0000000000000006  ax: 0000000000000006  cx: 00007f091e801d38  sp: 00007ffe2cd311d0
>   ip: 00007f091e803286 efl: 0000000000010246 cgf: 0000000000000033 erf: 0000000000000000
>  trp: 000000000000000d msk: 0000000000000008 cr2: 0000000000000000
> [end of stack trace]
> <unknown>
> #41 0x557b285d9f3d <unknown>
> #42 0x557b285d91d1 <unknown>
> #43 0x557b281a2f9a ChromeMain
> #44 0x7f091e7ef040 <unknown>
> #45 0x557b281a2dfa _start
>   r8: 0000000000000000  r9: ffffffffffffffff r10: 0000000000000008 r11: 0000000000000202
>  r12: 00007ffe2cd31320 r13: 0000557b276ad000 r14: 0000557b286291dc r15: 00000000000000c0
>   di: 0000000000000001  si: 0000000000000001  bp: 00007ffe2cd31690  bx: 000000000000004e
>   dx: 0000000000000006  ax: 0000000000000006  cx: 00007f091e801d38  sp: 00007ffe2cd311d0
>   ip: 00007f091e803286 efl: 0000000000010246 cgf: 0000000000000033 erf: 0000000000000000
>  trp: 000000000000000d msk: 0000000000000008 cr2: 0000000000000000
> [end of stack trace]
>
>
> On Fri 2016-05-13 @ 09:46:49 AM, Khem Raj wrote:
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>  .../fix_for_centos_5.8.patch                       | 18 --------
>>  ...tive_2.23.bb => cross-localedef-native_2.24.bb} | 18 ++++----
>>  ...glibc-initial_2.23.bb => glibc-initial_2.24.bb} |  0
>>  .../{glibc-locale_2.23.bb => glibc-locale_2.24.bb} |  0
>>  .../{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} |  0
>>  ...glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} |  0
>>  ...libc-Look-for-host-system-ld.so.cache-as-.patch |  8 ++--
>>  ...libc-Fix-buffer-overrun-with-a-relocated-.patch |  8 ++--
>>  ...libc-Raise-the-size-of-arrays-containing-.patch | 34 ++++++---------
>>  ...ivesdk-glibc-Allow-64-bit-atomics-for-x86.patch | 10 +++--
>>  ...500-e5500-e6500-603e-fsqrt-implementation.patch |  6 +--
>>  ...-OECORE_KNOWN_INTERPRETER_NAMES-to-known-.patch |  8 ++--
>>  ...-Fix-undefined-reference-to-__sqrt_finite.patch |  6 +--
>>  ...qrt-f-are-now-inline-functions-and-call-o.patch |  6 +--
>>  ...bug-1443-which-explains-what-the-patch-do.patch |  8 ++--
>>  ...n-libm-err-tab.pl-with-specific-dirs-in-S.patch | 10 ++---
>>  ...qrt-f-are-now-inline-functions-and-call-o.patch |  6 +--
>>  ...ersion-output-matching-grok-gold-s-output.patch | 14 +++----
>>  ...-configure.ac-handle-correctly-libc_cv_ro.patch |  6 +--
>>  .../glibc/glibc/0014-Add-unused-attribute.patch    |  8 ++--
>>  ...thin-the-path-sets-wrong-config-variables.patch | 10 ++---
>>  ...-timezone-re-written-tzselect-as-posix-sh.patch | 16 ++++----
>>  ...move-bash-dependency-for-nscd-init-script.patch |  8 ++--
>>  ...c-Cross-building-and-testing-instructions.patch |  6 +--
>>  ...019-eglibc-Help-bootstrap-cross-toolchain.patch |  8 ++--
>>  .../glibc/0020-eglibc-cherry-picked-from.patch     | 18 ++++----
>>  .../0021-eglibc-Clear-cache-lines-on-ppc8xx.patch  | 10 ++---
>>  ...0022-eglibc-Resolve-__fpscr_values-on-SH4.patch |  8 ++--
>>  .../glibc/0023-eglibc-Install-PIC-archives.patch   |  8 ++--
>>  ...ard-port-cross-locale-generation-support.patch} | 30 +++++++-------
>>  ...0025-Define-DUMMY_LOCALE_T-if-not-defined.patch | 32 +++++++++++++++
>>  ...ing-SSE-make-sure-fpmath-is-not-set-to-us.patch | 48 ----------------------
>>  .../glibc/{glibc_2.23.bb => glibc_2.24.bb}         | 12 +++---
>>  33 files changed, 171 insertions(+), 217 deletions(-)
>>  delete mode 100644 meta/recipes-core/glibc/cross-localedef-native/fix_for_centos_5.8.patch
>>  rename meta/recipes-core/glibc/{cross-localedef-native_2.23.bb => cross-localedef-native_2.24.bb} (84%)
>>  rename meta/recipes-core/glibc/{glibc-initial_2.23.bb => glibc-initial_2.24.bb} (100%)
>>  rename meta/recipes-core/glibc/{glibc-locale_2.23.bb => glibc-locale_2.24.bb} (100%)
>>  rename meta/recipes-core/glibc/{glibc-mtrace_2.23.bb => glibc-mtrace_2.24.bb} (100%)
>>  rename meta/recipes-core/glibc/{glibc-scripts_2.23.bb => glibc-scripts_2.24.bb} (100%)
>>  rename meta/recipes-core/glibc/glibc/{0025-eglibc-Forward-port-cross-locale-generation-support.patch => 0024-eglibc-Forward-port-cross-locale-generation-support.patch} (97%)
>>  create mode 100644 meta/recipes-core/glibc/glibc/0025-Define-DUMMY_LOCALE_T-if-not-defined.patch
>>  delete mode 100644 meta/recipes-core/glibc/glibc/0026-When-disabling-SSE-make-sure-fpmath-is-not-set-to-us.patch
>>  rename meta/recipes-core/glibc/{glibc_2.23.bb => glibc_2.24.bb} (93%)


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

* Re: [PATCH 1/6] glibc: Add recipes for 2.24 release
  2016-07-03 15:02     ` Khem Raj
@ 2016-07-05 14:56       ` Trevor Woerner
  0 siblings, 0 replies; 28+ messages in thread
From: Trevor Woerner @ 2016-07-05 14:56 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 6612 bytes --]

Hi Khem,

Sorry for the delay, I wanted to make absolutely sure of the statements in
this email so I started fresh and rebuilt everything from scratch a number of
times, stripped it down to the minimum, just to make sure I wasn't doing
something wrong with the things I'm doing in my normal builds. As you can
guess, building images (especially debug images) involving chromium can take a
while, not to mention I then need to download them from my build machine at
work to my home machine over a slow connection in order to run them... :-)


On Sun 2016-07-03 @ 08:02:04 AM, Khem Raj wrote:
> On Sun, Jul 3, 2016 at 6:45 AM, Trevor Woerner <twoerner@gmail.com> wrote:
> > I just finished a bisection task which implies this patch is the reason why
> > chromium crashes when run on x86_64 (minnow) with signal 4 ILL_ILLOPN. Note
> > that chromium compiles fine both before and after this patch, the problem is
> > when chromium is run.
> >
> > I'm not 100% how to move forward, at this point. Maybe the problem is caused
> > by the remove of the SSE patch?
> >
> > Any suggestions greatly appreciated! :-)
> >
> >
> > Received signal Received signal 44 ILL_ILLOPN  ILL_ILLOPN 557b2cb6cc90557b2cb6cc90
> 
> couple of ideas.
> 
> compile the image with debug info so we can see the full stack trace
> with symbols.

Taking your advice, I installed the chromium -dbg package to my minnow board,
then I installed all the -dbg packages opkg said the chromium -dbg package
recommended (28 in total) and re-ran the browser. I saw a slight improvement
in the dump to:

        root@intel-corei7-64:~/opkg# export DISPLAY=:0
        root@intel-corei7-64:~/opkg# google-chrome 
        [808:808:0703/160711:ERROR:gl_implementation.cc(223)] Failed to load libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or directory
        [808:808:0703/160712:ERROR:gpu_child_thread.cc(376)] Exiting GPU process due to errors during initialization
        [780:800:0703/160712:ERROR:browser_gpu_channel_host_factory.cc(119)] Failed to launch GPU process.
        [780:800:0703/160712:ERROR:browser_gpu_channel_host_factory.cc(119)] Failed to launch GPU process.
        Received signal 4 ILL_ILLOPN 55f79db06c90
        #0 0x55f7995a460e <unknown>
        #1 0x55f7995a49d9 <unknown>
        #2 0x7fa49806fe40 <unknown>
        #3 0x55f79db06c90 <unknown>
        #4 0x55f79a2b5580 <unknown>
        #5 0x55f79a2b5d93 <unknown>
        #6 0x55f79a2b3956 <unknown>
        #7 0x55f79a2b41dc <unknown>
        #8 0x55f79aa08c5d <unknown>
        #9 0x55f79a9fd01e <unknown>
        #10 0x55f79a9fdcf0 <unknown>
        #11 0x55f79cb295fe <unknown>
        #12 0x55f79cb2a321 <unknown>
        #13 0x55f79cb1ea1b <unknown>
        #14 0x55f79e03b172 <unknown>
        #15 0x55f79a0cfd86 <unknown>
        #16 0x55f79960e7fd <unknown>
        #17 0x55f79e0a48ce <unknown>
        #18 0x55f79e0a4ec4 <unknown>
        #19 0x55f79960e7fd <unknown>
        #20 0x55f7995c265b <unknown>
        #21 0x55f7995c31dd <unknown>
        #22 0x55f7995c34ab <unknown>
        #23 0x55f7995c4da9 <unknown>
        #24 0x55f7995db3fa <unknown>
        #25 0x55f7995c1495 <unknown>
        #26 0x55f79cb40cd0 <unknown>
        #27 0x55f7995739a1 <unknown>
        #28 0x55f799573f3d <unknown>
        #29 0x55f7995731d1 <unknown>
        #30 0x55f79913cf9a ChromeMain
        #31 0x7fa493637040 <unknown>
        #32 0x55f79913cdfa _start
          r8: 0000000000000000  r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000202
         r12: 00001884ff4181e0 r13: 0000000000000004 r14: 00001884ff4181f8 r15: 000055f7a0ba0352
          di: 0000134bf2101000  si: 000000000001e000  bp: 00001884ff464000  bx: 00001884ff418200
          dx: 0000000000000008  ax: ffffffffffffffff  cx: ffffffffffffff58  sp: 00007ffe64badc10
          ip: 000055f79db06c90 efl: 0000000000010286 cgf: 0000000000000033 erf: 0000000000000000
         trp: 0000000000000006 msk: 0000000000000000 cr2: 0000000000000000
        [end of stack trace]


As you can see, I went from a dump where no symbols were known to one where
only one was known :-)

I then decided to build an image that included every -dbg package (by adding
"dbg-pkgs" to "EXTRA_IMAGE_FEATURES") and ran the resulting image only to end
up with the exact same trace as above; everything unknown except for one line
with ChromeMain, grrr. I wonder why that didn't work and how I could get it to
work better?



> secondly, see if it fails same way on qemux86-64 as well.


Good idea!

I created minimal, core-image-x11, builds for qemux86-64 and the problem is
demonstrated there as well.

I've attached my local.conf and my chromium recipe if anyone is interested in
seeing this same behaviour too.

At the last ELC I mentioned in the BoF that I was working on splitting the
chromium recipe into -x11 and -wayland parts so that the -x11 part could move
forward independently of the ozone patches. This is what I was working on when
I stumbled across this issue, so I wanted to clear this up before submitting
my chromium updates for review (and, hopefully, inclusion).

To make things easier, start with a simple poky build:

$ git clone git://git.yoctoproject.org/poky meta-poky

You'll need to add meta-openembedded/meta-oe (for ninja) and
meta-openembedded/meta-gnome (for gnome-keyring):

$ git clone git://git.openembedded.org/meta-openembedded

$ . meta-poky/oe-init-build-env

add the two meta-openembedded repositories to bblayers and

$ bitbake core-image-x11

	Build Configuration:
	BB_VERSION        = "1.31.0"
	BUILD_SYS         = "x86_64-linux"
	NATIVELSBSTRING   = "SUSELINUX-42.1"
	TARGET_SYS        = "x86_64-poky-linux"
	MACHINE           = "qemux86-64"
	DISTRO            = "poky"
	DISTRO_VERSION    = "2.1+snapshot-20160705"
	TUNE_FEATURES     = "m64 core2"
	TARGET_FPU        = ""
	meta              
	meta-poky         
	meta-yocto-bsp    = "master:5c11e365e19357f721c49d076971567e7b64b61b"
	meta-oe           
	meta-gnome        = "master:1cb7275961fd4bca3a6cb70e064ad6e6e1ff04d6"

Run the resulting image in qemu, then, at the console:

# export DISPLAY=:0
# google-chrome

...and you'll see the problem.

Start a second build, but before you do, in the meta-poky repository:

$ git checkout 9b25b35

This is the commit just before the "problem" commit. Rebuild, re-run... and
chromium starts and runs without issue.


> sse patch was upstreamed so technically its not removed.

Ah, ok thanks.

[-- Attachment #2: chromium-53.tar.xz --]
[-- Type: application/octet-stream, Size: 24144 bytes --]

[-- Attachment #3: local.conf --]
[-- Type: text/plain, Size: 1503 bytes --]

MACHINE ?= "qemux86-64"
DISTRO ?= "poky"
DL_DIR ?= "/home/trevor/devel/Downloads"

# build data
INHERIT += "buildhistory"
INHERIT += "image-buildinfo"
INHERIT += "distrodata"
BUILDHISTORY_COMMIT = "1"

LICENSE_FLAGS_WHITELIST = "commercial"

CHROMIUM_BUILD_TYPE ?= "Release"
PACKAGECONFIG_pn-chromium-x11 ?= ""
IMAGE_FSTYPES_append = " vmdk"

# x11
CORE_IMAGE_EXTRA_INSTALL += " \
	chromium-x11 \
	"

# package_rpm, package_deb, package_ipk
PACKAGE_CLASSES ?= "package_ipk"
# dbg-pkgs, dev-pkgs, ptest-pkgs, tools-sdk, tools-debug, eclipse-debug, tools-profile, tools-testapps, debug-tweaks
#EXTRA_IMAGE_FEATURES = "debug-tweaks tools-debug tools-profile dbg-pkgs"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
# buildstats, image-mklibs, image-prelink, image-swab
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
# user, noop
PATCHRESOLVE = "noop"
# auto, gnome, xfce, rxvt, screen, konsole, none
OE_TERMINAL = "auto"
# contents of ~/local/bin/oeshell.sh: /bin/bash --rcfile $HOME/.bashrc.oe
#OE_TERMINAL = "custom"
#OE_TERMINAL_CUSTOMCMD = "/usr/bin/xterm -e $HOME/local/bin/oeshell.sh"

BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
ASSUME_PROVIDED += "libsdl-native"
CONF_VERSION = "1"

[-- Attachment #4: bblayers.conf --]
[-- Type: text/plain, Size: 454 bytes --]

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /z/chromium-qemux86-64/meta-poky/meta \
  /z/chromium-qemux86-64/meta-poky/meta-poky \
  /z/chromium-qemux86-64/meta-poky/meta-yocto-bsp \
  /z/chromium-qemux86-64/meta-openembedded/meta-oe \
  /z/chromium-qemux86-64/meta-openembedded/meta-gnome \
  "

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

end of thread, other threads:[~2016-07-05 14:56 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-13 16:46 [PATCH 0/6] Glibc/gdb upgrade switch to gcc-6 as default Khem Raj
2016-05-13 16:46 ` [PATCH 1/6] glibc: Add recipes for 2.24 release Khem Raj
2016-07-03 13:45   ` Trevor Woerner
2016-07-03 15:02     ` Khem Raj
2016-07-05 14:56       ` Trevor Woerner
2016-05-13 16:46 ` [PATCH 2/6] python-native: Point to expat in native sysroot and add missing dep on expat-native Khem Raj
2016-05-13 16:46 ` [PATCH 3/6] gdb: Upgrade to 7.11 Khem Raj
2016-05-13 16:46 ` [PATCH 4/6] tcmode-default: Bump gcc,glibc,gdb Khem Raj
2016-05-15  7:03   ` Richard Purdie
2016-05-15  9:25     ` Khem Raj
2016-05-16 12:49       ` Bruce Ashfield
2016-05-16 13:38         ` Bruce Ashfield
2016-05-24 14:51     ` Richard Purdie
2016-05-24 15:51       ` Bruce Ashfield
2016-05-24 18:18       ` Khem Raj
2016-05-25  6:39         ` Richard Purdie
2016-05-25  8:23           ` Khem Raj
2016-05-25 12:03             ` Bruce Ashfield
2016-05-25 12:01           ` Bruce Ashfield
2016-05-25 12:32           ` Bruce Ashfield
2016-05-25 13:31             ` Bruce Ashfield
2016-05-25 13:56               ` Richard Purdie
2016-05-25 14:15               ` Richard Purdie
2016-05-25 14:16                 ` Bruce Ashfield
2016-05-26 14:15                 ` Richard Purdie
2016-05-26 14:17                   ` Bruce Ashfield
2016-05-13 16:46 ` [PATCH 5/6] linux-yocto/4.4: gcc6 build fixes (powerpc and mips) Khem Raj
2016-05-13 16:46 ` [PATCH 6/6] feature-arm-vfp.inc: fix overzealous ARMPKGSFX_FPU modification Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox