Summary: | >=net-misc/ntp-4.2.8_p3 FEATURES=test - packetProcessing.c:141:15: warning: array subscript is above array bounds [-Warray-bounds] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | minor | Keywords: | TESTFAILURE |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://bugs.ntp.org/show_bug.cgi?id=2950 | ||
See Also: | http://bugs.ntp.org/show_bug.cgi?id=2950 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
net-misc:ntp-4.2.8_p4:20151024-050259.log
net-misc:ntp-4.2.8_p4:20151024-050351.log |
Created attachment 415320 [details]
net-misc:ntp-4.2.8_p4:20151024-050351.log
packetProcessing.c: In function ‘test_TooShortExtensionFieldLength’:
packetProcessing.c:141:15: warning: array subscript is above array bounds [-Warray-bounds]
[ebuild R ~] net-misc/ntp-4.2.8_p4::gentoo USE="ipv6 readline samba ssl threads vim-syntax zeroconf -caps -debug -openntpd (-parse-clocks) (-selinux) -snmp" 0 KiB
(In reply to Jeroen Roovers from comment #0) > Created attachment 415318 [details] > net-misc:ntp-4.2.8_p4:20151024-050259.log > > packetProcessing.c: In function ‘test_TooShortExtensionFieldLength’: > packetProcessing.c:141:15: warning: array subscript is above array bounds > [-Warray-bounds] > testpkt.exten[7] = htonl(3); // 3 bytes is too short. Then later: /usr/lib/gcc/powerpc64-unknown-linux-gnu/4.9.3/../../../../powerpc64-unknown-linux-gnu/bin/ld: ../../libntp/libntp.a(work_thread.o): undefined reference to symbol 'pthread_sigmask@@GLIBC_2.3' /lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status distcc[6110] ERROR: compile (null) on localhost failed Makefile:943: recipe for target 'test-packetHandling' failed make[6]: *** [test-packetHandling] Error 1 make[6]: *** Waiting for unfinished jobs.... (In reply to Jeroen Roovers from comment #1) > Created attachment 415320 [details] > net-misc:ntp-4.2.8_p4:20151024-050351.log > > packetProcessing.c: In function ‘test_TooShortExtensionFieldLength’: > packetProcessing.c:141:15: warning: array subscript is above array bounds > [-Warray-bounds] > > [ebuild R ~] net-misc/ntp-4.2.8_p4::gentoo USE="ipv6 readline samba ssl > threads vim-syntax zeroconf -caps -debug -openntpd (-parse-clocks) > (-selinux) -snmp" 0 KiB /usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.8.5/../../../../hppa2.0-unknown-linux-gnu/bin/ld: ../../libntp/libntp.a(lib.o): undefined r eference to symbol 'pthread_once@@GLIBC_2.2' /lib/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status /usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.8.5/../../../../hppa2.0-unknown-linux-gnu/bin/ld: ../../libntp/libntp.a(lib.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2' /lib/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status distcc[12273] ERROR: compile (null) on localhost failed distcc[12270] ERROR: compile (null) on localhost failed /usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.8.5/../../../../hppa2.0-unknown-linux-gnu/bin/ld: ../../libntp/libntp.a(lib.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2' /lib/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status distcc[12278] ERROR: compile (null) on localhost failed Makefile:931: recipe for target 'test-kodFile' failed make[6]: *** [test-kodFile] Error 1 make[6]: *** Waiting for unfinished jobs.... moved upstream. i don't think this is an actual test fail, just a warning that needs to get fixed. |
Created attachment 415318 [details] net-misc:ntp-4.2.8_p4:20151024-050259.log packetProcessing.c: In function ‘test_TooShortExtensionFieldLength’: packetProcessing.c:141:15: warning: array subscript is above array bounds [-Warray-bounds] testpkt.exten[7] = htonl(3); // 3 bytes is too short. ^ [ebuild R ~] net-misc/ntp-4.2.8_p4::gentoo USE="ipv6 readline ssl threads -caps -debug -openntpd (-parse-clocks) -samba (-selinux) -snmp -vim-syntax -zeroconf" 0 KiB