Public bug reported:

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

** Affects: netperf (Ubuntu)
     Importance: High
         Status: Triaged

** Affects: netperf (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs

** Bug watch added: Debian Bug tracker #798789
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798789

** Changed in: netperf (Debian)
 Remote watch: None => Debian Bug tracker #798789

** Changed in: netperf (Ubuntu)
       Status: New => Triaged

** Changed in: netperf (Ubuntu)
   Importance: Undecided => High

** Tags added: ftbfs

** Description changed:

  Imported from Debian bug http://bugs.debian.org/798789:
  
- 5
+ 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1508284

Title:
  netperf: FTBFS with GCC 5: undefined reference to `demo_interval_tick'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netperf/+bug/1508284/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to