[Fuego] [PATCH 2/2] iperf3: only do static compilation for libiperf
Daniel Sangorrin
daniel.sangorrin at toshiba.co.jp
Tue Jul 3 02:53:48 UTC 2018
> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org
> <fuego-bounces at lists.linuxfoundation.org> On Behalf Of Li Xiaoming
> Sent: Tuesday, July 3, 2018 4:41 AM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 2/2] iperf3: only do static compilation for libiperf
>
> Not necessary static libraries will be needed, if we do a completely
> static compilation. E.g. libc.a.
>
> Signed-off-by: Li Xiaoming <lixm.fnst at cn.fujitsu.com>
> ---
> engine/tests/Benchmark.iperf3/fuego_test.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/engine/tests/Benchmark.iperf3/fuego_test.sh
> b/engine/tests/Benchmark.iperf3/fuego_test.sh
> index 6876d90..c8c0113 100755
> --- a/engine/tests/Benchmark.iperf3/fuego_test.sh
> +++ b/engine/tests/Benchmark.iperf3/fuego_test.sh
> @@ -2,7 +2,7 @@
> tarball=iperf-3.1.3-source.tar.gz
>
> function test_build {
> - LDFLAGS=-static ./configure --host=$HOST --prefix=$(pwd)/build
> + ./configure --host=$HOST --prefix=$(pwd)/build --enable-shared=no
> make
> }
>
> --
> 2.7.4
Thanks Li.
I asked to the upstream developer[1] and he mentioned that the next options were correct. Could you try them and resend?
--enable-static --disable-shared
[1] https://github.com/esnet/iperf/issues/708
Best regards,
Daniel
More information about the Fuego
mailing list