Skip to contentSkip to conversation

iperf3: add missing "libgcc" RDEPENDS

PATCH In review [email protected] 2 participants 2 messages Oct 22, 2025 – Oct 23, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iperf3: add missing "libgcc" RDEPENDS

From: Michael Opdenacker <[email protected]>

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

---
 meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb +1 -0
index 91d266a2d5..a8c74c1b45 100644
@@ -22,6 +22,7 @@ SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \
 
 SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c"
 
+RDEPENDS:${PN} = "libgcc"
 
 inherit autotools
 
#1 lore raw
Quoted 32 lines · Michael Opdenacker via lists.openembedded.org

From: Michael Opdenacker <[email protected]>

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

---
 meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb +0 -0
index 91d266a2d5..a8c74c1b45 100644

meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \ · line 25

Quoted 4 lines
meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb +1 -0
@@ -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.

Quoted 12 lines
meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb +0 -1
 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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-