Export to GitHub

iperf - issue #69

Disable profiling


Posted on May 7, 2013 by Swift Lion

Explaination of new feature

Disable profiling when building for an uClibc target via config option or libc library detection.

Justification of new feature

uClibc no longer supports profiling using gcc -pg, so building the curernt iperf3 surce using this libc fails. Ref.: https://www.kernel.org/pub/linux/libs/uclibc/Glibc_vs_uClibc_Differences.txt (at document end).

Attachments

Comment #1

Posted on May 8, 2013 by Helpful Rabbit

Please submit a patch to fix this and we'll look into incorporating it.

Comment #2

Posted on May 8, 2013 by Happy Kangaroo

please submit a patch

Comment #3

Posted on Jul 23, 2013 by Happy Kangaroo

no one submitted a patch, and we can't replicate, so closing.

Comment #4

Posted on Aug 19, 2013 by Quick Dog

It's still an issue. As a workaround, changing the Makefile to remove "-pg" from the profile LD and C flags fixes it, at the obvious expense of not actually producing a profiled binary.

Is there a way (via configure or similar) to disable the profiled build, and just have a plain binary?

Comment #5

Posted on Jan 13, 2014 by Helpful Wombat

I want to compile iperf in Openwrt environment. Using the uclibc-0.9.33.2, it seems it could't compiled. I have to modify the Makefile.am to delete "-pg". The embedded system resource is limited, so "-pg" couldn't add if want to be used in Openwrt.

Attachments

Comment #6

Posted on Jan 13, 2014 by Swift Lion

I'm unable to try at this time but the patch seem reversed, right?

Status: WontFix

Labels:
Type-Enhancement Milestone-3.1a1 Priority-Medium