iperf version 2.0.12 (25 June 2018) pthreads (same goes with 2.0.9) compiled with clang never quit. but the one compiled with gcc works fine Reproducible: Always Actual Results: [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 396 MBytes 332 Mbits/sec [ 4] 0.0-10.0 sec 390 MBytes 327 Mbits/sec [SUM] 0.0-10.0 sec 786 MBytes 659 Mbits/sec keep calling nanosleep but never quit the program Expected Results: [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 396 MBytes 332 Mbits/sec [ 4] 0.0-10.0 sec 390 MBytes 327 Mbits/sec [SUM] 0.0-10.0 sec 786 MBytes 659 Mbits/sec quit gracefully
Created attachment 556902 [details] emerge--info.txt
Just to be sure: you did mean the client hangs, right? Can you give us the actual command that produced that output?
(In reply to Jeroen Roovers from comment #2) > Just to be sure: you did mean the client hangs, right? Can you give us the > actual command that produced that output? yes it's the client server side: iperf -s client side: iperf -c peerip (also tried strace -f iperf -c peerip, which ends up with tons of nanosleep) i recompile client side switching compiler between clang and gcc. while server side ipref is always the same pre-compiled binary from openwrt running on: Linux *** 4.14.63 #0 SMP Thu Aug 16 07:51:15 2018 armv7l GNU/Linux
I can't seem to reproduce that. What CFLAGS do you use?
Comment on attachment 556902 [details] emerge--info.txt Oh wait. Those CFLAGS.
Still happening?