[dpdk-test-report] |FAILURE| pw(97373) sid(18469) job(PER_PATCH_BUILD7382)[RFC, 7/7] eal/alarm: introduce alarm fini routine

sys_stv at intel.com sys_stv at intel.com
Fri Aug 27 16:41:05 CEST 2021


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/97373

_Compilation issues_

Submitter: Harman Kalra <hkalra at marvell.com>
Date: 2021-08-26 14:57:26
Reply_mail: 20210826145726.102081-8-hkalra at marvell.com

DPDK git baseline: Repo:dpdk, CommitID: 1539acc20a63ec36d1045cdc2e1ae0e6fd0499a2


Meson Build Summary: 22 Builds Done, 17 Successful, 5 Failures, 0 Blocked

+----------------+------------+--------------+------------+------------+-----------+----------+
| os             | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+----------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64      | pass       | pass         | pass       |            |           | fail     |
| RHEL83-64      | pass       | pass         | pass       | pass       | pass      |          |
| FC34-64        | pass       | pass         |            |            |           |          |
| UB2104-64      | pass       |              |            |            |           |          |
| WIN10-64       |            | pass         |            |            |           |          |
| UB2004-32      | pass       |              |            |            |           |          |
| CENTOS83-64    | pass       | pass         |            |            |           |          |
| FreeBSD1201-64 | fail       | fail         |            | fail       | fail      |          |
| SUSE15-64      | pass       | pass         |            |            |           |          |
+----------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc

OS: RHEL83-64
	Kernel Version: 4.18.0-305.3.1.el8.x86_64
	GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
	Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug
	x86_64-native-linuxapp-icc

OS: FC34-64
	Kernel Version: 5.11.15-300.fc34.x86_64
	GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0)
	Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2104-64
	Kernel Version: 5.11.0-16-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
	Clang Version: 12.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc

OS: WIN10-64
	Kernel Version: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang

OS: UB2004-32
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: CENTOS83-64
	Kernel Version: 4.18.0-240.1.1.el8_3.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.3.18-lp152.57-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 9.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o -c ../lib/eal/freebsd/eal_alarm.c
../lib/eal/freebsd/eal_alarm.c: In function 'rte_eal_alarm_init':
../lib/eal/freebsd/eal_alarm.c:86:2: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Werror=implicit-function-declaration]
   86 |  close(fd);
      |  ^~~~~
      |  pclose
../lib/eal/freebsd/eal_alarm.c:86:2: error: nested extern declaration of 'close' [-Werror=nested-externs]
cc1: all warnings being treated as errors
[65/2131] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o
[66/2131] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -c ../lib/eal/freebsd/eal_interrupts.c
../lib/eal/freebsd/eal_interrupts.c: In function 'intr_source_to_kevent':
../lib/eal/freebsd/eal_interrupts.c:78:16: error: dereferencing pointer to incomplete type 'const struct rte_intr_handle'
   78 |  ke->ident = ih->fd;
      |                ^~
../lib/eal/freebsd/eal_interrupts.c: In function 'rte_intr_callback_register':
../lib/eal/freebsd/eal_interrupts.c:471:1: error: invalid storage class for function 'eal_intr_process_interrupts'
  471 | eal_intr_process_interrupts(struct kevent *events, int nfds)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:611:1: error: invalid storage class for function 'eal_intr_thread_main'
  611 | eal_intr_thread_main(void *arg __rte_unused)
      | ^~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:766:1: error: expected declaration or statement at end of input
  766 | }
      | ^
../lib/eal/freebsd/eal_interrupts.c:766:1: error: control reaches end of non-void function [-Werror=return-type]
  766 | }
      | ^
At top level:
../lib/eal/freebsd/eal_interrupts.c:763:5: error: 'rte_thread_is_intr' defined but not used [-Werror=unused-function]
  763 | int rte_thread_is_intr(void)
      |     ^~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:758:1: error: 'rte_intr_free_epoll_fd' defined but not used [-Werror=unused-function]
  758 | rte_intr_free_epoll_fd(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:752:1: error: 'rte_intr_tls_epfd' defined but not used [-Werror=unused-function]
  752 | rte_intr_tls_epfd(void)
      | ^~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:741:1: error: 'rte_epoll_ctl' defined but not used [-Werror=unused-function]
  741 | rte_epoll_ctl(int epfd, int op, int fd, struct rte_epoll_event *event)
      | ^~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:729:1: error: 'rte_epoll_wait_interruptible' defined but not used [-Werror=unused-function]
  729 | rte_epoll_wait_interruptible(int epfd, struct rte_epoll_event *events,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:717:1: error: 'rte_epoll_wait' defined but not used [-Werror=unused-function]
  717 | rte_epoll_wait(int epfd, struct rte_epoll_event *events,
      | ^~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:710:1: error: 'rte_intr_cap_multiple' defined but not used [-Werror=unused-function]
  710 | rte_intr_cap_multiple(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:703:1: error: 'rte_intr_allow_others' defined but not used [-Werror=unused-function]
  703 | rte_intr_allow_others(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:696:1: error: 'rte_intr_dp_is_en' defined but not used [-Werror=unused-function]
  696 | rte_intr_dp_is_en(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:690:1: error: 'rte_intr_efd_disable' defined but not used [-Werror=unused-function]
  690 | rte_intr_efd_disable(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:681:1: error: 'rte_intr_efd_enable' defined but not used [-Werror=unused-function]
  681 | rte_intr_efd_enable(struct rte_intr_handle *intr_handle, uint32_t nb_efd)
      | ^~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:668:1: error: 'rte_intr_rx_ctl' defined but not used [-Werror=unused-function]
  668 | rte_intr_rx_ctl(struct rte_intr_handle *intr_handle,
      | ^~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:642:1: error: 'rte_eal_intr_init' defined but not used [-Werror=unused-function]
  642 | rte_eal_intr_init(void)
      | ^~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:461:1: error: 'rte_intr_ack' defined but not used [-Werror=unused-function]
  461 | rte_intr_ack(const struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:420:1: error: 'rte_intr_disable' defined but not used [-Werror=unused-function]
  420 | rte_intr_disable(const struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:378:1: error: 'rte_intr_enable' defined but not used [-Werror=unused-function]
  378 | rte_intr_enable(const struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:366:1: error: 'rte_intr_callback_unregister_sync' defined but not used [-Werror=unused-function]
  366 | rte_intr_callback_unregister_sync(const struct rte_intr_handle *intr_handle,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:221:1: error: 'rte_intr_callback_unregister_pending' defined but not used [-Werror=unused-function]
  221 | rte_intr_callback_unregister_pending(const struct rte_intr_handle *intr_handle,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[67/2131] Linking target lib/librte_telemetry.so.22.0
[68/2131] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_lcore.c.o
[69/2131] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memalloc.c.o
ninja: build stopped




*Build Failed #2:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-clang
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o 
clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o -c ../lib/eal/freebsd/eal_alarm.c
../lib/eal/freebsd/eal_alarm.c:86:2: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        close(fd);
        ^
../lib/eal/freebsd/eal_alarm.c:86:2: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
2 errors generated.
[60/2097] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o
[61/2097] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o 
clang -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -c ../lib/eal/freebsd/eal_interrupts.c
../lib/eal/freebsd/eal_interrupts.c:78:16: error: incomplete definition of type 'struct rte_intr_handle'
        ke->ident = ih->fd;
                    ~~^
../lib/eal/include/rte_interrupts.h:26:8: note: forward declaration of 'struct rte_intr_handle'
struct rte_intr_handle;
       ^
../lib/eal/freebsd/eal_interrupts.c:224:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:280:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:368:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:379:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:421:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:462:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:472:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:612:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:643:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:670:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:682:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:691:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:697:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:704:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:711:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:719:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:731:1: error: function definition is not allowed here
{
^
../lib/eal/freebsd/eal_interrupts.c:742:1: error: function definition is not allowed here
{
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[62/2097] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_lcore.c.o
[63/2097] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o
[64/2097] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[65/2097] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memalloc.c.o
[66/2097] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[67/2097] Generating telemetry.sym_chk with a meson_exe.py custom command
[68/2097] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
ninja: build stopped




*Build Failed #3:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o -c ../lib/eal/freebsd/eal_alarm.c
../lib/eal/freebsd/eal_alarm.c: In function 'rte_eal_alarm_init':
../lib/eal/freebsd/eal_alarm.c:86:2: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Werror=implicit-function-declaration]
   86 |  close(fd);
      |  ^~~~~
      |  pclose
../lib/eal/freebsd/eal_alarm.c:86:2: error: nested extern declaration of 'close' [-Werror=nested-externs]
cc1: all warnings being treated as errors
[59/2012] Generating symbol file lib/librte_kvargs.so.22.0.p/librte_kvargs.so.22.0.symbols
WARNING: Symbol extracting has not been implemented for this platform. Relinking will always happen on source changes.
[60/2012] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_lcore.c.o
[61/2012] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -c ../lib/eal/freebsd/eal_interrupts.c
../lib/eal/freebsd/eal_interrupts.c: In function 'intr_source_to_kevent':
../lib/eal/freebsd/eal_interrupts.c:78:16: error: dereferencing pointer to incomplete type 'const struct rte_intr_handle'
   78 |  ke->ident = ih->fd;
      |                ^~
../lib/eal/freebsd/eal_interrupts.c: In function 'rte_intr_callback_register':
../lib/eal/freebsd/eal_interrupts.c:471:1: error: invalid storage class for function 'eal_intr_process_interrupts'
  471 | eal_intr_process_interrupts(struct kevent *events, int nfds)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:611:1: error: invalid storage class for function 'eal_intr_thread_main'
  611 | eal_intr_thread_main(void *arg __rte_unused)
      | ^~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:766:1: error: expected declaration or statement at end of input
  766 | }
      | ^
../lib/eal/freebsd/eal_interrupts.c:766:1: error: control reaches end of non-void function [-Werror=return-type]
  766 | }
      | ^
At top level:
../lib/eal/freebsd/eal_interrupts.c:763:5: error: 'rte_thread_is_intr' defined but not used [-Werror=unused-function]
  763 | int rte_thread_is_intr(void)
      |     ^~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:758:1: error: 'rte_intr_free_epoll_fd' defined but not used [-Werror=unused-function]
  758 | rte_intr_free_epoll_fd(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:752:1: error: 'rte_intr_tls_epfd' defined but not used [-Werror=unused-function]
  752 | rte_intr_tls_epfd(void)
      | ^~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:741:1: error: 'rte_epoll_ctl' defined but not used [-Werror=unused-function]
  741 | rte_epoll_ctl(int epfd, int op, int fd, struct rte_epoll_event *event)
      | ^~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:729:1: error: 'rte_epoll_wait_interruptible' defined but not used [-Werror=unused-function]
  729 | rte_epoll_wait_interruptible(int epfd, struct rte_epoll_event *events,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:717:1: error: 'rte_epoll_wait' defined but not used [-Werror=unused-function]
  717 | rte_epoll_wait(int epfd, struct rte_epoll_event *events,
      | ^~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:710:1: error: 'rte_intr_cap_multiple' defined but not used [-Werror=unused-function]
  710 | rte_intr_cap_multiple(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:703:1: error: 'rte_intr_allow_others' defined but not used [-Werror=unused-function]
  703 | rte_intr_allow_others(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:696:1: error: 'rte_intr_dp_is_en' defined but not used [-Werror=unused-function]
  696 | rte_intr_dp_is_en(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:690:1: error: 'rte_intr_efd_disable' defined but not used [-Werror=unused-function]
  690 | rte_intr_efd_disable(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:681:1: error: 'rte_intr_efd_enable' defined but not used [-Werror=unused-function]
  681 | rte_intr_efd_enable(struct rte_intr_handle *intr_handle, uint32_t nb_efd)
      | ^~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:668:1: error: 'rte_intr_rx_ctl' defined but not used [-Werror=unused-function]
  668 | rte_intr_rx_ctl(struct rte_intr_handle *intr_handle,
      | ^~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:642:1: error: 'rte_eal_intr_init' defined but not used [-Werror=unused-function]
  642 | rte_eal_intr_init(void)
      | ^~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:461:1: error: 'rte_intr_ack' defined but not used [-Werror=unused-function]
  461 | rte_intr_ack(const struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:420:1: error: 'rte_intr_disable' defined but not used [-Werror=unused-function]
  420 | rte_intr_disable(const struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:378:1: error: 'rte_intr_enable' defined but not used [-Werror=unused-function]
  378 | rte_intr_enable(const struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:366:1: error: 'rte_intr_callback_unregister_sync' defined but not used [-Werror=unused-function]
  366 | rte_intr_callback_unregister_sync(const struct rte_intr_handle *intr_handle,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:221:1: error: 'rte_intr_callback_unregister_pending' defined but not used [-Werror=unused-function]
  221 | rte_intr_callback_unregister_pending(const struct rte_intr_handle *intr_handle,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[62/2012] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o
[63/2012] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o
[64/2012] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[65/2012] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[66/2012] Generating telemetry.sym_chk with a meson_exe.py custom command
[67/2012] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
ninja: build stopped




*Build Failed #4:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o -c ../lib/eal/freebsd/eal_alarm.c
../lib/eal/freebsd/eal_alarm.c: In function 'rte_eal_alarm_init':
../lib/eal/freebsd/eal_alarm.c:86:2: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Werror=implicit-function-declaration]
   86 |  close(fd);
      |  ^~~~~
      |  pclose
../lib/eal/freebsd/eal_alarm.c:86:2: error: nested extern declaration of 'close' [-Werror=nested-externs]
cc1: all warnings being treated as errors
[59/2131] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o
FAILED: lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o 
gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="22.0"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -MF lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o.d -o lib/librte_eal.a.p/eal_freebsd_eal_interrupts.c.o -c ../lib/eal/freebsd/eal_interrupts.c
../lib/eal/freebsd/eal_interrupts.c: In function 'intr_source_to_kevent':
../lib/eal/freebsd/eal_interrupts.c:78:16: error: dereferencing pointer to incomplete type 'const struct rte_intr_handle'
   78 |  ke->ident = ih->fd;
      |                ^~
../lib/eal/freebsd/eal_interrupts.c: In function 'rte_intr_callback_register':
../lib/eal/freebsd/eal_interrupts.c:471:1: error: invalid storage class for function 'eal_intr_process_interrupts'
  471 | eal_intr_process_interrupts(struct kevent *events, int nfds)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:611:1: error: invalid storage class for function 'eal_intr_thread_main'
  611 | eal_intr_thread_main(void *arg __rte_unused)
      | ^~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:766:1: error: expected declaration or statement at end of input
  766 | }
      | ^
../lib/eal/freebsd/eal_interrupts.c:766:1: error: control reaches end of non-void function [-Werror=return-type]
  766 | }
      | ^
At top level:
../lib/eal/freebsd/eal_interrupts.c:763:5: error: 'rte_thread_is_intr' defined but not used [-Werror=unused-function]
  763 | int rte_thread_is_intr(void)
      |     ^~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:758:1: error: 'rte_intr_free_epoll_fd' defined but not used [-Werror=unused-function]
  758 | rte_intr_free_epoll_fd(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:752:1: error: 'rte_intr_tls_epfd' defined but not used [-Werror=unused-function]
  752 | rte_intr_tls_epfd(void)
      | ^~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:741:1: error: 'rte_epoll_ctl' defined but not used [-Werror=unused-function]
  741 | rte_epoll_ctl(int epfd, int op, int fd, struct rte_epoll_event *event)
      | ^~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:729:1: error: 'rte_epoll_wait_interruptible' defined but not used [-Werror=unused-function]
  729 | rte_epoll_wait_interruptible(int epfd, struct rte_epoll_event *events,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:717:1: error: 'rte_epoll_wait' defined but not used [-Werror=unused-function]
  717 | rte_epoll_wait(int epfd, struct rte_epoll_event *events,
      | ^~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:710:1: error: 'rte_intr_cap_multiple' defined but not used [-Werror=unused-function]
  710 | rte_intr_cap_multiple(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:703:1: error: 'rte_intr_allow_others' defined but not used [-Werror=unused-function]
  703 | rte_intr_allow_others(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:696:1: error: 'rte_intr_dp_is_en' defined but not used [-Werror=unused-function]
  696 | rte_intr_dp_is_en(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:690:1: error: 'rte_intr_efd_disable' defined but not used [-Werror=unused-function]
  690 | rte_intr_efd_disable(struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:681:1: error: 'rte_intr_efd_enable' defined but not used [-Werror=unused-function]
  681 | rte_intr_efd_enable(struct rte_intr_handle *intr_handle, uint32_t nb_efd)
      | ^~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:668:1: error: 'rte_intr_rx_ctl' defined but not used [-Werror=unused-function]
  668 | rte_intr_rx_ctl(struct rte_intr_handle *intr_handle,
      | ^~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:642:1: error: 'rte_eal_intr_init' defined but not used [-Werror=unused-function]
  642 | rte_eal_intr_init(void)
      | ^~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:461:1: error: 'rte_intr_ack' defined but not used [-Werror=unused-function]
  461 | rte_intr_ack(const struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:420:1: error: 'rte_intr_disable' defined but not used [-Werror=unused-function]
  420 | rte_intr_disable(const struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:378:1: error: 'rte_intr_enable' defined but not used [-Werror=unused-function]
  378 | rte_intr_enable(const struct rte_intr_handle *intr_handle)
      | ^~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:366:1: error: 'rte_intr_callback_unregister_sync' defined but not used [-Werror=unused-function]
  366 | rte_intr_callback_unregister_sync(const struct rte_intr_handle *intr_handle,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../lib/eal/freebsd/eal_interrupts.c:221:1: error: 'rte_intr_callback_unregister_pending' defined but not used [-Werror=unused-function]
  221 | rte_intr_callback_unregister_pending(const struct rte_intr_handle *intr_handle,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[60/2131] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o
[61/2131] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_lcore.c.o
[62/2131] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o
[63/2131] Generating symbol file lib/librte_kvargs.so.22.0.p/librte_kvargs.so.22.0.symbols
WARNING: Symbol extracting has not been implemented for this platform. Relinking will always happen on source changes.
[64/2131] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[65/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
[66/2131] Generating telemetry.sym_chk with a meson_exe.py custom command
[67/2131] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
ninja: build stopped




*Build Failed #5:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: doc/api/html 
/root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18469/dpdk/doc/api/generate_doxygen.sh doc/api/doxy-api.conf doc/api/html /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18469/dpdk/doc/api/doxy-html-custom.sh
/root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18469/dpdk/lib/eal/include/rte_interrupts.h:360: error: argument 'Source' of command @param is not found in the argument list of rte_intr_handle_instance_index_set(struct rte_intr_handle *intr_handle, const struct rte_intr_handle *src, int index) (warning treated as error, aborting now)
[2621/2646] Generating rte_kni with a custom command.
make: Entering directory '/usr/src/linux-headers-5.8.0-48-generic'
  CC [M]  /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18469/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/kni_net.o
  CC [M]  /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18469/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/kni_misc.o
  LD [M]  /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18469/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/rte_kni.o
  MODPOST /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18469/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/Module.symvers
  CC [M]  /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18469/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/rte_kni.mod.o
  LD [M]  /root/UB2004-64_K5.8.0_GCC10.2.0/x86_64-native-linuxapp-doc/18469/dpdk/x86_64-native-linuxapp-doc/kernel/linux/kni/rte_kni.ko
make: Leaving directory '/usr/src/linux-headers-5.8.0-48-generic'
[2622/2646] Compiling C object 'app/test/3062f5d@@dpdk-test at exe/test_ring.c.o'.
[2623/2646] Generating html_guides with a custom command.
[2624/2646] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2 at sta/event_octeontx2_otx2_worker.c.o'.
[2625/2646] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2 at sta/event_octeontx2_otx2_worker_dual.c.o'.
ninja: build stopped


DPDK STV team


More information about the test-report mailing list