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).
- 1-iperf3.err 23.03KB
Comment #1
Posted on May 8, 2013 by Helpful RabbitPlease submit a patch to fix this and we'll look into incorporating it.
Comment #2
Posted on May 8, 2013 by Happy Kangarooplease submit a patch
Comment #3
Posted on Jul 23, 2013 by Happy Kangaroono one submitted a patch, and we can't replicate, so closing.
Comment #4
Posted on Aug 19, 2013 by Quick DogIt'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 WombatI 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.
- iperf.patch 2.46KB
Comment #6
Posted on Jan 13, 2014 by Swift LionI'm unable to try at this time but the patch seem reversed, right?
Status: WontFix
Labels:
Type-Enhancement
Milestone-3.1a1
Priority-Medium