Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/102718 _Compilation issues_ Submitter: David Marchand Date: 2021-10-24 20:04:49 Reply_mail: 20211024200449.12024-10-david.marchand@redhat.com DPDK git baseline: Repo:dpdk, CommitID: daa02b5cddbb8e11b31d41e2bf7bb1ae64dcae2f Meson Build Summary: 20 Builds Done, 16 Successful, 4 Failures, 0 Blocked +--------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +--------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | pass | pass | pass | | | pass | | FC34-64 | pass | pass | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | pass | | | | | | | FreeBSD13-64 | fail | fail | | fail | fail | | | UB2110-64 | pass | | | | | | | SUSE15-64 | pass | pass | | | | | | RHEL84-64 | pass | pass | pass | pass | pass | | +--------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.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: 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: 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.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: FreeBSD13-64 Kernel Version: 13.0-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 10.3.0 Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: UB2110-64 Kernel Version: 5.13.0-19-generic GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0 Clang Version: 13.0.0-2 x86_64-native-linuxapp-gcc 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 OS: RHEL84-64 Kernel Version: 4.18.0-305.19.1.el8_4.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 *Build Failed #1: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc 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 -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 -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -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 In file included from ../lib/eal/include/rte_bus.h:23, from ../lib/eal/include/rte_eal.h:20, from ../lib/eal/include/rte_lcore.h:16, from ../lib/eal/freebsd/eal_interrupts.c:12: ../lib/eal/freebsd/eal_interrupts.c: In function 'eal_intr_process_interrupts': ../lib/eal/freebsd/eal_interrupts.c:569:7: error: expected ')' before 'rte_intr_fd_get' 569 | rte_intr_fd_get(src->intr_handle), | ^~~~~~~~~~~~~~~ ../lib/eal/include/rte_log.h:343:32: note: in definition of macro 'RTE_LOG' 343 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/eal/freebsd/eal_interrupts.c:570:22: error: format '%d' expects a matching 'int' argument [-Werror=format=] 570 | strerror(errno)); | ^ ../lib/eal/include/rte_log.h:343:25: note: in definition of macro 'RTE_LOG' 343 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../lib/eal/freebsd/eal_interrupts.c:570:22: error: format '%s' expects a matching 'char *' argument [-Werror=format=] 570 | strerror(errno)); | ^ ../lib/eal/include/rte_log.h:343:25: note: in definition of macro 'RTE_LOG' 343 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ cc1: all warnings being treated as errors [57/2020] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o [58/2020] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o [59/2020] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_dev.c.o [60/2020] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_lcore.c.o [61/2020] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_alarm.c.o [62/2020] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o [63/2020] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output) [64/2020] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output) [65/2020] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-clang 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 -fcolor-diagnostics -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 -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:569:7: error: expected ')' rte_intr_fd_get(src->intr_handle), ^ ../lib/eal/freebsd/eal_interrupts.c:568:6: note: to match this '(' RTE_LOG(ERR, EAL, "Error removing fd %d kevent, %s\n" ^ ../lib/eal/include/rte_log.h:342:10: note: expanded from macro 'RTE_LOG' rte_log(RTE_LOG_ ## l, \ ^ 1 error generated. [61/1992] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memalloc.c.o [62/1992] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o [63/1992] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o [64/1992] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output) [65/1992] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o [66/1992] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o [67/1992] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memory.c.o [68/1992] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_thread.c.o [69/1992] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #3: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+shared 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 -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 -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -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 In file included from ../lib/eal/include/rte_bus.h:23, from ../lib/eal/include/rte_eal.h:20, from ../lib/eal/include/rte_lcore.h:16, from ../lib/eal/freebsd/eal_interrupts.c:12: ../lib/eal/freebsd/eal_interrupts.c: In function 'eal_intr_process_interrupts': ../lib/eal/freebsd/eal_interrupts.c:569:7: error: expected ')' before 'rte_intr_fd_get' 569 | rte_intr_fd_get(src->intr_handle), | ^~~~~~~~~~~~~~~ ../lib/eal/include/rte_log.h:343:32: note: in definition of macro 'RTE_LOG' 343 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/eal/freebsd/eal_interrupts.c:570:22: error: format '%d' expects a matching 'int' argument [-Werror=format=] 570 | strerror(errno)); | ^ ../lib/eal/include/rte_log.h:343:25: note: in definition of macro 'RTE_LOG' 343 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../lib/eal/freebsd/eal_interrupts.c:570:22: error: format '%s' expects a matching 'char *' argument [-Werror=format=] 570 | strerror(errno)); | ^ ../lib/eal/include/rte_log.h:343:25: note: in definition of macro 'RTE_LOG' 343 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ cc1: all warnings being treated as errors [62/1874] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memalloc.c.o [63/1874] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o [64/1874] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output) [65/1874] Compiling C object lib/librte_eal.a.p/eal_x86_rte_cpuflags.c.o [66/1874] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal.c.o [67/1874] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_thread.c.o [68/1874] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o [69/1874] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memory.c.o [70/1874] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output) ninja: build stopped *Build Failed #4: OS: FreeBSD13-64 Target: x86_64-native-bsdapp-gcc+debug 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 -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 -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -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 In file included from ../lib/eal/include/rte_bus.h:23, from ../lib/eal/include/rte_eal.h:20, from ../lib/eal/include/rte_lcore.h:16, from ../lib/eal/freebsd/eal_interrupts.c:12: ../lib/eal/freebsd/eal_interrupts.c: In function 'eal_intr_process_interrupts': ../lib/eal/freebsd/eal_interrupts.c:569:7: error: expected ')' before 'rte_intr_fd_get' 569 | rte_intr_fd_get(src->intr_handle), | ^~~~~~~~~~~~~~~ ../lib/eal/include/rte_log.h:343:32: note: in definition of macro 'RTE_LOG' 343 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^~~~~~~~~~~ ../lib/eal/freebsd/eal_interrupts.c:570:22: error: format '%d' expects a matching 'int' argument [-Werror=format=] 570 | strerror(errno)); | ^ ../lib/eal/include/rte_log.h:343:25: note: in definition of macro 'RTE_LOG' 343 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ ../lib/eal/freebsd/eal_interrupts.c:570:22: error: format '%s' expects a matching 'char *' argument [-Werror=format=] 570 | strerror(errno)); | ^ ../lib/eal/include/rte_log.h:343:25: note: in definition of macro 'RTE_LOG' 343 | RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__) | ^ cc1: all warnings being treated as errors [67/1992] Compiling C object lib/librte_eal.a.p/eal_x86_rte_cycles.c.o [68/1992] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o [69/1992] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_lcore.c.o [70/1992] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_timer.c.o [71/1992] Generating symbol file lib/librte_kvargs.so.22.0.p/librte_kvargs.so.22.0.symbols [72/1992] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_hugepage_info.c.o [73/1992] Generating symbol file lib/librte_telemetry.so.22.0.p/librte_telemetry.so.22.0.symbols [74/1992] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_thread.c.o [75/1992] Compiling C object lib/librte_eal.a.p/eal_freebsd_eal_memory.c.o ninja: build stopped DPDK STV team