All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] iperf3: add missing "libgcc" RDEPENDS
@ 2025-10-22 20:36 michael.opdenacker
  2025-10-23  2:36 ` [oe] " Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: michael.opdenacker @ 2025-10-22 20:36 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Michael Opdenacker

From: Michael Opdenacker <michael.opdenacker@rootcommit.com>

This fixes an issue observed with iperf3 added to core-image-minimal.
The executable starts fine but at the end of a test, issues this error:

iperf3 -c 172.24.0.1
Connecting to host 172.24.0.1, port 5201
[ 5] local 172.24.0.2 port 55444 connected to 172.24.0.1 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 113 MBytes 945 Mbits/sec 0 396 KBytes
[ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec 0 396 KBytes
[ 5] 2.00-3.00 sec 113 MBytes 946 Mbits/sec 0 417 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 937 Mbits/sec 1 417 KBytes
[ 5] 4.00-5.00 sec 113 MBytes 946 Mbits/sec 0 424 KBytes
[ 5] 5.00-6.00 sec 112 MBytes 938 Mbits/sec 0 424 KBytes
[ 5] 6.00-7.00 sec 112 MBytes 943 Mbits/sec 0 428 KBytes
[ 5] 7.00-8.00 sec 112 MBytes 942 Mbits/sec 0 445 KBytes
[ 5] 8.00-9.00 sec 112 MBytes 944 Mbits/sec 0 457 KBytes
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
---
 meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
index 91d266a2d5..a8c74c1b45 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
@@ -22,6 +22,7 @@ SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \
 
 SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c"
 
+RDEPENDS:${PN} = "libgcc"
 
 inherit autotools
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [oe] [meta-oe][PATCH] iperf3: add missing "libgcc" RDEPENDS
  2025-10-22 20:36 [meta-oe][PATCH] iperf3: add missing "libgcc" RDEPENDS michael.opdenacker
@ 2025-10-23  2:36 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2025-10-23  2:36 UTC (permalink / raw)
  To: michael.opdenacker; +Cc: openembedded-devel

On Wed, Oct 22, 2025 at 1:36 PM Michael Opdenacker via
lists.openembedded.org
<michael.opdenacker=rootcommit.com@lists.openembedded.org> wrote:
>
> From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
>
> This fixes an issue observed with iperf3 added to core-image-minimal.
> The executable starts fine but at the end of a test, issues this error:
>
> iperf3 -c 172.24.0.1
> Connecting to host 172.24.0.1, port 5201
> [ 5] local 172.24.0.2 port 55444 connected to 172.24.0.1 port 5201
> [ ID] Interval Transfer Bitrate Retr Cwnd
> [ 5] 0.00-1.00 sec 113 MBytes 945 Mbits/sec 0 396 KBytes
> [ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec 0 396 KBytes
> [ 5] 2.00-3.00 sec 113 MBytes 946 Mbits/sec 0 417 KBytes
> [ 5] 3.00-4.00 sec 112 MBytes 937 Mbits/sec 1 417 KBytes
> [ 5] 4.00-5.00 sec 113 MBytes 946 Mbits/sec 0 424 KBytes
> [ 5] 5.00-6.00 sec 112 MBytes 938 Mbits/sec 0 424 KBytes
> [ 5] 6.00-7.00 sec 112 MBytes 943 Mbits/sec 0 428 KBytes
> [ 5] 7.00-8.00 sec 112 MBytes 942 Mbits/sec 0 445 KBytes
> [ 5] 8.00-9.00 sec 112 MBytes 944 Mbits/sec 0 457 KBytes
> libgcc_s.so.1 must be installed for pthread_cancel to work
> Aborted
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
> ---
>  meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
> index 91d266a2d5..a8c74c1b45 100644
> --- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
> +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
> @@ -22,6 +22,7 @@ SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \
>
>  SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c"
>
> +RDEPENDS:${PN} = "libgcc"

yeah patch is ok.
everytime I see a hard dependency on libgcc, I remember that we need
to make it virtual/libgcc or some such
so other toolchains ( clang ) can accommodate its version of stack
unwinder if users need to.

>
>  inherit autotools
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#120900): https://lists.openembedded.org/g/openembedded-devel/message/120900
> Mute This Topic: https://lists.openembedded.org/mt/115899894/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-10-23  2:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-22 20:36 [meta-oe][PATCH] iperf3: add missing "libgcc" RDEPENDS michael.opdenacker
2025-10-23  2:36 ` [oe] " Khem Raj

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.