group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #09373
[Bug 1508284] Re: netperf: FTBFS with GCC 5: undefined reference to `demo_interval_tick'
** Changed in: netperf (Debian)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1508284
Title:
netperf: FTBFS with GCC 5: undefined reference to `demo_interval_tick'
Status in netperf package in Ubuntu:
Triaged
Status in netperf source package in Wily:
New
Status in netperf source package in Xenial:
Triaged
Status in netperf package in Debian:
Fix Released
Bug description:
Imported from Debian bug http://bugs.debian.org/798789:
Package: netperf
Version: 2.6.0-2
Severity: serious
Tags: sid stretch
Justification: fails to build from source (but built successfully in the past)
Hi,
netperf FTBFS in sid with GCC5:
[...]
gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c netlib.c
netlib.c: In function 'bind_to_specific_processor':
netlib.c:2292:9: warning: implicit declaration of function 'sched_setaffinity' [-Wimplicit-function-declaration]
if (sched_setaffinity(getpid(), len, &netperf_cpu_set)) {
^
netlib.c: At top level:
netlib.c:4080:20: warning: 'temp_demo_ptr' is static but used in inline function 'demo_interval_tick' which is not static
demo_two_ptr = temp_demo_ptr;
^
netlib.c:4080:5: warning: 'demo_two_ptr' is static but used in inline function 'demo_interval_tick' which is not static
demo_two_ptr = temp_demo_ptr;
^
netlib.c:4079:20: warning: 'demo_two_ptr' is static but used in inline function 'demo_interval_tick' which is not static
demo_one_ptr = demo_two_ptr;
^
[...]
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -o netperf netperf.o netlib.o netsh.o nettest_bsd.o nettest_dlpi.o nettest_unix.o nettest_xti.o nettest_sctp.o nettest_sdp.o nettest_omni.o net_uuid.o dscp.o netcpu_procstat.o netrt_rtnetlink.o netdrv_ethtool.o netslot_linux.o netsys_linux.o netsec_linux.o -ldl -lm
nettest_omni.o: In function `send_omni_inner':
/tmp/buildd/netperf-2.6.0/src/nettest_omni.c:4366: undefined reference to `demo_interval_tick'
/tmp/buildd/netperf-2.6.0/src/nettest_omni.c:4359: undefined reference to `demo_interval_tick'
/tmp/buildd/netperf-2.6.0/src/nettest_omni.c:4363: undefined reference to `demo_interval_tick'
/tmp/buildd/netperf-2.6.0/src/nettest_omni.c:4356: undefined reference to `demo_interval_tick'
collect2: error: ld returned 1 exit status
[...]
Andreas
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netperf/+bug/1508284/+subscriptions