pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/58097: iperf3 fails to build on sparc
>Number: 58097
>Category: pkg
>Synopsis: iperf3 fails to build on sparc
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 01 22:15:00 +0000 2024
>Originator: Brandon Applegate
>Release: 10.0 + 2024Q1
>Organization:
>Environment:
NetBSD qemu-10.internal.burn.net 10.0 NetBSD 10.0 (GENERIC) #0: Thu Mar 28 08:33:33 UTC 2024 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc/compile/GENERIC sparc
>Description:
When building iperf3 from pkgsrc, compilation fails on iperf_util.lo
CC iperf_util.lo
In file included from /usr/include/stdio.h:595,
from iperf_util.c:34:
iperf_util.c: In function 'get_system_info':
iperf_util.c:235:32: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1020 [-Wformat-truncation=]
235 | snprintf(buf, sizeof(buf), "%s %s %s %s %s", uts.sysname, uts.nodename,
| ^~~~~~~~~~~~~~~~
236 | uts.release, uts.version, uts.machine);
| ~~~~~~~~~~~
iperf_util.c:235:45: note: format string is defined here
235 | snprintf(buf, sizeof(buf), "%s %s %s %s %s", uts.sysname, uts.nodename,
| ^~
In file included from /usr/include/stdio.h:595,
from iperf_util.c:34:
iperf_util.c:235:5: note: '__builtin_snprintf' output between 5 and 1280 bytes into a destination of size 1024
235 | snprintf(buf, sizeof(buf), "%s %s %s %s %s", uts.sysname, uts.nodename,
| ^~~~~~~~
CC iperf_time.lo
CC dscp.lo
CC net.lo
CC tcp_info.lo
CC timer.lo
CC units.lo
CCLD libiperf.la
CCLD iperf3
ld: ./.libs/libiperf.so: undefined reference to `__atomic_fetch_add_8'
*** Error code 1
Stop.
make[2]: stopped in /usr/pkgsrc/net/iperf3/work/iperf-3.16/src
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/net/iperf3/work/iperf-3.16/src
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/iperf3/work/iperf-3.16
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/net/iperf3
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/iperf3
>How-To-Repeat:
'make install' for iperf3
>Fix:
Home |
Main Index |
Thread Index |
Old Index