There are duplicate variable definitions in nettest_bsd.c and nettest_omni.c files, which cause a build to fail with clang 11.0.0 and GCC 10.0 due to '-fno-common' option set by default. A fix awaits to be merged upstream: https://github.com/HewlettPackard/netperf/pull/48. Until then can it be applied in the port or can the '-fcommon' option be added to the compilation flags? Thanks, Krzysiek
A commit references this bug: Author: skozlov Date: Tue Sep 15 15:55:43 UTC 2020 New revision: 548735 URL: https://svnweb.freebsd.org/changeset/ports/548735 Log: benchmarks/netperf: Fix build with clang 11 and gcc 10 Tested using poudriere on 11.3, 12.1, 13.0 PR: 249227 Reported by: Krzysztof Galazka Approved by: build fix (blanket) Sponsored by: Intel Changes: head/benchmarks/netperf/Makefile
Small build fix, approval not needed. Thank you, Krzysiek, for the heads up.