[oe] [PATCH 2/2] pv: 1.5.3 -> 1.6.6

kai.kang at windriver.com kai.kang at windriver.com
Tue Feb 26 09:38:57 UTC 2019


From: Kai Kang <kai.kang at windriver.com>

Update pv from 1.5.3 to 1.6.6.

* export LDEMULATION for mipsn32 to fix compile error

   MACHINE ?= "qemumips64"
   DEFAULTTUNE = "mips64-n32"

   | mips64-poky-linux-gnun32-ld
   --sysroot=/home/kkang/buildarea/Yocto/build/tmp/work/mips64-n32-poky-linux-gnun32/pv/1.5.3-r0/recipe-sysroot
   -r -o src/library.o  src/library/getopt.o src/library/gettext.o
   | mips64-poky-linux-gnun32-ld: src/library/getopt.o: ABI is incompatible with that of the selected emulation
   | mips64-poky-linux-gnun32-ld: failed to merge target specific data of file src/library/getopt.o
   | mips64-poky-linux-gnun32-ld: src/library/gettext.o: ABI is incompatible with that of the selected emulation
   | mips64-poky-linux-gnun32-ld: failed to merge target specific data of file src/library/gettext.o
   | mips64-poky-linux-gnun32-ld: attempt to do relocatable link with elf32-ntradbigmips input and elf64-tradbigmips output
   | mips64-poky-linux-gnun32-ld: src/library/gettext.o: file class ELFCLASS32 incompatible with ELFCLASS64
   | mips64-poky-linux-gnun32-ld: final link failed: file in wrong format

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 meta-oe/recipes-support/pv/pv_1.5.3.bb | 11 -----------
 meta-oe/recipes-support/pv/pv_1.6.6.bb | 13 +++++++++++++
 2 files changed, 13 insertions(+), 11 deletions(-)
 delete mode 100644 meta-oe/recipes-support/pv/pv_1.5.3.bb
 create mode 100644 meta-oe/recipes-support/pv/pv_1.6.6.bb

diff --git a/meta-oe/recipes-support/pv/pv_1.5.3.bb b/meta-oe/recipes-support/pv/pv_1.5.3.bb
deleted file mode 100644
index 5e3dd67c5..000000000
--- a/meta-oe/recipes-support/pv/pv_1.5.3.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-SUMMARY = "Terminal-based tool for monitoring the progress of data through a pipeline"
-
-LICENSE = "Artistic-2.0"
-LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02"
-
-SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.bz2"
-SRC_URI[md5sum] = "efe8e9e4cad5f3264a32258a63bf2c8e"
-SRC_URI[sha256sum] = "76f3999b1c3b3027163dce6ef667cdf8dafb75218ee25e54a03bfe590478f90e"
-
-inherit autotools
-
diff --git a/meta-oe/recipes-support/pv/pv_1.6.6.bb b/meta-oe/recipes-support/pv/pv_1.6.6.bb
new file mode 100644
index 000000000..9649555b8
--- /dev/null
+++ b/meta-oe/recipes-support/pv/pv_1.6.6.bb
@@ -0,0 +1,13 @@
+SUMMARY = "Terminal-based tool for monitoring the progress of data through a pipeline"
+
+LICENSE = "Artistic-2.0"
+LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02"
+
+SRC_URI = "http://www.ivarch.com/programs/sources/${BP}.tar.bz2"
+SRC_URI[md5sum] = "ff3564fddcc2b9bd4a9c1d143aba4b4c"
+SRC_URI[sha256sum] = "608ef935f7a377e1439c181c4fc188d247da10d51a19ef79bcdee5043b0973f1"
+
+inherit autotools
+
+LDEMULATION_mipsarchn32 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'elf32btsmipn32', 'elf32ltsmipn32', d)}"
+export LDEMULATION
-- 
2.20.0



More information about the Openembedded-devel mailing list