Skip to contentSkip to conversation

packagegroup-self-hosted: update for strace

PATCH In review [email protected] 3 participants 4 messages Aug 14, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-self-hosted: update for strace

From: Kai Kang <[email protected]>

strace has been set imcompatible with riscv32, so update in packagegroup-self-hosted.bb accordingly.

---
 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +4 -1
index 772b86b39a..a1b0ee2883 100644
@@ -98,11 +98,14 @@ RDEPENDS:packagegroup-self-hosted-sdk:append:libc-glibc = "\
     glibc-utils \
     rpcsvc-proto \
     "
+
+STRACE = "strace"
+STRACE:riscv32 = ""
 RDEPENDS:packagegroup-self-hosted-debug = " \
     gdb \
     gdbserver \
     rsync \
-    strace \
+    ${STRACE} \
     tcf-agent"
 
 
Signature · 1 line
2.17.1
#1 lore raw

Some information or links about how it is incompatible would be appreciated. Can it be made compatible instead?

Alex

Quoted 43 lines · kai

From: Kai Kang <[email protected]>

strace has been set imcompatible with riscv32, so update in packagegroup-self-hosted.bb accordingly.

---
 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +4 -2
index 772b86b39a..a1b0ee2883 100644
@@ -98,11 +98,14 @@ RDEPENDS:packagegroup-self-hosted-sdk:append:libc-glibc = "\
     glibc-utils \
     rpcsvc-proto \
     "
+
+STRACE = "strace"
+STRACE:riscv32 = ""
 RDEPENDS:packagegroup-self-hosted-debug = " \
     gdb \
     gdbserver \
     rsync \
-    strace \
+    ${STRACE} \
     tcf-agent"
 
 
--

2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169324): https://lists.openembedded.org/g/openembedded-core/message/169324
Mute This Topic: https://lists.openembedded.org/mt/93017686/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 4 lines · Alexander Kanavin

Some information or links about how it is incompatible would be appreciated. Can it be made compatible instead?

rv32 port is not implemented yet.
there are patches available to add support for rv32, however they. are not upstream yet e.g.

see
http://svn.exactcode.de/t2/trunk/package/develop/strace/riscv32.patch
http://svn.exactcode.de/t2/trunk/package/develop/strace/riscv32-autoreconf.patch

Quoted 49 lines

Alex

Quoted 32 lines · kai

From: Kai Kang <[email protected]>

strace has been set imcompatible with riscv32, so update in packagegroup-self-hosted.bb accordingly.

---
 meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +4 -2
index 772b86b39a..a1b0ee2883 100644
@@ -98,11 +98,14 @@ RDEPENDS:packagegroup-self-hosted-sdk:append:libc-glibc = "\
     glibc-utils \
     rpcsvc-proto \
     "
+
+STRACE = "strace"
+STRACE:riscv32 = ""
 RDEPENDS:packagegroup-self-hosted-debug = " \
     gdb \
     gdbserver \
     rsync \
-    strace \
+    ${STRACE} \
     tcf-agent"
 
 
--
Quoted 5 lines

2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169325): https://lists.openembedded.org/g/openembedded-core/message/169325
Mute This Topic: https://lists.openembedded.org/mt/93017686/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#3 lore raw
In reply to Alexander Kanavin
Quoted 2 lines · Alexander Kanavin

Some information or links about how it is incompatible would be appreciated. Can it be made compatible instead?

Based on previous commit

commit 6749e29082043e4e71849e80e058fa45988c62a5
Author: Mingli Yu <[email protected]>
Date:   Tue Jul 5 15:03:18 2022 +0800

    strace: set COMPATIBLE_HOST for riscv32

    Disable the build on riscv32 as it's not supported on riscv32 [1].

    [1] https://github.com/strace/strace/commit/69ff62ea5087506ad36a27599db088096db215da

    (From OE-Core rev: 5276a9a845d0277936e9321ada296818f7bfd84b)

Regards,
Kai

Quoted 46 lines

Alex

Quoted 42 lines · kai

From: Kai Kang <[email protected]>

strace has been set imcompatible with riscv32, so update in packagegroup-self-hosted.bb accordingly.

---
  meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +4 -2
index 772b86b39a..a1b0ee2883 100644
@@ -98,11 +98,14 @@ RDEPENDS:packagegroup-self-hosted-sdk:append:libc-glibc = "\
      glibc-utils \
      rpcsvc-proto \
      "
+
+STRACE = "strace"
+STRACE:riscv32 = ""
  RDEPENDS:packagegroup-self-hosted-debug = " \
      gdb \
      gdbserver \
      rsync \
-    strace \
+    ${STRACE} \
      tcf-agent"
 
 
--

2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169324): https://lists.openembedded.org/g/openembedded-core/message/169324
Mute This Topic: https://lists.openembedded.org/mt/93017686/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
Kai Kang
Wind River Linux