Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/6] gdb/binutils minor upgrades and misc
@ 2015-05-29 17:31 Khem Raj
  2015-05-29 17:32 ` [PATCH 1/6] glibc: ignore for musl/uclibc but only for target recipes Khem Raj
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Khem Raj @ 2015-05-29 17:31 UTC (permalink / raw)
  To: openembedded-core

This patchset has following

gdb minor upgrade to 7.9.1

binutils move to latest tip on 2.25 stable branch, it gets
the issue where copy relocations against protected symbols don't work
with bfd ld and gcc 5.0 on x86/x86-64 it could help with remaining build problem
with gcc5 seen on x86/x86-64  this also helps musl based systems
which suffer from same issue with gcc-5. This patch needs some runtime
testing with gcc 4.9 though

glibc patch is needed for non glibc libcs to be able to build in OE-core
currently its broken for uclibc and musl

Runqemu patch is required for newer versions of wayland/weston to work
after switching to libinput. I have tested it on weston/wayaland and on
x11/gnome image it worked ok.

alsa-plugins is a build break fix

openssl is a refresh of the last patch as a upstream backport no functional change

Khem Raj (6):
  glibc: ignore for musl/uclibc but only for target recipes
  runqemu-internal: Replace wacom-tablet with tablet for usbdevice
  openssl: Backport upstreamed version of patch to fix build on mips64
  alsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is
    enabled
  gdb: Minor upgrade to 7.9.1
  binutils: Update to tip of 2.25 branch

 ...ine-GCC_VERSION-macro-to-cover-upto-gcc-5.patch | 53 ----------------------
 ...lcl.h-fix-MIPS-specific-gcc-version-check.patch | 30 ++++++++++++
 .../recipes-connectivity/openssl/openssl_1.0.2a.bb |  2 +-
 meta/recipes-core/glibc/glibc-collateral.inc       |  3 ++
 meta/recipes-core/glibc/glibc_2.21.bb              |  9 ++--
 meta/recipes-devtools/binutils/binutils-2.25.inc   |  4 +-
 ...-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch} |  0
 .../gdb/{gdb-7.9.inc => gdb-7.9.1.inc}             |  4 +-
 ...canadian_7.9.bb => gdb-cross-canadian_7.9.1.bb} |  0
 .../gdb/{gdb-cross_7.9.bb => gdb-cross_7.9.1.bb}   |  0
 meta/recipes-devtools/gdb/gdb.inc                  |  1 -
 ...0001-make-man-install-relative-to-DESTDIR.patch |  2 +-
 .../gdb/gdb/0002-Change-order-of-CFLAGS.patch      |  2 +-
 ...d-support-for-Renesas-SH-sh4-architecture.patch |  2 +-
 .../gdb/0004-Change-comment-in-gdb-compile.patch   | 48 --------------------
 .../gdb/{gdb_7.9.bb => gdb_7.9.1.bb}               |  0
 .../recipes-multimedia/alsa/alsa-plugins_1.0.29.bb |  4 +-
 scripts/runqemu-internal                           |  4 +-
 18 files changed, 49 insertions(+), 119 deletions(-)
 delete mode 100644 meta/recipes-connectivity/openssl/openssl/0001-Define-GCC_VERSION-macro-to-cover-upto-gcc-5.patch
 create mode 100644 meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch
 rename meta/recipes-devtools/binutils/binutils/{0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch => 0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch} (100%)
 rename meta/recipes-devtools/gdb/{gdb-7.9.inc => gdb-7.9.1.inc} (68%)
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.9.bb => gdb-cross-canadian_7.9.1.bb} (100%)
 rename meta/recipes-devtools/gdb/{gdb-cross_7.9.bb => gdb-cross_7.9.1.bb} (100%)
 delete mode 100644 meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch
 rename meta/recipes-devtools/gdb/{gdb_7.9.bb => gdb_7.9.1.bb} (100%)

-- 
2.1.4



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

* [PATCH 1/6] glibc: ignore for musl/uclibc but only for target recipes
  2015-05-29 17:31 [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj
@ 2015-05-29 17:32 ` Khem Raj
  2015-05-29 17:32 ` [PATCH 2/6] runqemu-internal: Replace wacom-tablet with tablet for usbdevice Khem Raj
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2015-05-29 17:32 UTC (permalink / raw)
  To: openembedded-core

we still need nativesdk  or native recipes for libc to come
from glibc, but only be ignored for target recipes types

Change-Id: Ibaf8114f2aef63f1eadf493b264e78cd928535a0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-core/glibc/glibc-collateral.inc | 3 +++
 meta/recipes-core/glibc/glibc_2.21.bb        | 9 +++------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-core/glibc/glibc-collateral.inc b/meta/recipes-core/glibc/glibc-collateral.inc
index f82db06..60655eb 100644
--- a/meta/recipes-core/glibc/glibc-collateral.inc
+++ b/meta/recipes-core/glibc/glibc-collateral.inc
@@ -17,3 +17,6 @@ do_compile[noexec] = "1"
 
 do_install[depends] += "virtual/${MLPREFIX}libc:do_populate_sysroot"
 
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+COMPATIBLE_HOST_libc-uclibc_class-target = "null"
+
diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb
index 0c28814..4b94cba 100644
--- a/meta/recipes-core/glibc/glibc_2.21.bb
+++ b/meta/recipes-core/glibc/glibc_2.21.bb
@@ -69,14 +69,11 @@ 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"
 
 #
-# We will skip parsing glibc when system C library selection is not glibc
+# 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
 #
-python __anonymous () {
-    if d.getVar('TCLIBC', True) != "glibc":
-        raise bb.parse.SkipPackage("incompatible with %s C library" %
-                                   d.getVar('TCLIBC', True))
-}
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+COMPATIBLE_HOST_libc-uclibc_class-target = "null"
 
 EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
                 --without-cvs --disable-profile \
-- 
2.1.4



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

* [PATCH 2/6] runqemu-internal: Replace wacom-tablet with tablet for usbdevice
  2015-05-29 17:31 [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj
  2015-05-29 17:32 ` [PATCH 1/6] glibc: ignore for musl/uclibc but only for target recipes Khem Raj
@ 2015-05-29 17:32 ` Khem Raj
  2015-05-29 17:32 ` [PATCH 3/6] openssl: Backport upstreamed version of patch to fix build on mips64 Khem Raj
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2015-05-29 17:32 UTC (permalink / raw)
  To: openembedded-core

When booting weston-core-image with latest wayland/weston/libinput
mouse/touchpad would not work on qemux86, this fixes the issue

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 scripts/runqemu-internal | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index bc2a355..5282572 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -119,7 +119,7 @@ ORIG_STTY=$(stty -g)
 if [ "$SLIRP_ENABLED" = "yes" ]; then
     KERNEL_NETWORK_CMD="ip=dhcp"
     QEMU_TAP_CMD=""
-    QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice wacom-tablet"
+    QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice tablet"
     if [ "$KVM_ACTIVE" = "yes" ]; then
         QEMU_NETWORK_CMD=""
         DROOT="/dev/vda"
@@ -274,7 +274,7 @@ else
         fi
 
         KERNCMDLINE="mem=$QEMU_MEMORY"
-        QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice wacom-tablet"
+        QEMU_UI_OPTIONS="-show-cursor -usb -usbdevice tablet"
         if [ $MACHINE = 'qemuarm64' ]; then
             QEMU_UI_OPTIONS="-nographic"
         fi
-- 
2.1.4



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

* [PATCH 3/6] openssl: Backport upstreamed version of patch to fix build on mips64
  2015-05-29 17:31 [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj
  2015-05-29 17:32 ` [PATCH 1/6] glibc: ignore for musl/uclibc but only for target recipes Khem Raj
  2015-05-29 17:32 ` [PATCH 2/6] runqemu-internal: Replace wacom-tablet with tablet for usbdevice Khem Raj
@ 2015-05-29 17:32 ` Khem Raj
  2015-05-29 17:32 ` [PATCH 4/6] alsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is enabled Khem Raj
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2015-05-29 17:32 UTC (permalink / raw)
  To: openembedded-core

Previous patch had a concern as well and this is a direct backport of
the patch fixing the problem.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...ine-GCC_VERSION-macro-to-cover-upto-gcc-5.patch | 53 ----------------------
 ...lcl.h-fix-MIPS-specific-gcc-version-check.patch | 30 ++++++++++++
 .../recipes-connectivity/openssl/openssl_1.0.2a.bb |  2 +-
 3 files changed, 31 insertions(+), 54 deletions(-)
 delete mode 100644 meta/recipes-connectivity/openssl/openssl/0001-Define-GCC_VERSION-macro-to-cover-upto-gcc-5.patch
 create mode 100644 meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch

diff --git a/meta/recipes-connectivity/openssl/openssl/0001-Define-GCC_VERSION-macro-to-cover-upto-gcc-5.patch b/meta/recipes-connectivity/openssl/openssl/0001-Define-GCC_VERSION-macro-to-cover-upto-gcc-5.patch
deleted file mode 100644
index 46d1adf..0000000
--- a/meta/recipes-connectivity/openssl/openssl/0001-Define-GCC_VERSION-macro-to-cover-upto-gcc-5.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 0aa68f7681a74f6ff80a80c5843bc35e5effffb9 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 22 May 2015 12:43:39 -0700
-Subject: [PATCH] Define GCC_VERSION macro to cover upto gcc-5
-
-Current check is limited to gcc 4 with minor versions
-but when we use gcc 5.1, then minor version check fails
-with current setup and we end up with build errors like
-
-| In file included from bn_div.c:62:0:
-| bn_div.c: In function 'BN_div':
-| bn_lcl.h:311:9: error: impossible constraint in 'asm'
-|          asm ("dmultu    %2,%3"          \
-|          ^
-| bn_div.c:402:13: note: in expansion of macro 'BN_UMULT_LOHI'
-|              BN_UMULT_LOHI(t2l, t2h, d1, q);
-|              ^
-| <builtin>: recipe for target 'bn_div.o' failed
-| make[2]: *** [bn_div.o] Error 1
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
----
-Upstream-Status: [Submitted]
- crypto/bn/bn_lcl.h | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h
-index 196df7e..e801ba7 100644
---- a/crypto/bn/bn_lcl.h
-+++ b/crypto/bn/bn_lcl.h
-@@ -118,6 +118,9 @@
- extern "C" {
- #endif
- 
-+#define GCC_VERSION (__GNUC__ * 10000 \
-+                     + __GNUC_MINOR__ * 100 \
-+                     + __GNUC_PATCHLEVEL__)
- /*-
-  * Bignum consistency macros
-  * There is one "API" macro, bn_fix_top(), for stripping leading zeroes from
-@@ -443,7 +446,7 @@ unsigned __int64 _umul128(unsigned __int64 a, unsigned __int64 b,
- #   endif
- #  elif defined(__mips) && (defined(SIXTY_FOUR_BIT) || defined(SIXTY_FOUR_BIT_LONG))
- #   if defined(__GNUC__) && __GNUC__>=2
--#    if __GNUC__>=4 && __GNUC_MINOR__>=4
-+#    if GCC_VERSION > 40400
-                                      /* "h" constraint is no more since 4.4 */
- #     define BN_UMULT_HIGH(a,b)          (((__uint128_t)(a)*(b))>>64)
- #     define BN_UMULT_LOHI(low,high,a,b) ({     \
--- 
-2.1.4
-
diff --git a/meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch b/meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch
new file mode 100644
index 0000000..7308f8f
--- /dev/null
+++ b/meta/recipes-connectivity/openssl/openssl/0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch
@@ -0,0 +1,30 @@
+From 60c268b21ac81cc6b1af5c5470282a613b96f6fd Mon Sep 17 00:00:00 2001
+From: Andy Polyakov <appro@openssl.org>
+Date: Mon, 25 May 2015 10:17:14 +0200
+Subject: [PATCH] bn/bn_lcl.h: fix MIPS-specific gcc version check.
+
+RT#3859
+
+Reviewed-by: Tim Hudson <tjh@openssl.org>
+---
+Upstream-Status: Backport
+
+ crypto/bn/bn_lcl.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h
+index 196df7e..b9d124a 100644
+--- a/crypto/bn/bn_lcl.h
++++ b/crypto/bn/bn_lcl.h
+@@ -443,7 +443,7 @@ unsigned __int64 _umul128(unsigned __int64 a, unsigned __int64 b,
+ #   endif
+ #  elif defined(__mips) && (defined(SIXTY_FOUR_BIT) || defined(SIXTY_FOUR_BIT_LONG))
+ #   if defined(__GNUC__) && __GNUC__>=2
+-#    if __GNUC__>=4 && __GNUC_MINOR__>=4
++#    if __GNUC__>4 || (__GNUC__>=4 && __GNUC_MINOR__>=4)
+                                      /* "h" constraint is no more since 4.4 */
+ #     define BN_UMULT_HIGH(a,b)          (((__uint128_t)(a)*(b))>>64)
+ #     define BN_UMULT_LOHI(low,high,a,b) ({     \
+-- 
+2.1.4
+
diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2a.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2a.bb
index 5e767c3..f4006f6 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.0.2a.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.0.2a.bb
@@ -36,7 +36,7 @@ SRC_URI += "file://configure-targets.patch \
             file://ptest-deps.patch \
             file://run-ptest \
             file://crypto_use_bigint_in_x86-64_perl.patch \
-            file://0001-Define-GCC_VERSION-macro-to-cover-upto-gcc-5.patch \
+            file://0001-bn-bn_lcl.h-fix-MIPS-specific-gcc-version-check.patch \
            "
 
 SRC_URI[md5sum] = "a06c547dac9044161a477211049f60ef"
-- 
2.1.4



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

* [PATCH 4/6] alsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is enabled
  2015-05-29 17:31 [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj
                   ` (2 preceding siblings ...)
  2015-05-29 17:32 ` [PATCH 3/6] openssl: Backport upstreamed version of patch to fix build on mips64 Khem Raj
@ 2015-05-29 17:32 ` Khem Raj
  2015-05-29 17:32 ` [PATCH 5/6] gdb: Minor upgrade to 7.9.1 Khem Raj
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2015-05-29 17:32 UTC (permalink / raw)
  To: openembedded-core

The source file does not exist when pluseaudio is disabled

Change-Id: I78e0b9f4b8e66d8f41415c8672c1cb62c8fc5dc6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb b/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb
index 5105e77..80f0446 100644
--- a/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb
+++ b/meta/recipes-multimedia/alsa/alsa-plugins_1.0.29.bb
@@ -50,7 +50,9 @@ do_install_append() {
 	rm ${D}${libdir}/alsa-lib/*.la
 
 	# We use the example as is, so just drop the .example suffix.
-	mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
+	if [ "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'yes', 'no', d)}" = "yes" ]; then
+		mv ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example ${D}${datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
+	fi
 }
 
 python populate_packages_prepend() {
-- 
2.1.4



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

* [PATCH 5/6] gdb: Minor upgrade to 7.9.1
  2015-05-29 17:31 [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj
                   ` (3 preceding siblings ...)
  2015-05-29 17:32 ` [PATCH 4/6] alsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is enabled Khem Raj
@ 2015-05-29 17:32 ` Khem Raj
  2015-05-29 17:32 ` [PATCH 6/6] binutils: Update to tip of 2.25 branch Khem Raj
  2015-05-29 23:16 ` [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj
  6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2015-05-29 17:32 UTC (permalink / raw)
  To: openembedded-core

Drop backported patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../gdb/{gdb-7.9.inc => gdb-7.9.1.inc}             |  4 +-
 ...canadian_7.9.bb => gdb-cross-canadian_7.9.1.bb} |  0
 .../gdb/{gdb-cross_7.9.bb => gdb-cross_7.9.1.bb}   |  0
 meta/recipes-devtools/gdb/gdb.inc                  |  1 -
 ...0001-make-man-install-relative-to-DESTDIR.patch |  2 +-
 .../gdb/gdb/0002-Change-order-of-CFLAGS.patch      |  2 +-
 ...d-support-for-Renesas-SH-sh4-architecture.patch |  2 +-
 .../gdb/0004-Change-comment-in-gdb-compile.patch   | 48 ----------------------
 .../gdb/{gdb_7.9.bb => gdb_7.9.1.bb}               |  0
 9 files changed, 5 insertions(+), 54 deletions(-)
 rename meta/recipes-devtools/gdb/{gdb-7.9.inc => gdb-7.9.1.inc} (68%)
 rename meta/recipes-devtools/gdb/{gdb-cross-canadian_7.9.bb => gdb-cross-canadian_7.9.1.bb} (100%)
 rename meta/recipes-devtools/gdb/{gdb-cross_7.9.bb => gdb-cross_7.9.1.bb} (100%)
 delete mode 100644 meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch
 rename meta/recipes-devtools/gdb/{gdb_7.9.bb => gdb_7.9.1.bb} (100%)

diff --git a/meta/recipes-devtools/gdb/gdb-7.9.inc b/meta/recipes-devtools/gdb/gdb-7.9.1.inc
similarity index 68%
rename from meta/recipes-devtools/gdb/gdb-7.9.inc
rename to meta/recipes-devtools/gdb/gdb-7.9.1.inc
index 6d5eecb..1ca95af 100644
--- a/meta/recipes-devtools/gdb/gdb-7.9.inc
+++ b/meta/recipes-devtools/gdb/gdb-7.9.1.inc
@@ -4,6 +4,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 		    file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
 		    file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
 
-SRC_URI[md5sum] = "8f8ced422fe462a00e0135a643544f17"
-SRC_URI[sha256sum] = "d282508cb7df0cb8b2cf659032ce1bede7b5725796e3ac90f3cd9d65844a65f2"
+SRC_URI[md5sum] = "f3b97de919a9dba84490b2e076ec4cb0"
+SRC_URI[sha256sum] = "4994ad986726ac4128a6f1bd8020cd672e9a92aa76b80736563ef992992764ef"
 
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.9.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bb
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb-cross-canadian_7.9.bb
rename to meta/recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bb
diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.9.bb b/meta/recipes-devtools/gdb/gdb-cross_7.9.1.bb
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb-cross_7.9.bb
rename to meta/recipes-devtools/gdb/gdb-cross_7.9.1.bb
diff --git a/meta/recipes-devtools/gdb/gdb.inc b/meta/recipes-devtools/gdb/gdb.inc
index e65af4b..5466a7d 100644
--- a/meta/recipes-devtools/gdb/gdb.inc
+++ b/meta/recipes-devtools/gdb/gdb.inc
@@ -4,7 +4,6 @@ inherit gettext
 
 SRC_URI += "file://0002-Change-order-of-CFLAGS.patch \
             file://0003-Add-support-for-Renesas-SH-sh4-architecture.patch \
-            file://0004-Change-comment-in-gdb-compile.patch \
            "
 #LDFLAGS_append = " -s"
 #export CFLAGS_append=" -L${STAGING_LIBDIR}"
diff --git a/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch b/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
index e0221af..6996c18 100644
--- a/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
+++ b/meta/recipes-devtools/gdb/gdb/0001-make-man-install-relative-to-DESTDIR.patch
@@ -1,4 +1,4 @@
-From d3ec939b82be23e7c9534cdc7502645f6c5856d1 Mon Sep 17 00:00:00 2001
+From 12b0506951460c3cc37d775478d024db3f95e9d8 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
diff --git a/meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch b/meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch
index 26a34d3..bccb45f 100644
--- a/meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch
+++ b/meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch
@@ -1,4 +1,4 @@
-From 0dcb0a8b139b44ae84e8fd8ff8130cbbb52e444d Mon Sep 17 00:00:00 2001
+From 262ccc4fdb2a3df0f16c61a807046964ae7729c9 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
diff --git a/meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch b/meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch
index d82d269..4a3e22c 100644
--- a/meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch
+++ b/meta/recipes-devtools/gdb/gdb/0003-Add-support-for-Renesas-SH-sh4-architecture.patch
@@ -1,4 +1,4 @@
-From 4e5507488068b3ea2ebf9c84c6c192c7bfd3be82 Mon Sep 17 00:00:00 2001
+From 407cb13cfb70697f45dfb761304e005e1ecbd0e9 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.
diff --git a/meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch b/meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch
deleted file mode 100644
index 4df552c..0000000
--- a/meta/recipes-devtools/gdb/gdb/0004-Change-comment-in-gdb-compile.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-Upstream-Status: Backport
-
-From 09de64b93c2402e068daf0bce1c4a1dda833b646 Mon Sep 17 00:00:00 2001
-From: Jan Kratochvil <jan.kratochvil@redhat.com>
-Date: Thu, 26 Feb 2015 11:52:28 +0100
-Subject: [PATCH] Change // comment in gdb/compile/
-
-gdb/ChangeLog
-2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
-
-	PR build/18033
-	* compile/compile-c-support.c (c_compute_program): Change // comment.
-	* compile/compile-object-load.c (setup_sections): Change // comment.
----
- gdb/ChangeLog                     | 6 ++++++
- gdb/compile/compile-c-support.c   | 2 +-
- gdb/compile/compile-object-load.c | 2 +-
- 3 files changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/gdb/compile/compile-c-support.c b/gdb/compile/compile-c-support.c
-index 8f1f45d..1711cda 100644
---- a/gdb/compile/compile-c-support.c
-+++ b/gdb/compile/compile-c-support.c
-@@ -351,7 +351,7 @@ c_compute_program (struct compile_instance *inst,
- 			" __gdb_intptr;\n",
- 			buf);
- 
--      // Iterate all log2 sizes in bytes supported by c_get_mode_for_size.
-+      /* Iterate all log2 sizes in bytes supported by c_get_mode_for_size.  */
-       for (i = 0; i < 4; ++i)
- 	{
- 	  const char *mode = c_get_mode_for_size (1 << i);
-diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c
-index 5903f18..e187970 100644
---- a/gdb/compile/compile-object-load.c
-+++ b/gdb/compile/compile-object-load.c
-@@ -67,7 +67,7 @@ setup_sections (bfd *abfd, asection *sect, void *data_voidp)
-       if ((bfd_get_section_flags (abfd, sect) & SEC_ALLOC) == 0)
- 	return;
- 
--      // Make the memory always readable.
-+      /* Make the memory always readable.  */
-       prot = GDB_MMAP_PROT_READ;
-       if ((bfd_get_section_flags (abfd, sect) & SEC_READONLY) == 0)
- 	prot |= GDB_MMAP_PROT_WRITE;
--- 
-2.1.4
-
diff --git a/meta/recipes-devtools/gdb/gdb_7.9.bb b/meta/recipes-devtools/gdb/gdb_7.9.1.bb
similarity index 100%
rename from meta/recipes-devtools/gdb/gdb_7.9.bb
rename to meta/recipes-devtools/gdb/gdb_7.9.1.bb
-- 
2.1.4



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

* [PATCH 6/6] binutils: Update to tip of 2.25 branch
  2015-05-29 17:31 [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj
                   ` (4 preceding siblings ...)
  2015-05-29 17:32 ` [PATCH 5/6] gdb: Minor upgrade to 7.9.1 Khem Raj
@ 2015-05-29 17:32 ` Khem Raj
  2015-05-29 23:16 ` [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj
  6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2015-05-29 17:32 UTC (permalink / raw)
  To: openembedded-core

This update brings following patches

749b1c7 Fix some PPC assembler errors.
fe1e924 [AArch64][Backport] Remove Load/Store register (unscaled immediate) alias
4e4d08c [AArch64][Backport] Don't always create new frag for .inst directive
0381bf1 [AArch64][Backport] PR18270, fix handling of GOT entry for local symbol
bb22a11 [AArch64][Backport]Improve PC-relative relocation check for shared library
699dcf3 opcodes/
e700dd4 Downgrade linker error on protected symbols in .dynbss to a warning
13ccf8a Revert "Add extern_protected_data and set it for x86"
b0356a6 Add support for the Samsung Exynos M1 processor.
40dbf9d Add support for the Samsung Exynos M1 processor.
2aa5937 Don't pass unadorned zeros to varargs functions
12aca65 Relax PR 15228 protected visibility restriction
b443789 [AArch64] Fix branch stubs for BE
ab50ec0 Import fixes from mainline sources that address illegal memory access problems with the ELF targeted parts of the BFD library.
a539f2c Import patches from the master sources which fix illegal memory accesses found by running the binutils on fuzzed binaries.
a5ebc2c Fix build problem introduced by previous delta to coffgrok.c
7a57494 Import fixes from mainline that address illegal memory accesses when working with COFF/PE based files.
4f9583e Import fixes from trunk sources to correct invalid memory access issues with various binutils programs.
304a2b6 Import fixes for invalid memory access issues in the binutils DWARF parser from the trunk sources.
1dead8a Import security fixes for readelf from the master branch:
3e3feb3 Limit multi-byte nop instructions to 10 bytes
f12dd7b S/390: Disable relocation sort against code sections.
846daac Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated
7235408 Tweak ppc32 tls_get_addr optimisation
642fe3b PowerPC64 thread-safe stubs not needed for iplt
2791b63 Use dynamic text relocs for protected vars
cff59f0 PowerPC64 GOLD: complain on misaligned _DS relocs
20951c8 Fix gold error: hidden symbol '...' is not defined locally
7428be5 [AArch64][2.25] Backport support for Cortex-A72
8093a8b [ARM][2.25] Backport support for Cortex-A72
f7cf878 [ARM] Backport "Skip private symbol when doing objdump"
031994d Add extern_protected_data and set it for x86

Additionally rearranges the local patches in sequence

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/binutils/binutils-2.25.inc                      | 4 ++--
 ...REL32.patch => 0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch} | 0
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/binutils/binutils/{0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch => 0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch} (100%)

diff --git a/meta/recipes-devtools/binutils/binutils-2.25.inc b/meta/recipes-devtools/binutils/binutils-2.25.inc
index 269bcbb..c9a5fe0 100644
--- a/meta/recipes-devtools/binutils/binutils-2.25.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.25.inc
@@ -16,7 +16,7 @@ def binutils_branch_version(d):
 
 BINUPV = "${@binutils_branch_version(d)}"
 
-SRCREV = "f2df1e49400f9e2d8d63a5d0fec9bf8c5c2b3342"
+SRCREV = "bff55dd20499331280c96697a25b48dd4d7b69e8"
 SRC_URI = "\
      git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \
      file://0002-configure-widen-the-regexp-for-SH-architectures.patch \
@@ -31,7 +31,7 @@ SRC_URI = "\
      file://0011-Change-default-emulation-for-mips64-linux.patch \
      file://0012-Add-XLP-instructions-support.patch \
      file://0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch \
-     file://0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch \
+     file://0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch \
      "
 S  = "${WORKDIR}/git"
 
diff --git a/meta/recipes-devtools/binutils/binutils/0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch b/meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch
similarity index 100%
rename from meta/recipes-devtools/binutils/binutils/0001-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch
rename to meta/recipes-devtools/binutils/binutils/0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch
-- 
2.1.4



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

* Re: [PATCH 0/6] gdb/binutils minor upgrades and misc
  2015-05-29 17:31 [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj
                   ` (5 preceding siblings ...)
  2015-05-29 17:32 ` [PATCH 6/6] binutils: Update to tip of 2.25 branch Khem Raj
@ 2015-05-29 23:16 ` Khem Raj
  6 siblings, 0 replies; 8+ messages in thread
From: Khem Raj @ 2015-05-29 23:16 UTC (permalink / raw)
  To: openembedded-core

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


> On May 29, 2015, at 10:32 AM, Khem Raj <raj.khem@gmail.com> wrote:
> 
> This patchset has following
> 
> gdb minor upgrade to 7.9.1
> 
> binutils move to latest tip on 2.25 stable branch, it gets
> the issue where copy relocations against protected symbols don't work
> with bfd ld and gcc 5.0 on x86/x86-64 it could help with remaining build problem
> with gcc5 seen on x86/x86-64  this also helps musl based systems
> which suffer from same issue with gcc-5. This patch needs some runtime
> testing with gcc 4.9 though
> 
> glibc patch is needed for non glibc libcs to be able to build in OE-core
> currently its broken for uclibc and musl
> 
> Runqemu patch is required for newer versions of wayland/weston to work
> after switching to libinput. I have tested it on weston/wayaland and on
> x11/gnome image it worked ok.
> 
> alsa-plugins is a build break fix
> 
> openssl is a refresh of the last patch as a upstream backport no functional change

I have added another patch which I forgot last time to fix alas-utils on non-glibc case.


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

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

end of thread, other threads:[~2015-05-29 23:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-29 17:31 [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj
2015-05-29 17:32 ` [PATCH 1/6] glibc: ignore for musl/uclibc but only for target recipes Khem Raj
2015-05-29 17:32 ` [PATCH 2/6] runqemu-internal: Replace wacom-tablet with tablet for usbdevice Khem Raj
2015-05-29 17:32 ` [PATCH 3/6] openssl: Backport upstreamed version of patch to fix build on mips64 Khem Raj
2015-05-29 17:32 ` [PATCH 4/6] alsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is enabled Khem Raj
2015-05-29 17:32 ` [PATCH 5/6] gdb: Minor upgrade to 7.9.1 Khem Raj
2015-05-29 17:32 ` [PATCH 6/6] binutils: Update to tip of 2.25 branch Khem Raj
2015-05-29 23:16 ` [PATCH 0/6] gdb/binutils minor upgrades and misc Khem Raj

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