diff mbox series

[meta-oe] iperf3: add missing "libgcc" RDEPENDS

Message ID 20251022203617.1488734-1-michael.opdenacker@rootcommit.com
State Under Review
Headers show
Series [meta-oe] iperf3: add missing "libgcc" RDEPENDS | expand

Commit Message

Michael Opdenacker Oct. 22, 2025, 8:36 p.m. UTC
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(+)

Comments

Khem Raj Oct. 23, 2025, 2:36 a.m. UTC | #1
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]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

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