On 2019/3/6 上午9:22, Slater, Joseph wrote:
Yes, it only fails for multilib.  An unaupported instruction ("sync").  Kai 
Kang is sending a different patch, that is, I assume it is different.

It caused by default tune 'mips' which doesn't append option '-march=mips32' to CXX. Compare to default tune 'mips32r2' of qemumips, it appends '-march=mips32r2' to CXX.
I'll send the patch for review.

Regards,
Kai



Joe
________________________________________
From: Khem Raj [[email protected]]
Sent: Monday, March 04, 2019 6:36 PM
To: Slater, Joseph
Cc: openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH 1/1] leveldb: restrict building for mips64

On Mon, Mar 4, 2019 at 3:51 PM Joe Slater <[email protected]> wrote:
Do not try to build lib32-leveldb.  libn32-leveldb will build.

Signed-off-by: Joe Slater <[email protected]>
---
  meta-oe/recipes-dbs/leveldb/leveldb_git.bb | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/meta-oe/recipes-dbs/leveldb/leveldb_git.bb 
b/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
index 8fec89c..908ad3e 100644
--- a/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
+++ b/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
@@ -35,3 +35,7 @@ do_install() {

  PACKAGES =+ "${PN}-ptest"
  FILES_${PN}-ptest = "${bindir}"
+
+# Do not try to build lib32-leveldb for mips64, but allow libn32-leveldb.
+#
+COMPATIBLE_HOST_mipsarcho32_pn-lib32-leveldb = "null"
does it fail just in multilib situation ?

--
2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


--
Kai Kang

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to