Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/98932 _Compilation issues_ Submitter: Bruce Richardson Date: 2021-09-15 14:10:30 Reply_mail: 20210915141030.23514-1-bruce.richardson@intel.com DPDK git baseline: Repo:dpdk, CommitID: 8ef09fdc506b76d505d90e064d1f73533388b640 Meson Build Summary: 22 Builds Done, 18 Successful, 4 Failures, 0 Blocked +----------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +----------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | pass | pass | pass | | | pass | | 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_telemetry.a.p/telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.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/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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c: In function 'create_socket': ../lib/telemetry/telemetry.c:435:21: error: passing argument 2 of 'connect' from incompatible pointer type [-Werror=incompatible-pointer-types] 435 | if (connect(sock, &sun, sizeof(sun)) == 0) { | ^~~~ | | | struct sockaddr_un * In file included from ../lib/telemetry/telemetry.c:8: /usr/include/sys/socket.h:662:18: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_un *' 662 | int connect(int, const struct sockaddr *, socklen_t); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [21/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o [22/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [23/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o [24/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_log.c.o [25/2131] Generating kvargs.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #2: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o clang -Ilib/librte_telemetry.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/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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c:435:21: error: incompatible pointer types passing 'struct sockaddr_un *' to parameter of type 'const struct sockaddr *' [-Werror,-Wincompatible-pointer-types] if (connect(sock, &sun, sizeof(sun)) == 0) { ^~~~ /usr/include/sys/socket.h:662:41: note: passing argument to parameter here int connect(int, const struct sockaddr *, socklen_t); ^ 1 error generated. [21/2097] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_log.c.o [22/2097] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_lcore.c.o [23/2097] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_mcfg.c.o [24/2097] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o [25/2097] Generating kvargs.sym_chk with a meson_exe.py custom command [26/2097] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o [27/2097] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o [28/2097] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [29/2097] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.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/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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c: In function 'create_socket': ../lib/telemetry/telemetry.c:435:21: error: passing argument 2 of 'connect' from incompatible pointer type [-Werror=incompatible-pointer-types] 435 | if (connect(sock, &sun, sizeof(sun)) == 0) { | ^~~~ | | | struct sockaddr_un * In file included from ../lib/telemetry/telemetry.c:8: /usr/include/sys/socket.h:662:18: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_un *' 662 | int connect(int, const struct sockaddr *, socklen_t); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [25/2012] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_string_fns.c.o [26/2012] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [27/2012] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_thread.c.o [28/2012] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o [29/2012] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o [30/2012] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o [31/2012] Generating kvargs.sym_chk with a meson_exe.py custom command [32/2012] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [33/2012] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o ninja: build stopped *Build Failed #4: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/librte_telemetry.a.p/telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.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/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 -DRTE_LOG_DEFAULT_LOGTYPE=lib.telemetry -MD -MQ lib/librte_telemetry.a.p/telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/telemetry_telemetry.c.o -c ../lib/telemetry/telemetry.c ../lib/telemetry/telemetry.c: In function 'create_socket': ../lib/telemetry/telemetry.c:435:21: error: passing argument 2 of 'connect' from incompatible pointer type [-Werror=incompatible-pointer-types] 435 | if (connect(sock, &sun, sizeof(sun)) == 0) { | ^~~~ | | | struct sockaddr_un * In file included from ../lib/telemetry/telemetry.c:8: /usr/include/sys/socket.h:662:18: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_un *' 662 | int connect(int, const struct sockaddr *, socklen_t); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [22/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_log.c.o [23/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_dev.c.o [24/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memalloc.c.o [25/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o [26/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memzone.c.o [27/2131] Generating kvargs.sym_chk with a meson_exe.py custom command [28/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o [29/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_proc.c.o [30/2131] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o ninja: build stopped DPDK STV team