Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/91700 _Compilation issues_ Submitter: Min Hu (Connor) Date: 2021-04-17 09:09:48 Reply_mail: 1618650588-34268-8-git-send-email-humin29@huawei.com DPDK git baseline: Repo:dpdk-next-net, CommitID: 8b1e6d9eb25cbd86a0ad9b990eaf598dc9f5a15a 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 | | | | | | | FC33-64 | pass | pass | | | | | | CentOsStream8-64 | pass | | | | | | | UB2010-64 | pass | | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | pass | | | | | | | CENTOS83-64 | pass | pass | pass | 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-240.el8.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+7459+90c24896) x86_64-native-linuxapp-gcc OS: FC33-64 Kernel Version: 5.8.16-300.fc33.x86_64 GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5) Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: CentOsStream8-64 Kernel Version: 4.18.0-257.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-0.2.rc2.module_el8.4.0+533+50191577) x86_64-native-linuxapp-gcc OS: UB2010-64 Kernel Version: 5.8.0-25-generic GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0 Clang Version: 11.0.0-2 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 x86_64-native-linuxapp-icc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug 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/librte_telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_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 -MD -MQ lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o -c ../lib/librte_telemetry/telemetry.c ../lib/librte_telemetry/telemetry.c: In function 'telemetry_legacy_init': ../lib/librte_telemetry/telemetry.c:445:2: error: implicit declaration of function 'pthread_setname_np'; did you mean 'pthread_set_name_np'? [-Werror=implicit-function-declaration] 445 | pthread_setname_np(t_old, "telemetry-v1"); | ^~~~~~~~~~~~~~~~~~ | pthread_set_name_np ../lib/librte_telemetry/telemetry.c:445:2: error: nested extern declaration of 'pthread_setname_np' [-Werror=nested-externs] cc1: all warnings being treated as errors [16/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_errno.c.o [17/1945] Generating symbol file lib/librte_kvargs.so.21.2.p/librte_kvargs.so.21.2.symbols WARNING: Symbol extracting has not been implemented for this platform. Relinking will always happen on source changes. [18/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_devargs.c.o [19/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_dev.c.o [20/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_fbarray.c.o ninja: build stopped *Build Failed #2: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang FAILED: lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o clang -Ilib/librte_telemetry.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_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 -MD -MQ lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o -c ../lib/librte_telemetry/telemetry.c ../lib/librte_telemetry/telemetry.c:445:2: error: implicit declaration of function 'pthread_setname_np' is invalid in C99 [-Werror,-Wimplicit-function-declaration] pthread_setname_np(t_old, "telemetry-v1"); ^ ../lib/librte_telemetry/telemetry.c:445:2: note: did you mean 'pthread_set_name_np'? /usr/include/pthread_np.h:66:6: note: 'pthread_set_name_np' declared here void pthread_set_name_np(pthread_t, const char *); ^ ../lib/librte_telemetry/telemetry.c:445:2: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] pthread_setname_np(t_old, "telemetry-v1"); ^ ../lib/librte_telemetry/telemetry.c:474:2: error: implicit declaration of function 'pthread_setname_np' is invalid in C99 [-Werror,-Wimplicit-function-declaration] pthread_setname_np(t_new, "telemetry-v2"); ^ 3 errors generated. [17/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_devargs.c.o [18/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_dev.c.o [19/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_hexdump.c.o [20/1945] Generating symbol file lib/librte_kvargs.so.21.2.p/librte_kvargs.so.21.2.symbols WARNING: Symbol extracting has not been implemented for this platform. Relinking will always happen on source changes. [21/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_fbarray.c.o ninja: build stopped *Build Failed #3: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+shared FAILED: lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_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 -MD -MQ lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o -c ../lib/librte_telemetry/telemetry.c ../lib/librte_telemetry/telemetry.c: In function 'telemetry_legacy_init': ../lib/librte_telemetry/telemetry.c:445:2: error: implicit declaration of function 'pthread_setname_np'; did you mean 'pthread_set_name_np'? [-Werror=implicit-function-declaration] 445 | pthread_setname_np(t_old, "telemetry-v1"); | ^~~~~~~~~~~~~~~~~~ | pthread_set_name_np ../lib/librte_telemetry/telemetry.c:445:2: error: nested extern declaration of 'pthread_setname_np' [-Werror=nested-externs] cc1: all warnings being treated as errors [14/1827] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_config.c.o [15/1827] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_debug.c.o [16/1827] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_devargs.c.o [17/1827] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_dev.c.o [18/1827] Generating symbol file lib/librte_kvargs.so.21.2.p/librte_kvargs.so.21.2.symbols WARNING: Symbol extracting has not been implemented for this platform. Relinking will always happen on source changes. ninja: build stopped *Build Failed #4: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+debug FAILED: lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o gcc -Ilib/librte_telemetry.a.p -Ilib -I../lib -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_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 -MD -MQ lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o -MF lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o.d -o lib/librte_telemetry.a.p/librte_telemetry_telemetry.c.o -c ../lib/librte_telemetry/telemetry.c ../lib/librte_telemetry/telemetry.c: In function 'telemetry_legacy_init': ../lib/librte_telemetry/telemetry.c:445:2: error: implicit declaration of function 'pthread_setname_np'; did you mean 'pthread_set_name_np'? [-Werror=implicit-function-declaration] 445 | pthread_setname_np(t_old, "telemetry-v1"); | ^~~~~~~~~~~~~~~~~~ | pthread_set_name_np ../lib/librte_telemetry/telemetry.c:445:2: error: nested extern declaration of 'pthread_setname_np' [-Werror=nested-externs] cc1: all warnings being treated as errors [15/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_config.c.o [16/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_errno.c.o [17/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_devargs.c.o [18/1945] Generating symbol file lib/librte_kvargs.so.21.2.p/librte_kvargs.so.21.2.symbols WARNING: Symbol extracting has not been implemented for this platform. Relinking will always happen on source changes. [19/1945] Compiling C object lib/librte_eal.a.p/librte_eal_common_eal_common_dev.c.o ninja: build stopped DPDK STV team