Skip to contentSkip to conversation

upgrade 8 recipes

PATCH New Hongxu Jia 1 participant 9 messages Jul 2, 2018

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover upgrade 8 recipes

Build successfully:
- qemux86-64 + glibc
- qemux86-64 + musl
- qemuarm64 + glibc
- qemuarm64 + musl

//Hongxu

The following changes since commit 6f8f984ba363f764e83290b972ec31a90aad1603:

initrdscripts/init-live.sh: fix mounts w/ spaces fail to move to real rootfs (2018-06-28 23:33:55 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib hongxu/upgrade-20180701
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/upgrade-20180701

Hongxu Jia (8):
gnupg: 2.2.5 -> 2.2.8
gpgme: 1.10.0 -> 1.11.1
man-db: 2.8.2 -> 2.8.3
elfutils: 0.170 -> 0.172
man-pages: 4.14 -> 4.16
help2man-native: 1.47.5 -> 1.47.6
libgcrypt: 1.8.2 -> 1.8.3
ncurses: 6.1 -> 6.1+20180630

 .../{ncurses_6.1.bb => ncurses_6.1+20180630.bb}    |   2 +-
 .../{elfutils_0.170.bb => elfutils_0.172.bb}       |  22 +-
 .../elfutils/files/0001-dso-link-change.patch      |   8 +-
 ...0001-libasm-may-link-with-libbz2-if-found.patch |  12 +-
 ...-elf_cvt_gunhash-if-dest-and-src-are-same.patch |   4 +-
 .../elfutils/files/0003-fixheadercheck.patch       |   6 +-
 .../0004-Disable-the-test-to-convert-euc-jp.patch  |   4 +-
 .../files/0005-fix-a-stack-usage-warning.patch     |   8 +-
 .../files/0006-Fix-build-on-aarch64-musl.patch     |   4 +-
 ...-path-where-we-have-str-as-uninitialized-.patch |  12 +-
 ...de-alternatives-for-glibc-assumptions-hel.patch | 201 ++++++-------
 ...ferences-between-mips-machine-identifiers.patch |   4 -
 .../{arm_backend.diff => 0001-arm_backend.patch}   | 322 +++++++++++----------
 .../files/debian/0001-disable_werror.patch         |  35 +++
 .../files/debian/0001-fix-gcc7-ftbfs.patch         |  57 ++++
 .../{hppa_backend.diff => 0001-hppa_backend.patch} | 170 ++++++-----
 ...{mips_backend.patch => 0001-mips_backend.patch} |  31 +-
 ...s_readelf_w.patch => 0001-mips_readelf_w.patch} |  24 +-
 .../debian/0001-testsuite-ignore-elflint.patch     |  57 ++++
 ...-support-for-mips64-abis-in-mips_retval.c.patch |   3 -
 .../0003-Add-mips-n64-relocation-format-hack.patch |   5 +-
 .../elfutils/files/debian/hurd_path.patch          |  14 +
 .../elfutils/files/debian/ignore_strmerge.diff     |  11 +
 .../elfutils/files/debian/kfreebsd_path.patch      |  17 ++
 ...-native_1.47.5.bb => help2man-native_1.47.6.bb} |   4 +-
 .../man-db/{man-db_2.8.2.bb => man-db_2.8.3.bb}    |   4 +-
 .../{man-pages_4.14.bb => man-pages_4.16.bb}       |   4 +-
 .../gnupg/{gnupg_2.2.5.bb => gnupg_2.2.8.bb}       |   4 +-
 .../gpgme/gpgme/0001-pkgconfig.patch               |  18 +-
 ...python-gpg-error-config-should-not-be-use.patch |  10 +-
 .../0003-Correctly-install-python-modules.patch    |   6 +-
 .../gpgme/gpgme/0004-python-import.patch           |   6 +-
 ...g-skip-all-lib-or-usr-lib-directories-in-.patch |   6 +-
 .../gpgme/gpgme/0006-fix-build-path-issue.patch    |   6 +-
 .../0007-qt-python-Add-variables-to-tests.patch    |  12 +-
 .../gpgme/{gpgme_1.10.0.bb => gpgme_1.11.1.bb}     |   6 +-
 .../{libgcrypt_1.8.2.bb => libgcrypt_1.8.3.bb}     |   4 +-
 37 files changed, 675 insertions(+), 448 deletions(-)
 rename meta/recipes-core/ncurses/{ncurses_6.1.bb => ncurses_6.1+20180630.bb} (86%)
 rename meta/recipes-devtools/elfutils/{elfutils_0.170.bb => elfutils_0.172.bb} (79%)
 rename meta/recipes-devtools/elfutils/files/debian/{arm_backend.diff => 0001-arm_backend.patch} (87%)
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/0001-disable_werror.patch
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/0001-fix-gcc7-ftbfs.patch
 rename meta/recipes-devtools/elfutils/files/debian/{hppa_backend.diff => 0001-hppa_backend.patch} (89%)
 rename meta/recipes-devtools/elfutils/files/debian/{mips_backend.patch => 0001-mips_backend.patch} (97%)
 rename meta/recipes-devtools/elfutils/files/debian/{mips_readelf_w.patch => 0001-mips_readelf_w.patch} (48%)
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/0001-testsuite-ignore-elflint.patch
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/hurd_path.patch
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/ignore_strmerge.diff
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/kfreebsd_path.patch
 rename meta/recipes-devtools/help2man/{help2man-native_1.47.5.bb => help2man-native_1.47.6.bb} (79%)
 rename meta/recipes-extended/man-db/{man-db_2.8.2.bb => man-db_2.8.3.bb} (90%)
 rename meta/recipes-extended/man-pages/{man-pages_4.14.bb => man-pages_4.16.bb} (87%)
 rename meta/recipes-support/gnupg/{gnupg_2.2.5.bb => gnupg_2.2.8.bb} (92%)
 rename meta/recipes-support/gpgme/{gpgme_1.10.0.bb => gpgme_1.11.1.bb} (93%)
 rename meta/recipes-support/libgcrypt/{libgcrypt_1.8.2.bb => libgcrypt_1.8.3.bb} (92%)
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/8 gnupg: 2.2.5 -> 2.2.8

---
 meta/recipes-support/gnupg/{gnupg_2.2.5.bb => gnupg_2.2.8.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/gnupg/{gnupg_2.2.5.bb => gnupg_2.2.8.bb} (92%)
meta/recipes-support/gnupg/gnupg_2.2.8.bb renamed from meta/recipes-support/gnupg/gnupg_2.2.5.bb +2 -2
similarity index 92%
rename from meta/recipes-support/gnupg/gnupg_2.2.5.bb
rename to meta/recipes-support/gnupg/gnupg_2.2.8.bb
index f6d5dad..35a033c 100644
@@ -18,8 +18,8 @@ SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
 SRC_URI_append_class-native = " file://0001-configure.ac-use-a-custom-value-for-the-location-of-.patch"
 
 
-SRC_URI[md5sum] = "567cd2d41fa632903066fde73d2005cb"
-SRC_URI[sha256sum] = "3fa189a32d4fb62147874eb1389047c267d9ba088f57ab521cb0df46f08aef57"
+SRC_URI[md5sum] = "0db6d8ec569e260435a7d2bfb2ecfe5c"
+SRC_URI[sha256sum] = "777b4cb8ced21965a5053d4fa20fe11484f0a478f3d011cef508a1a49db50dcd"
 
 EXTRA_OECONF = "--disable-ldap \
 		--disable-ccid-driver \
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH 2/8 gpgme: 1.10.0 -> 1.11.1

In reply to Hongxu Jia

License-Update: copyright years updated 2001-2017 -> 2001-2018

---
 meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch  | 18 +++++++++---------
 ...ang-python-gpg-error-config-should-not-be-use.patch | 10 +++++-----
 .../gpgme/0003-Correctly-install-python-modules.patch  |  6 +++---
 .../gpgme/gpgme/0004-python-import.patch               |  6 +++---
 ...onfig-skip-all-lib-or-usr-lib-directories-in-.patch |  6 +++---
 .../gpgme/gpgme/0006-fix-build-path-issue.patch        |  6 +++---
 .../gpgme/0007-qt-python-Add-variables-to-tests.patch  | 12 ++++++------
 .../gpgme/{gpgme_1.10.0.bb => gpgme_1.11.1.bb}         |  6 +++---
 8 files changed, 35 insertions(+), 35 deletions(-)
 rename meta/recipes-support/gpgme/{gpgme_1.10.0.bb => gpgme_1.11.1.bb} (93%)
meta/recipes-support/gpgme/gpgme/0001-pkgconfig.patch +9 -9
index f1997e1..ae9a46e 100644
@@ -1,7 +1,7 @@
-From 265faf8fe0acaca2043a248a4df02b0868ffa6de Mon Sep 17 00:00:00 2001
+From c452ba58dd2f99d6e624421697417cc018f9a67a Mon Sep 17 00:00:00 2001
 From: Richard Purdie <[email protected]>
-Date: Wed, 16 Aug 2017 02:00:08 -0400
-Subject: [PATCH 1/4] pkgconfig
+Date: Fri, 29 Jun 2018 14:35:41 +0800
+Subject: [PATCH 1/7] pkgconfig
 
 Update gpgme to use pkgconfig instead of -config files since its
 simpler and less error prone when cross compiling.
@@ -11,7 +11,7 @@ RP 2015/4/17
 
 Signed-off-by: Richard Purdie <[email protected]>
 
-Rebase to 1.9.0
+Rebase to 1.11.1
 
 Signed-off-by: Hongxu Jia <[email protected]>
 ---
@@ -25,10 +25,10 @@ Signed-off-by: Hongxu Jia <[email protected]>
  create mode 100644 src/gpgme.pc.in
 
 diff --git a/configure.ac b/configure.ac
-index 6ea4bcd..2a0d528 100644
+index 2a35404..7485cdf 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -887,6 +887,7 @@ AC_CONFIG_FILES(Makefile src/Makefile
+@@ -886,6 +886,7 @@ AC_CONFIG_FILES(Makefile src/Makefile
                  src/versioninfo.rc
                  src/gpgme.h)
  AC_CONFIG_FILES(src/gpgme-config, chmod +x src/gpgme-config)
@@ -37,7 +37,7 @@ index 6ea4bcd..2a0d528 100644
  AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig-w32.cmake.in)
  AC_CONFIG_FILES(lang/cpp/src/GpgmeppConfig.cmake.in)
 diff --git a/src/Makefile.am b/src/Makefile.am
-index ce6f1d4..5f38fee 100644
+index 0a196e0..cecaf8f 100644
 --- a/src/Makefile.am
 +++ b/src/Makefile.am
 @@ -19,12 +19,14 @@
@@ -54,7 +54,7 @@ index ce6f1d4..5f38fee 100644
 +pkgconfigdir = $(libdir)/pkgconfig
 +pkgconfig_DATA = gpgme.pc gpgme-pthread.pc
  
- bin_PROGRAMS = gpgme-tool
+ bin_PROGRAMS = gpgme-tool gpgme-json
  
 diff --git a/src/gpgme-pthread.pc.in b/src/gpgme-pthread.pc.in
 new file mode 100644
@@ -299,5 +299,5 @@ index 0000000..b69539f
 +Requires: libassuan gpg-error
 \ No newline at end of file
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-support/gpgme/gpgme/0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch +5 -5
index d20271e..4f5ceda 100644
@@ -1,7 +1,7 @@
-From 30f7a694cc4568ecb24f77c83a6123ed3f4075fa Mon Sep 17 00:00:00 2001
+From 45d828356efc140a1492befb1e6dc59a9f4e16b5 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Wed, 31 Jan 2018 10:44:19 +0800
-Subject: [PATCH] gpgme/lang/python: gpg-error-config should not be used
+Subject: [PATCH 2/7] gpgme/lang/python: gpg-error-config should not be used
 
 gpg-error-config was modified by OE to always return an error.
 So we want to find an alternative way to retrieve whatever it
@@ -19,7 +19,7 @@ Signed-off-by: Hongxu Jia <[email protected]>
  1 file changed, 1 insertion(+), 9 deletions(-)
 
 diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
-index f9dda20..9f5d61f 100755
+index 2595073..60b5257 100755
 --- a/lang/python/setup.py.in
 +++ b/lang/python/setup.py.in
 @@ -26,7 +26,6 @@ import shutil
@@ -30,7 +30,7 @@ index f9dda20..9f5d61f 100755
  gpgme_config_flags = ["--thread=pthread"]
  gpgme_config = ["gpgme-config"] + gpgme_config_flags
  gpgme_h = ""
-@@ -174,14 +173,7 @@ class BuildExtFirstHack(build):
+@@ -157,14 +156,7 @@ class BuildExtFirstHack(build):
  
      def _generate_errors_i(self):
  
@@ -47,5 +47,5 @@ index f9dda20..9f5d61f 100755
          filter_re = re.compile(r'GPG_ERR_[^ ]* =')
          rewrite_re = re.compile(r' *(.*) = .*')
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-support/gpgme/gpgme/0003-Correctly-install-python-modules.patch +3 -3
index 7c9cccc..330bec6 100644
@@ -1,7 +1,7 @@
-From 93aae34ee70b8d50b31a19a65d6ac8290cb148ae Mon Sep 17 00:00:00 2001
+From 60baf9ebf30bed0e2ee3c7c5a74d5b6d50035862 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Tue, 30 Jan 2018 15:28:49 +0800
-Subject: [PATCH 2/4] Correctly install python modules
+Subject: [PATCH 3/7] Correctly install python modules
 
 Upstream-Status: Inappropriate [oe-core specific]
 Signed-off-by: Alexander Kanavin <[email protected]>
@@ -29,5 +29,5 @@ index 8d74cbd..ce4f0a5 100644
  	done
  
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-support/gpgme/gpgme/0004-python-import.patch +3 -3
index d2b039d..1a60f79 100644
@@ -1,7 +1,7 @@
-From 32ecc3f058307060e40af86127cd226248a73c41 Mon Sep 17 00:00:00 2001
+From fd7dcceeee439eb479edbb418bab635343414ee6 Mon Sep 17 00:00:00 2001
 From: Ross Burton <[email protected]>
 Date: Wed, 16 Aug 2017 02:06:45 -0400
-Subject: [PATCH 3/4] python import
+Subject: [PATCH 4/7] python import
 
 Don't check for output on stderr to know if an import worked, host inputrc and
 sysroot readline can cause warnings on stderr.
@@ -30,5 +30,5 @@ index b990d5b..318b089 100644
  	else
  		AC_MSG_RESULT([no])
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-support/gpgme/gpgme/0005-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch +3 -3
index 963ae87..2da7904 100644
@@ -1,7 +1,7 @@
-From 6dcedc4dd055af902719b1a1cb10daa935a27f58 Mon Sep 17 00:00:00 2001
+From a58d90632a9907be3e8001800a143ac19075241a Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <[email protected]>
 Date: Thu, 13 Apr 2017 16:40:27 +0300
-Subject: [PATCH 4/4] gpgme-config: skip all /lib* or /usr/lib* directories in
+Subject: [PATCH 5/7] gpgme-config: skip all /lib* or /usr/lib* directories in
  output
 
 The logic was not working in multilib setups which use other
@@ -27,5 +27,5 @@ index a4d152e..8342865 100644
                        ;;
                    -L*|-l*)
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-support/gpgme/gpgme/0006-fix-build-path-issue.patch +3 -3
index 8cc8983..26ff472 100644
@@ -1,7 +1,7 @@
-From 180a5669e4a13a550b1b0dcef1689b6c0470fe54 Mon Sep 17 00:00:00 2001
+From 4f83750ce402b65d16cc09f8a0274a7ec76fc634 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Wed, 31 Jan 2018 11:01:09 +0800
-Subject: [PATCH] fix build path issue
+Subject: [PATCH 6/7] fix build path issue
 
 Get the "--root" directory supplied to the "install" command,
 and use it as a prefix to strip off the purported filename
@@ -33,5 +33,5 @@ index ce4f0a5..5a468f1 100644
  	done
  
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-support/gpgme/gpgme/0007-qt-python-Add-variables-to-tests.patch +6 -6
index ce3745c..63eeacf 100644
@@ -1,7 +1,7 @@
-From f47e8c6f9e461803468a64581d3640d873352eaa Mon Sep 17 00:00:00 2001
+From d3087348348b4a7fcfb05bf2a75b4a63453e1c77 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Thu, 1 Feb 2018 10:14:30 +0800
-Subject: [PATCH] qt/python: Add variables to tests
+Subject: [PATCH 7/7] qt/python: Add variables to tests
 
 * configure.ac, lang/python/Makefile.am:
   New variable to `lang/python', set to `lang/python' if RUN_LANG_PYTHON_TESTS
@@ -19,10 +19,10 @@ Signed-off-by: Hongxu Jia <[email protected]>
  3 files changed, 21 insertions(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index 608c376..fad7467 100644
+index 7485cdf..4aa216d 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -536,6 +536,17 @@ AC_ARG_ENABLE(g13-test,
+@@ -535,6 +535,17 @@ AC_ARG_ENABLE(g13-test,
           run_g13_test=$enableval)
  AM_CONDITIONAL(RUN_G13_TESTS, test "$run_g13_test" = "yes")
  
@@ -41,7 +41,7 @@ index 608c376..fad7467 100644
  # Checks for header files.
  AC_CHECK_HEADERS_ONCE([locale.h sys/select.h sys/uio.h argp.h
 diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
-index 8d74cbd..43b5d1e 100644
+index 5a468f1..43b9788 100644
 --- a/lang/python/Makefile.am
 +++ b/lang/python/Makefile.am
 @@ -24,7 +24,10 @@ EXTRA_DIST = \
@@ -74,5 +74,5 @@ index ab85960..a244ede 100644
  
  EXTRA_DIST = README
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-support/gpgme/gpgme_1.11.1.bb renamed from meta/recipes-support/gpgme/gpgme_1.10.0.bb +3 -3
similarity index 93%
rename from meta/recipes-support/gpgme/gpgme_1.10.0.bb
rename to meta/recipes-support/gpgme/gpgme_1.11.1.bb
index f015f3a..151fc03 100644
@@ -6,7 +6,7 @@ BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
 LICENSE = "GPLv2+ & LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://COPYING.LESSER;md5=bbb461211a33b134d42ed5ee802b37ff \
-                    file://src/gpgme.h.in;endline=23;md5=9d157d08a69059344e6f82abd2d25781 \
+                    file://src/gpgme.h.in;endline=23;md5=4d6319e587fd944adfe61a41a8f15b36 \
                     file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d"
 
 UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
@@ -20,8 +20,8 @@ SRC_URI = "${GNUPG_MIRROR}/gpgme/${BP}.tar.bz2 \
            file://0007-qt-python-Add-variables-to-tests.patch \
           "
 
-SRC_URI[md5sum] = "78b1533c593478982ee2fc548260c563"
-SRC_URI[sha256sum] = "1a8fed1197c3b99c35f403066bb344a26224d292afc048cfdfc4ccd5690a0693"
+SRC_URI[md5sum] = "129c46fb85a7ffa41e43345e48aee884"
+SRC_URI[sha256sum] = "2d1b111774d2e3dd26dcd7c251819ce4ef774ec5e566251eb9308fa7542fbd6f"
 
 DEPENDS = "libgpg-error libassuan"
 RDEPENDS_${PN}-cpp += "libstdc++"
Signature · 1 line
2.7.4
author
#3 lore raw

PATCH 3/8 man-db: 2.8.2 -> 2.8.3

In reply to Hongxu Jia
---
 meta/recipes-extended/man-db/{man-db_2.8.2.bb => man-db_2.8.3.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/man-db/{man-db_2.8.2.bb => man-db_2.8.3.bb} (90%)
meta/recipes-extended/man-db/man-db_2.8.3.bb renamed from meta/recipes-extended/man-db/man-db_2.8.2.bb +2 -2
similarity index 90%
rename from meta/recipes-extended/man-db/man-db_2.8.2.bb
rename to meta/recipes-extended/man-db/man-db_2.8.3.bb
index 797f770..412e572 100644
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://docs/COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343
                     file://docs/COPYING;md5=eb723b61539feef013de476e68b5c50a"
 
 SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/man-db/man-db-${PV}.tar.xz"
-SRC_URI[md5sum] = "300788c0939a3b41d50302b04f730fa3"
-SRC_URI[sha256sum] = "45bdff87df888ddd93dc2a68abca91a2012d6e08333a8fc7c0dfefe9cbde0c5c"
+SRC_URI[md5sum] = "6f3055e18fdd1ce5cbbdb30403991ec7"
+SRC_URI[sha256sum] = "5932a1ca366e1ec61a3ece1a3afa0e92f2fdc125b61d236f20cc6ff9d80cc4ac"
 
 DEPENDS = "libpipeline gdbm groff-native"
 
Signature · 1 line
2.7.4
author
#4 lore raw

PATCH 4/8 elfutils: 0.170 -> 0.172

In reply to Hongxu Jia

- Update debian 0.170 patches and rebase them for 0.172;

- Drop 0001-Use-fallthrough-attribute.patch which was accepted by upstream;

- Drop 0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch which was backported from upstream;

---
 .../{elfutils_0.170.bb => elfutils_0.172.bb}       |  22 +-
 .../elfutils/files/0001-dso-link-change.patch      |   8 +-
 ...0001-libasm-may-link-with-libbz2-if-found.patch |  12 +-
 ...-elf_cvt_gunhash-if-dest-and-src-are-same.patch |   4 +-
 .../elfutils/files/0003-fixheadercheck.patch       |   6 +-
 .../0004-Disable-the-test-to-convert-euc-jp.patch  |   4 +-
 .../files/0005-fix-a-stack-usage-warning.patch     |   8 +-
 .../files/0006-Fix-build-on-aarch64-musl.patch     |   4 +-
 ...-path-where-we-have-str-as-uninitialized-.patch |  12 +-
 ...de-alternatives-for-glibc-assumptions-hel.patch | 201 ++++++-------
 ...ferences-between-mips-machine-identifiers.patch |   4 -
 .../{arm_backend.diff => 0001-arm_backend.patch}   | 322 +++++++++++----------
 .../files/debian/0001-disable_werror.patch         |  35 +++
 .../files/debian/0001-fix-gcc7-ftbfs.patch         |  57 ++++
 .../{hppa_backend.diff => 0001-hppa_backend.patch} | 170 ++++++-----
 ...{mips_backend.patch => 0001-mips_backend.patch} |  31 +-
 ...s_readelf_w.patch => 0001-mips_readelf_w.patch} |  24 +-
 .../debian/0001-testsuite-ignore-elflint.patch     |  57 ++++
 ...-support-for-mips64-abis-in-mips_retval.c.patch |   3 -
 .../0003-Add-mips-n64-relocation-format-hack.patch |   5 +-
 .../elfutils/files/debian/hurd_path.patch          |  14 +
 .../elfutils/files/debian/ignore_strmerge.diff     |  11 +
 .../elfutils/files/debian/kfreebsd_path.patch      |  17 ++
 23 files changed, 629 insertions(+), 402 deletions(-)
 rename meta/recipes-devtools/elfutils/{elfutils_0.170.bb => elfutils_0.172.bb} (79%)
 rename meta/recipes-devtools/elfutils/files/debian/{arm_backend.diff => 0001-arm_backend.patch} (87%)
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/0001-disable_werror.patch
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/0001-fix-gcc7-ftbfs.patch
 rename meta/recipes-devtools/elfutils/files/debian/{hppa_backend.diff => 0001-hppa_backend.patch} (89%)
 rename meta/recipes-devtools/elfutils/files/debian/{mips_backend.patch => 0001-mips_backend.patch} (97%)
 rename meta/recipes-devtools/elfutils/files/debian/{mips_readelf_w.patch => 0001-mips_readelf_w.patch} (48%)
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/0001-testsuite-ignore-elflint.patch
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/hurd_path.patch
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/ignore_strmerge.diff
 create mode 100644 meta/recipes-devtools/elfutils/files/debian/kfreebsd_path.patch
meta/recipes-devtools/elfutils/elfutils_0.172.bb renamed from meta/recipes-devtools/elfutils/elfutils_0.170.bb +13 -9
similarity index 79%
rename from meta/recipes-devtools/elfutils/elfutils_0.170.bb
rename to meta/recipes-devtools/elfutils/elfutils_0.172.bb
index 14ac22e..04f6709 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 DEPENDS = "libtool bzip2 zlib virtual/libintl"
 DEPENDS_append_libc-musl = " argp-standalone fts "
 # The Debian patches below are from:
-# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.168-0.2.debian.tar.xz
+# http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.170-0.5.debian.tar.xz
 SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
            file://0001-dso-link-change.patch \
            file://0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch \
@@ -16,19 +16,23 @@ SRC_URI = "https://sourceware.org/elfutils/ftp/${PV}/${BP}.tar.bz2 \
            file://0006-Fix-build-on-aarch64-musl.patch \
            file://0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch \
            file://0001-libasm-may-link-with-libbz2-if-found.patch \
-           file://debian/hppa_backend.diff \
-           file://debian/arm_backend.diff \
-           file://debian/mips_backend.patch \
-           file://debian/mips_readelf_w.patch \
+           file://debian/0001-hppa_backend.patch \
+           file://debian/0001-arm_backend.patch \
+           file://debian/0001-mips_backend.patch \
+           file://debian/0001-testsuite-ignore-elflint.patch \
+           file://debian/0001-mips_readelf_w.patch \
+           file://debian/kfreebsd_path.patch \
            file://debian/0001-Ignore-differences-between-mips-machine-identifiers.patch \
            file://debian/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch \
            file://debian/0003-Add-mips-n64-relocation-format-hack.patch \
-           file://0001-Use-fallthrough-attribute.patch \
-           file://0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch \
+           file://debian/hurd_path.patch \
+           file://debian/ignore_strmerge.diff \
+           file://debian/0001-fix-gcc7-ftbfs.patch \
+           file://debian/0001-disable_werror.patch \
            "
 SRC_URI_append_libc-musl = " file://0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch"
-SRC_URI[md5sum] = "03599aee98c9b726c7a732a2dd0245d5"
-SRC_URI[sha256sum] = "1f844775576b79bdc9f9c717a50058d08620323c1e935458223a12f249c9e066"
+SRC_URI[md5sum] = "01e87ab4c5a6a249c04e22a97a4221d3"
+SRC_URI[sha256sum] = "779c99e6344c4982bbab60b8d276cec3d468151c758905f9a44ba6b6edaa0e24"
 
 inherit autotools gettext
 
meta/recipes-devtools/elfutils/files/0001-dso-link-change.patch +4 -4
index 28c57f2..4c62dc5 100644
@@ -1,4 +1,4 @@
-From 0a69a26c9f7487daca900db87cd1195857a4603f Mon Sep 17 00:00:00 2001
+From c9c6d2414651dbf163dc4963c3c3d6f5cacef898 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Tue, 15 Aug 2017 17:10:57 +0800
 Subject: [PATCH 1/7] dso link change
@@ -35,10 +35,10 @@ index 2b1c0dc..9305b84 100644
  endif
  libebl = ../libebl/libebl.a
 diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 3735084..528615d 100644
+index b45ecdc..dd256fb 100644
 --- a/tests/Makefile.am
 +++ b/tests/Makefile.am
-@@ -400,7 +400,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) $(libebl) -ldl
+@@ -436,7 +436,7 @@ libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) $(libebl) -ldl
  libelf = ../libelf/libelf.a -lz
  libasm = ../libasm/libasm.a
  else
@@ -48,5 +48,5 @@ index 3735084..528615d 100644
  libasm = ../libasm/libasm.so
  endif
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch +5 -7
index fb0b060..a8e9e50 100644
@@ -1,4 +1,4 @@
-From 7672e363468271b4c63ff58770c5aac15ab8f722 Mon Sep 17 00:00:00 2001
+From 74629016e76343a4bf39915c9192b6bf26a57c2d Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Wed, 4 Oct 2017 22:30:46 -0700
 Subject: [PATCH] libasm may link with libbz2 if found
@@ -11,13 +11,11 @@ where indirect libraries may be not found by linker
 
 Signed-off-by: Khem Raj <[email protected]>
 ---
-Upstream-Status: Pending
-
- src/Makefile.am | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
+ src/Makefile.am | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/src/Makefile.am b/src/Makefile.am
-index e03bc32..9b7e853 100644
+index 9305b84..9b7e853 100644
 --- a/src/Makefile.am
 +++ b/src/Makefile.am
 @@ -39,11 +39,11 @@ EXTRA_DIST += make-debug-archive.in
@@ -35,5 +33,5 @@ index e03bc32..9b7e853 100644
  libelf = ../libelf/libelf.so
  endif
 -- 
-2.14.2
+2.7.4
 
meta/recipes-devtools/elfutils/files/0002-Fix-elf_cvt_gunhash-if-dest-and-src-are-same.patch +2 -2
index 2f718eb..86d26bd 100644
@@ -1,4 +1,4 @@
-From e98670f7c7b4c73fb65534949716fd8d043960d5 Mon Sep 17 00:00:00 2001
+From 9fd4bb05d3f2b7eaf9fe441bee26d3b1878d7cc7 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Tue, 15 Aug 2017 17:13:59 +0800
 Subject: [PATCH 2/7] Fix elf_cvt_gunhash if dest and src are same.
@@ -38,5 +38,5 @@ index 6faf113..04d9ca1 100644
    /* Now the 64 bit words.  */
    Elf64_Xword *dest64 = (Elf64_Xword *) &dest32[4];
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-devtools/elfutils/files/0003-fixheadercheck.patch +3 -3
index 7c49fce..d1c8e41 100644
@@ -1,4 +1,4 @@
-From 565d5935abf5b58773f9c8385c00189221980d98 Mon Sep 17 00:00:00 2001
+From 04fb3f65ec186df5231dd0c21780a55dcc03c868 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Tue, 15 Aug 2017 17:17:20 +0800
 Subject: [PATCH 3/7] fixheadercheck
@@ -21,7 +21,7 @@ Signed-off-by: Hongxu Jia <[email protected]>
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/libelf/elf32_updatenull.c b/libelf/elf32_updatenull.c
-index d83c0b3..a51bf70 100644
+index 3e9ef61..5351518 100644
 --- a/libelf/elf32_updatenull.c
 +++ b/libelf/elf32_updatenull.c
 @@ -339,8 +339,8 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
@@ -36,5 +36,5 @@ index d83c0b3..a51bf70 100644
  		      __libelf_seterrno (ELF_E_INVALID_ALIGN);
  		      return -1;
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-devtools/elfutils/files/0004-Disable-the-test-to-convert-euc-jp.patch +2 -2
index d893ad6..bf3a645 100644
@@ -1,4 +1,4 @@
-From bb7ed11950101798aae82f7fda8b3dcb05f755c5 Mon Sep 17 00:00:00 2001
+From dbc88349b9eed4268db951df2c3a8387f75a32e7 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Tue, 15 Aug 2017 17:24:06 +0800
 Subject: [PATCH 4/7] Disable the test to convert euc-jp
@@ -40,5 +40,5 @@ index a503646..299f1eb 100644
  }]])],
          [am_cv_func_iconv_works=yes],
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-devtools/elfutils/files/0005-fix-a-stack-usage-warning.patch +4 -4
index 22a01cf..e2966cb 100644
@@ -1,4 +1,4 @@
-From dd6dbf6af396519380f48c0ef1ce6cf4dd77f6d7 Mon Sep 17 00:00:00 2001
+From 4d7ea681932556ad881f6841de90d0bfff56f8d7 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Tue, 15 Aug 2017 17:25:16 +0800
 Subject: [PATCH 5/7] fix a stack-usage warning
@@ -18,10 +18,10 @@ Signed-off-by: Hongxu Jia <[email protected]>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/backends/ppc_initreg.c b/backends/ppc_initreg.c
-index 69d623b..de41dec 100644
+index 3e4432f..59c2d97 100644
 --- a/backends/ppc_initreg.c
 +++ b/backends/ppc_initreg.c
-@@ -93,7 +93,7 @@ ppc_set_initial_registers_tid (pid_t tid __attribute__ ((unused)),
+@@ -94,7 +94,7 @@ ppc_set_initial_registers_tid (pid_t tid __attribute__ ((unused)),
  	return false;
      }
    const size_t gprs = sizeof (user_regs.r.gpr) / sizeof (*user_regs.r.gpr);
@@ -31,5 +31,5 @@ index 69d623b..de41dec 100644
      dwarf_regs[gpr] = user_regs.r.gpr[gpr];
    if (! setfunc (0, gprs, dwarf_regs, arg))
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-devtools/elfutils/files/0006-Fix-build-on-aarch64-musl.patch +2 -2
index 5f29a03..40b8544 100644
@@ -1,4 +1,4 @@
-From e57ad47fc8549353ca80c23b9b4f38f31fde13e5 Mon Sep 17 00:00:00 2001
+From b4ec05953f78af26bcd7de45a5bbc5f138d023da Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
 Date: Tue, 15 Aug 2017 17:27:30 +0800
 Subject: [PATCH 6/7] Fix build on aarch64/musl
@@ -57,5 +57,5 @@ index efcabaf..062bb9e 100644
  # include <sys/ptrace.h>
  /* Deal with old glibc defining user_pt_regs instead of user_regs_struct.  */
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-devtools/elfutils/files/0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch +6 -6
index 2247704..bba420e 100644
@@ -1,6 +1,6 @@
-From 1e91c1d4e37c05cf95058b4b3c3f352d72886f58 Mon Sep 17 00:00:00 2001
+From 8eb100b2e51be5d473b0748a223e2e7f61ec606c Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
-Date: Tue, 15 Aug 2017 17:31:38 +0800
+Date: Fri, 29 Jun 2018 15:14:28 +0800
 Subject: [PATCH 7/7] Fix control path where we have str as uninitialized
  string
 
@@ -21,7 +21,7 @@ note: 'str' was declared here
 Signed-off-by: Khem Raj <[email protected]>
 Upstream-Status: Pending
 
-Rebase to 0.170
+Rebase to 0.172
 
 Signed-off-by: Hongxu Jia <[email protected]>
 ---
@@ -29,17 +29,17 @@ Signed-off-by: Hongxu Jia <[email protected]>
  1 file changed, 1 insertion(+)
 
 diff --git a/libcpu/i386_disasm.c b/libcpu/i386_disasm.c
-index 831afbe..60fd6d4 100644
+index a7e03f9..837a3a8 100644
 --- a/libcpu/i386_disasm.c
 +++ b/libcpu/i386_disasm.c
 @@ -821,6 +821,7 @@ i386_disasm (Ebl *ebl __attribute__((unused)),
  			    }
- 			  /* Fallthrough */
+ 			  FALLTHROUGH;
  			default:
 +			  str = "";
  			  assert (! "INVALID not handled");
  			}
  		    }
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-devtools/elfutils/files/0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch +83 -118

651 lines not on this page · raw message

meta/recipes-devtools/elfutils/files/debian/0001-Ignore-differences-between-mips-machine-identifiers.patch +0 -4
index e0291b4..a9a7210 100644
@@ -8,10 +8,6 @@ from the elf machine id. Also, the EM_MIPS_RS3_LE machine is dead anyway (the
 kernel will not load binaries containing it).
 
 Signed-off-by: James Cowgill <[email protected]>
-
-Upstream-Status: Backport [from debian]
-Signed-off-by: Hongxu Jia <[email protected]>
-
 ---
  backends/mips_init.c | 6 +-----
  1 file changed, 1 insertion(+), 5 deletions(-)
meta/recipes-devtools/elfutils/files/debian/0001-arm_backend.patch renamed from meta/recipes-devtools/elfutils/files/debian/arm_backend.diff +173 -149

413 lines not on this page · raw message

meta/recipes-devtools/elfutils/files/debian/0001-disable_werror.patch new file +35 -0
new file mode 100644
index 0000000..66de238
@@ -0,0 +1,35 @@
+From 5d45565e71ddab3d7848077b61eb0ca73c0bcbcc Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <[email protected]>
+Date: Fri, 29 Jun 2018 16:01:14 +0800
+Subject: [PATCH] disable -Werror as it tends to break with new gcc versions
+
+Bug-Debian: https://bugs.debian.org/886004
+Last-Update: 2018-01-01
+
+Signed-off-by: Helmut Grohne <[email protected]>
+
+Upstream-Status: Backport from debian
+mdisable_werror.patc and rebase to 0.172
+
+http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.170-0.5.debian.tar.xz
+
+Signed-off-by: Hongxu Jia <[email protected]>
+---
+ config/eu.am | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/config/eu.am b/config/eu.am
+index c2cc349..99b368e 100644
+--- a/config/eu.am
++++ b/config/eu.am
+@@ -73,7 +73,6 @@ AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Wformat=2 \
+ 	    -Wold-style-definition -Wstrict-prototypes \
+ 	    $(LOGICAL_OP_WARNING) $(DUPLICATED_COND_WARNING) \
+ 	    $(NULL_DEREFERENCE_WARNING) $(IMPLICIT_FALLTHROUGH_WARNING) \
+-	    $(if $($(*F)_no_Werror),,-Werror) \
+ 	    $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
+ 	    $(if $($(*F)_no_Wstack_usage),,$(STACK_USAGE_WARNING)) \
+ 	    $(if $($(*F)_no_Wpacked_not_aligned),-Wno-packed-not-aligned,) \
+-- 
+2.7.4
+
meta/recipes-devtools/elfutils/files/debian/0001-fix-gcc7-ftbfs.patch new file +57 -0

57 lines not on this page · raw message

meta/recipes-devtools/elfutils/files/debian/0001-hppa_backend.patch renamed from meta/recipes-devtools/elfutils/files/debian/hppa_backend.diff +104 -66

225 lines not on this page · raw message

meta/recipes-devtools/elfutils/files/debian/0001-mips_backend.patch renamed from meta/recipes-devtools/elfutils/files/debian/mips_backend.patch +17 -14
similarity index 97%
rename from meta/recipes-devtools/elfutils/files/debian/mips_backend.patch
rename to meta/recipes-devtools/elfutils/files/debian/0001-mips_backend.patch
index 2e0e54b..3004e19 100644
@@ -1,11 +1,13 @@
-From 46d0d0ca718093486eeeedf1b44134e9e29b56f7 Mon Sep 17 00:00:00 2001
+From 59ffb86bda845a68d3686afa7bc784131df678f7 Mon Sep 17 00:00:00 2001
 From: Hongxu Jia <[email protected]>
-Date: Wed, 16 Aug 2017 09:18:59 +0800
-Subject: [PATCH] mips backends
+Date: Fri, 29 Jun 2018 15:45:58 +0800
+Subject: [PATCH] mips_backend
 
-Upstream-Status: Backport [from debian]
+Upstream-Status: Backport from debian
+mips_backend.diff and rebase to 0.172
+
+http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.170-0.5.debian.tar.xz
 
-Rebase to 0.170
 Signed-off-by: Hongxu Jia <[email protected]>
 ---
  backends/Makefile.am    |   8 +-
@@ -23,25 +25,26 @@ Signed-off-by: Hongxu Jia <[email protected]>
  create mode 100644 backends/mips_symbol.c
 
 diff --git a/backends/Makefile.am b/backends/Makefile.am
-index 7f1f5d4..91baf6e 100644
+index 1e4b8e9..e7bccf8 100644
 --- a/backends/Makefile.am
 +++ b/backends/Makefile.am
-@@ -33,12 +33,12 @@ AM_CPPFLAGS += -I$(top_srcdir)/libebl -I$(top_srcdir)/libasm \
+@@ -33,13 +33,13 @@ AM_CPPFLAGS += -I$(top_srcdir)/libebl -I$(top_srcdir)/libasm \
  
  
  modules = i386 sh x86_64 ia64 alpha arm aarch64 sparc ppc ppc64 s390 \
--	  tilegx m68k bpf parisc
-+	  tilegx m68k bpf parisc mips
+-	  tilegx m68k bpf riscv parisc
++	  tilegx m68k bpf riscv parisc mips
  libebl_pic = libebl_i386_pic.a libebl_sh_pic.a libebl_x86_64_pic.a    \
  	     libebl_ia64_pic.a libebl_alpha_pic.a libebl_arm_pic.a    \
  	     libebl_aarch64_pic.a libebl_sparc_pic.a libebl_ppc_pic.a \
  	     libebl_ppc64_pic.a libebl_s390_pic.a libebl_tilegx_pic.a \
--	     libebl_m68k_pic.a libebl_bpf_pic.a libebl_parisc_pic.a
-+	     libebl_m68k_pic.a libebl_bpf_pic.a libebl_parisc_pic.a libebl_mips_pic.a
+ 	     libebl_m68k_pic.a libebl_bpf_pic.a libebl_riscv_pic.a \
+-	     libebl_parisc_pic.a
++	     libebl_parisc_pic.a libebl_mips_pic.a
  noinst_LIBRARIES = $(libebl_pic)
  noinst_DATA = $(libebl_pic:_pic.a=.so)
  
-@@ -128,6 +128,10 @@ parisc_SRCS = parisc_init.c parisc_symbol.c parisc_regs.c parisc_retval.c
+@@ -139,6 +139,10 @@ parisc_SRCS = parisc_init.c parisc_symbol.c parisc_regs.c parisc_retval.c
  libebl_parisc_pic_a_SOURCES = $(parisc_SRCS)
  am_libebl_parisc_pic_a_OBJECTS = $(parisc_SRCS:.c=.os)
  
@@ -698,7 +701,7 @@ index 0000000..ba465fe
 +    }
 +}
 diff --git a/libebl/eblopenbackend.c b/libebl/eblopenbackend.c
-index 1f81477..5371396 100644
+index 8b063f4..5405b0c 100644
 --- a/libebl/eblopenbackend.c
 +++ b/libebl/eblopenbackend.c
 @@ -72,6 +72,8 @@ static const struct
@@ -711,5 +714,5 @@ index 1f81477..5371396 100644
    { "m32", "elf_m32", "m32", 3, EM_M32, 0, 0 },
    { "m68k", "elf_m68k", "m68k", 4, EM_68K, ELFCLASS32, ELFDATA2MSB },
 -- 
-1.8.3.1
+2.7.4
 
meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch renamed from meta/recipes-devtools/elfutils/files/debian/mips_readelf_w.patch +19 -5
similarity index 48%
rename from meta/recipes-devtools/elfutils/files/debian/mips_readelf_w.patch
rename to meta/recipes-devtools/elfutils/files/debian/0001-mips_readelf_w.patch
index 790930c..294944e 100644
@@ -1,19 +1,30 @@
+From a188ea1ada6b990b72b91266ae02da058dcd9523 Mon Sep 17 00:00:00 2001
 From: Kurt Roeckx <[email protected]>
-Subject: Make readelf -w output debug information on mips
+Date: Fri, 29 Jun 2018 15:49:32 +0800
+Subject: [PATCH] Make readelf -w output debug information on mips
+
 Bug-Debian: http://bugs.debian.org/662041
 Forwarded: not-needed
 
 Upstreams wants a change where this is handled by a hook that needs
 to be filled in by the backend for the arch.
 
-Upstream-Status: Backport [from debian]
+Signed-off-by: Kurt Roeckx <[email protected]>
+
+Upstream-Status: Backport from debian
+mips_readelf_w.patch and rebase to 0.172
+
+http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.170-0.5.debian.tar.xz
 Signed-off-by: Hongxu Jia <[email protected]>
+---
+ src/readelf.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
 
-Index: b/src/readelf.c
-===================================================================
+diff --git a/src/readelf.c b/src/readelf.c
+index f185897..0db197c 100644
 --- a/src/readelf.c
 +++ b/src/readelf.c
-@@ -8343,7 +8343,8 @@ print_debug (Dwfl_Module *dwflmod, Ebl *
+@@ -10979,7 +10979,8 @@ print_debug (Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr)
        GElf_Shdr shdr_mem;
        GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem);
  
@@ -23,3 +34,6 @@ Index: b/src/readelf.c
  	{
  	  static const struct
  	  {
+-- 
+2.7.4
+
meta/recipes-devtools/elfutils/files/debian/0001-testsuite-ignore-elflint.patch new file +57 -0

57 lines not on this page · raw message

meta/recipes-devtools/elfutils/files/debian/0002-Add-support-for-mips64-abis-in-mips_retval.c.patch +0 -3
index b17498f..72125c9 100644
@@ -4,9 +4,6 @@ Date: Mon, 5 Jan 2015 15:17:01 +0000
 Subject: [PATCH 2/3] Add support for mips64 abis in mips_retval.c
 
 Signed-off-by: James Cowgill <[email protected]>
-
-Upstream-Status: Backport [from debian]
-Signed-off-by: Hongxu Jia <[email protected]>
 ---
  backends/mips_retval.c | 104 ++++++++++++++++++++++++++++++++++++++++++++-----
  1 file changed, 94 insertions(+), 10 deletions(-)
meta/recipes-devtools/elfutils/files/debian/0003-Add-mips-n64-relocation-format-hack.patch +1 -4
index 2a5f862..6c0ae37 100644
@@ -12,9 +12,6 @@ This patch also ensures that strip.c sets the correct value of e_machine
 before manipulating relocations so that these changes take effect.
 
 Signed-off-by: James Cowgill <[email protected]>
-
-Upstream-Status: Backport [from debian]
-Signed-off-by: Hongxu Jia <[email protected]>
 ---
  libelf/gelf_getrel.c      | 25 +++++++++++++++++++++++--
  libelf/gelf_getrela.c     | 25 +++++++++++++++++++++++--
@@ -203,7 +200,7 @@ Index: b/src/strip.c
 ===================================================================
 --- a/src/strip.c
 +++ b/src/strip.c
-@@ -532,6 +532,23 @@ handle_elf (int fd, Elf *elf, const char
+@@ -598,6 +598,23 @@ handle_elf (int fd, Elf *elf, const char
        goto fail;
      }
  
meta/recipes-devtools/elfutils/files/debian/hurd_path.patch new file +14 -0
new file mode 100644
index 0000000..4440e39
@@ -0,0 +1,14 @@
+Index: elfutils-0.165/tests/run-native-test.sh
+===================================================================
+--- elfutils-0.165.orig/tests/run-native-test.sh
++++ elfutils-0.165/tests/run-native-test.sh
+@@ -83,6 +83,9 @@ native_test()
+ # "cannot attach to process: Function not implemented".
+ [ "$(uname)" = "GNU/kFreeBSD" ] && exit 77
+ 
++# hurd's /proc/$PID/maps does not give paths yet.
++[ "$(uname)" = "GNU" ] && exit 77
++
+ native_test ${abs_builddir}/allregs
+ native_test ${abs_builddir}/funcretval
+ 
meta/recipes-devtools/elfutils/files/debian/ignore_strmerge.diff new file +11 -0
new file mode 100644
index 0000000..1e6d7a2
@@ -0,0 +1,11 @@
+--- elfutils-0.165.orig/tests/run-strip-strmerge.sh
++++ elfutils-0.165/tests/run-strip-strmerge.sh
+@@ -30,7 +30,7 @@ remerged=remerged.elf
+ tempfiles $merged $stripped $debugfile $remerged
+ 
+ echo elflint $input
+-testrun ${abs_top_builddir}/src/elflint --gnu $input
++testrun_on_self_skip ${abs_top_builddir}/src/elflint --gnu $input
+ echo elfstrmerge
+ testrun ${abs_top_builddir}/tests/elfstrmerge -o $merged $input
+ echo elflint $merged
meta/recipes-devtools/elfutils/files/debian/kfreebsd_path.patch new file +17 -0
new file mode 100644
index 0000000..9a19b58
@@ -0,0 +1,17 @@
+Index: b/tests/run-native-test.sh
+===================================================================
+--- a/tests/run-native-test.sh
++++ b/tests/run-native-test.sh
+@@ -77,6 +77,12 @@ native_test()
+   test $native -eq 0 || testrun "$@" -p $native > /dev/null
+ }
+ 
++# On the Debian buildds, GNU/kFreeBSD linprocfs /proc/$PID/maps does
++# not give absolute paths due to sbuild's bind mounts (bug #570805)
++# therefore the next two test programs are expected to fail with
++# "cannot attach to process: Function not implemented".
++[ "$(uname)" = "GNU/kFreeBSD" ] && exit 77
++
+ native_test ${abs_builddir}/allregs
+ native_test ${abs_builddir}/funcretval
+ 
Signature · 1 line
2.7.4
author
#5 lore raw

PATCH 5/8 man-pages: 4.14 -> 4.16

In reply to Hongxu Jia
---
 .../man-pages/{man-pages_4.14.bb => man-pages_4.16.bb}                | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/man-pages/{man-pages_4.14.bb => man-pages_4.16.bb} (87%)
meta/recipes-extended/man-pages/man-pages_4.16.bb renamed from meta/recipes-extended/man-pages/man-pages_4.14.bb +2 -2
similarity index 87%
rename from meta/recipes-extended/man-pages/man-pages_4.14.bb
rename to meta/recipes-extended/man-pages/man-pages_4.16.bb
index 4ce0b13..0fa124f 100644
@@ -7,8 +7,8 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://README;md5=794f701617cc03fe50c53257660d8ec4"
 SRC_URI = "${KERNELORG_MIRROR}/linux/docs/${BPN}/Archive/${BP}.tar.gz"
 
-SRC_URI[md5sum] = "82bd2d05c4d0dba5e7a90d39c9555197"
-SRC_URI[sha256sum] = "aeebc6b09a11e7f7bbc98f3984fe8b8b2bde9d2f5f9dcbd4348a9e0d93704238"
+SRC_URI[md5sum] = "d1fb8ba312a1c15e0bfda911a98c5544"
+SRC_URI[sha256sum] = "d38b0460bf3f35c95faf7f8cf52dac1216d86a47866f5e5f2fda88c61da04960"
 
 inherit manpages
 
Signature · 1 line
2.7.4
author
#6 lore raw

PATCH 6/8 help2man-native: 1.47.5 -> 1.47.6

In reply to Hongxu Jia
---
 .../help2man/{help2man-native_1.47.5.bb => help2man-native_1.47.6.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/help2man/{help2man-native_1.47.5.bb => help2man-native_1.47.6.bb} (79%)
meta/recipes-devtools/help2man/help2man-native_1.47.6.bb renamed from meta/recipes-devtools/help2man/help2man-native_1.47.5.bb +2 -2
similarity index 79%
rename from meta/recipes-devtools/help2man/help2man-native_1.47.5.bb
rename to meta/recipes-devtools/help2man/help2man-native_1.47.6.bb
index 2dd6d38..794d308 100644
@@ -6,8 +6,8 @@ DEPENDS = "autoconf-native automake-native"
 
 SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.xz"
 
-SRC_URI[md5sum] = "1c886063c9e0ab463906de804596aa2f"
-SRC_URI[sha256sum] = "7ca60b2519fdbe97f463fe2df66a6188d18b514bfd44127d985f0234ee2461b1"
+SRC_URI[md5sum] = "7424901e6eca8af372d2ad62be5cf659"
+SRC_URI[sha256sum] = "d91b0295b72a638e4a564f643e4e6d1928779131f628c00f356c13bf336de46f"
 
 inherit autotools native
 
Signature · 1 line
2.7.4
author
#7 lore raw

PATCH 7/8 libgcrypt: 1.8.2 -> 1.8.3

In reply to Hongxu Jia
---
 .../libgcrypt/{libgcrypt_1.8.2.bb => libgcrypt_1.8.3.bb}              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libgcrypt/{libgcrypt_1.8.2.bb => libgcrypt_1.8.3.bb} (92%)
meta/recipes-support/libgcrypt/libgcrypt_1.8.3.bb renamed from meta/recipes-support/libgcrypt/libgcrypt_1.8.2.bb +2 -2
similarity index 92%
rename from meta/recipes-support/libgcrypt/libgcrypt_1.8.2.bb
rename to meta/recipes-support/libgcrypt/libgcrypt_1.8.3.bb
index b36e653..44728a7 100644
@@ -21,8 +21,8 @@ SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \
            file://0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch \
            file://0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch \
 "
-SRC_URI[md5sum] = "cfb0b5c79eab07686b6898160a407139"
-SRC_URI[sha256sum] = "c8064cae7558144b13ef0eb87093412380efa16c4ee30ad12ecb54886a524c07"
+SRC_URI[md5sum] = "3139c2402e844985a67fb288a930534d"
+SRC_URI[sha256sum] = "66ec90be036747602f2b48f98312361a9180c97c68a690a5f376fa0f67d0af7c"
 
 BINCONFIG = "${bindir}/libgcrypt-config"
 
Signature · 1 line
2.7.4
author
#8 lore raw

PATCH 8/8 ncurses: 6.1 -> 6.1+20180630

In reply to Hongxu Jia
---
 meta/recipes-core/ncurses/{ncurses_6.1.bb => ncurses_6.1+20180630.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/ncurses/{ncurses_6.1.bb => ncurses_6.1+20180630.bb} (86%)
meta/recipes-core/ncurses/ncurses_6.1+20180630.bb renamed from meta/recipes-core/ncurses/ncurses_6.1.bb +1 -1
similarity index 86%
rename from meta/recipes-core/ncurses/ncurses_6.1.bb
rename to meta/recipes-core/ncurses/ncurses_6.1+20180630.bb
index 8d72f57..38faf7a 100644
@@ -5,7 +5,7 @@ SRC_URI += "file://0001-tic-hang.patch \
             file://config.cache \
 "
 # commit id corresponds to the revision in package version
-SRCREV = "518fe9f913a0bfb80f1e366c9fcccf23e79dc69b"
+SRCREV = "d3b29180ae4360d7ab7a41a15e963299fdb72e33"
 S = "${WORKDIR}/git"
 EXTRA_OECONF += "--with-abi-version=5"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(\+\d+)*)"
Signature · 1 line
2.7.4