qinhan620 / iperf

Automatically exported from code.google.com/p/iperf
0 stars 0 forks source link

Disable profiling #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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).

Original issue reported on code.google.com by gvall...@gmail.com on 7 May 2013 at 11:47

Attachments:

GoogleCodeExporter commented 8 years ago
Please submit a patch to fix this and we'll look into incorporating it.

Original comment by jdu...@es.net on 8 May 2013 at 9:20

GoogleCodeExporter commented 8 years ago
please submit a patch

Original comment by bltier...@es.net on 8 May 2013 at 9:34

GoogleCodeExporter commented 8 years ago
no one submitted a patch, and we can't replicate, so closing.

Original comment by bltier...@es.net on 23 Jul 2013 at 6:17

GoogleCodeExporter commented 8 years ago
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?

Original comment by ara...@gmail.com on 19 Aug 2013 at 1:21

GoogleCodeExporter commented 8 years ago
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.

Original comment by wintonli...@gmail.com on 13 Jan 2014 at 6:13

Attachments:

GoogleCodeExporter commented 8 years ago
I'm unable to try at this time but the patch seem reversed, right?

Original comment by gvall...@gmail.com on 13 Jan 2014 at 12:24