From 043564f3b4dc1d2801c2170e92ec4b84403a1d0d Mon Sep 17 00:00:00 2001 From: Martin Borg Date: Tue, 29 Mar 2016 16:27:35 +0200 Subject: binutils: revert to version 2.25.1 for e500mc targets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Poky master branch has recently upgraded to binutils version 2.26, but for e500mc based targets the kernel crashes early in boot if built with this version of binutils. Reverting back to binutils 2.25.1 is a temporary workaround to be able to build bootable images for these targets. Signed-off-by: Martin Borg Signed-off-by: Nora Björklund --- ...ure-widen-the-regexp-for-SH-architectures.patch | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch (limited to 'recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch') diff --git a/recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch b/recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch new file mode 100644 index 0000000..34e21d1 --- /dev/null +++ b/recipes-devtools/binutils/binutils/0002-configure-widen-the-regexp-for-SH-architectures.patch @@ -0,0 +1,56 @@ +From dfbcfb0d71765b337e63562299a943043928d2d2 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 2 Mar 2015 01:07:33 +0000 +Subject: [PATCH 02/13] configure: widen the regexp for SH architectures + +gprof needs to know about uclibc + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + configure | 4 ++-- + gprof/configure | 5 +++++ + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 87677bc..e9f2f13 100755 +--- a/configure ++++ b/configure +@@ -3341,7 +3341,7 @@ case "${target}" in + ;; + s390-*-* | s390x-*-*) + ;; +- sh-*-* | sh[34]*-*-*) ++ sh*-*-* | sh[34]*-*-*) + ;; + sh64-*-* | sh5*-*-*) + ;; +@@ -3812,7 +3812,7 @@ case "${target}" in + or1k*-*-*) + noconfigdirs="$noconfigdirs gdb" + ;; +- sh-*-* | sh64-*-*) ++ sh*-*-* | sh64-*-*) + case "${target}" in + sh*-*-elf) + ;; +diff --git a/gprof/configure b/gprof/configure +index b09c8fb..79961c5 100755 +--- a/gprof/configure ++++ b/gprof/configure +@@ -5869,6 +5869,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) + lt_cv_deplibs_check_method=pass_all + ;; + ++linux-uclibc*) ++ lt_cv_deplibs_check_method=pass_all ++ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` ++ ;; ++ + netbsd*) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' +-- +2.1.4 + -- cgit v1.2.3-54-g00ecf