* [PATCH] libgpg-error: correctly configure on mips64
@ 2017-03-01 11:07 Alexander Kanavin
2017-03-01 16:40 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kanavin @ 2017-03-01 11:07 UTC (permalink / raw)
To: openembedded-core
This fixes the long-standing error:
../../libgpg-error-1.26/src/posix-lock.c:137: get_lock_object: Assertion `!"sizeof lock obj"' failed.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
---
meta/recipes-gnome/gcr/gcr_3.20.0.bb | 4 ----
meta/recipes-gnome/libsecret/libsecret_0.18.5.bb | 5 -----
meta/recipes-sato/webkit/webkitgtk_2.14.5.bb | 5 -----
meta/recipes-support/libgpg-error/libgpg-error_1.26.bb | 2 ++
4 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/meta/recipes-gnome/gcr/gcr_3.20.0.bb b/meta/recipes-gnome/gcr/gcr_3.20.0.bb
index 20889021a57..f31abced02e 100644
--- a/meta/recipes-gnome/gcr/gcr_3.20.0.bb
+++ b/meta/recipes-gnome/gcr/gcr_3.20.0.bb
@@ -36,7 +36,3 @@ ARM_INSTRUCTION_SET = "arm"
#
# This will be investigated later.
EXTRA_OECONF_append_x86-64 = " --disable-introspection --disable-gtk-doc"
-
-# Gcr-3.broken: poky/build-mips64/tmp/work/mips64-poky-linux/libgpg-error/1.19-r0/libgpg-error-1.19/src/posix-lock.c:119: get_lock_object: Assertion `!"sizeof lock obj"' failed.
-# qemu: uncaught target signal 6 (Aborted) - core dumped
-EXTRA_OECONF_append_mips64 = " --disable-introspection --disable-gtk-doc"
diff --git a/meta/recipes-gnome/libsecret/libsecret_0.18.5.bb b/meta/recipes-gnome/libsecret/libsecret_0.18.5.bb
index 77b9fd5be50..2b917ec517b 100644
--- a/meta/recipes-gnome/libsecret/libsecret_0.18.5.bb
+++ b/meta/recipes-gnome/libsecret/libsecret_0.18.5.bb
@@ -18,8 +18,3 @@ ARM_INSTRUCTION_SET = "arm"
do_configure_prepend() {
rm -f ${S}/build/m4/vapigen.m4
}
-
-# Secret-1: poky/build-mips64/tmp/work/mips64-poky-linux/libgpg-error/1.19-r0/libgpg-error-1.19/src/posix-lock.c:119: get_lock_object: Assertion `!"sizeof lock obj"' failed.
-# qemu: uncaught target signal 6 (Aborted) - core dumped
-EXTRA_OECONF_append_mips64 = " --disable-introspection --disable-gtk-doc"
-
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.14.5.bb b/meta/recipes-sato/webkit/webkitgtk_2.14.5.bb
index 5fb07da26d9..1eb5b0b6e1d 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.14.5.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.14.5.bb
@@ -111,8 +111,3 @@ ARM_INSTRUCTION_SET_armv6 = "arm"
ARM_INSTRUCTION_SET_armv7a = "thumb"
ARM_INSTRUCTION_SET_armv7r = "thumb"
ARM_INSTRUCTION_SET_armv7ve = "thumb"
-
-# WebKit2-4.0: ../../libgpg-error-1.21/src/posix-lock.c:119: get_lock_object: Assertion `!"sizeof lock obj"' failed.
-# qemu: uncaught target signal 6 (Aborted) - core dumped
-EXTRA_OECMAKE_append_mipsarchn32 = " -DENABLE_INTROSPECTION=OFF -DENABLE_GTKDOC=OFF"
-EXTRA_OECMAKE_append_mipsarchn64 = " -DENABLE_INTROSPECTION=OFF -DENABLE_GTKDOC=OFF"
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.26.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.26.bb
index 87c4f5185b4..b9e3b0065ce 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.26.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.26.bb
@@ -18,6 +18,7 @@ SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \
SRC_URI[md5sum] = "97456709dbbcbb69354317ffe3e347cd"
SRC_URI[sha256sum] = "4c4bcbc90116932e3acd37b37812d8653b1b189c1904985898e860af818aee69"
+PR = "r1"
BINCONFIG = "${bindir}/gpg-error-config"
@@ -34,6 +35,7 @@ do_compile_prepend() {
arm) TUPLE=arm-unknown-linux-gnueabi ;;
armeb) TUPLE=arm-unknown-linux-gnueabi ;;
i586|i686) TUPLE=i686-pc-linux-gnu ;;
+ mips64*) TUPLE=mips64el-unknown-linux-gnuabi64 ;;
mips*el) TUPLE=mipsel-unknown-linux-gnu ;;
mips*) TUPLE=mips-unknown-linux-gnu ;;
x86_64) TUPLE=x86_64-pc-linux-gnu ;;
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] libgpg-error: correctly configure on mips64
2017-03-01 11:07 [PATCH] libgpg-error: correctly configure on mips64 Alexander Kanavin
@ 2017-03-01 16:40 ` Khem Raj
2017-03-02 11:33 ` Alexander Kanavin
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2017-03-01 16:40 UTC (permalink / raw)
To: Alexander Kanavin; +Cc: Patches and discussions about the oe-core layer
On Wed, Mar 1, 2017 at 4:07 AM, Alexander Kanavin
<alexander.kanavin@linux.intel.com> wrote:
> + mips64*) TUPLE=mips64el-unknown-linux-gnuabi64 ;;
This probably is going to fail for big-endian mips64
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libgpg-error: correctly configure on mips64
2017-03-01 16:40 ` Khem Raj
@ 2017-03-02 11:33 ` Alexander Kanavin
0 siblings, 0 replies; 3+ messages in thread
From: Alexander Kanavin @ 2017-03-02 11:33 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer
On 03/01/2017 06:40 PM, Khem Raj wrote:
> On Wed, Mar 1, 2017 at 4:07 AM, Alexander Kanavin
> <alexander.kanavin@linux.intel.com> wrote:
>> + mips64*) TUPLE=mips64el-unknown-linux-gnuabi64 ;;
>
> This probably is going to fail for big-endian mips64
Nope. The configurations are endianness-agnostic. I tested it with
qemumips64 (which is big endian) and it works.
The reason they have endianness in the name is that they're produced by
running a helper binary on the target, and then the name of the target
is used as the name of the configuration.
Alex
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-02 11:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-01 11:07 [PATCH] libgpg-error: correctly configure on mips64 Alexander Kanavin
2017-03-01 16:40 ` Khem Raj
2017-03-02 11:33 ` Alexander Kanavin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.