From: sys_stv@intel.com
To: test-report@dpdk.org, roretzla@linux.microsoft.com
Subject: [dpdk-test-report] |FAILURE| pw(120459) sid(26000) job(PER_PATCH_BUILD5588)[3/3] eal: deprecate pthread control thread create API
Date: 06 Dec 2022 23:41:26 -0800 [thread overview]
Message-ID: <8483a8$t25rjr@fmsmga005-auth.fm.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 18861 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/120459
_Compilation issues_
Submitter: Tyler Retzlaff <roretzla@linux.microsoft.com>
Date: 2022-12-05 20:24:28
Reply_mail: <1670271868-11364-4-git-send-email-roretzla@linux.microsoft.com>
DPDK git baseline: Repo:dpdk, CommitID: 6c8aed5ab7f6dbed8e71199504fa227f5f60c6fd
Meson Build Summary: 26 Builds Done, 20 Successful, 6 Failures, 0 Blocked
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| FC36-64 | pass | pass | | | | | |
| FreeBSD13-64 | fail | fail | | fail | fail | | |
| RHEL86-64 | pass | pass | | pass | pass | | |
| SUSE15-64 | pass | pass | | | | | |
| RHEL90-64 | pass | | | | | | |
| UB2004-64 | pass | pass | | | | fail | |
| UB2204-32 | pass | | | | | | |
| UB2204-64 | pass | pass | | | | fail | pass |
| CentOS79-64 | pass | | | | | | |
| RHEL86-64Rt | pass | pass | | | | | |
| UB2210-64 | pass | | | | | | |
| FC37-64 | pass | | | | | | |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
Comments:
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: FC36-64
Kernel Version: 5.17.7-300.fc36.x86_64
GCC Version: gcc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1)
Clang Version: 14.0.0 (Fedora 14.0.0-1.fc36)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: FreeBSD13-64
Kernel Version: 13.1-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
Clang Version: 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL86-64
Kernel Version: 4.18.0-372.9.1.el8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13)
Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.14.21-150400.22-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 11.0.1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: RHEL90-64
Kernel Version: 5.14.0-70.13.1.el9_0.x86_64
GCC Version: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)
Clang Version: 13.0.1 (Red Hat 13.0.1-1.el9)
x86_64-native-linuxapp-gcc
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-doc
OS: UB2204-32
Kernel Version: 5.15.0-25-generic
GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-25-generic
GCC Version: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
Clang Version: 14.0.0-1ubuntu1
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: CentOS79-64
Kernel Version: 3.10.0-1160.76.1.el7.x86_64
GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
x86_64-native-linuxapp-gcc
OS: RHEL86-64Rt
Kernel Version: 4.18.0-372.9.1.rt7.166.el8.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-13)
Clang Version: 14.0.0 (Red Hat 14.0.0-1.module_el8.7.0+1142+5343df54)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2210-64
Kernel Version: 5.19.0-21-generic
GCC Version: gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0
Clang Version: 15.0.2-1
x86_64-native-linuxapp-gcc
OS: FC37-64
Kernel Version: 6.0.7-301.fc37.x86_64
GCC Version: gcc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)
Clang Version: 15.0.4 (Fedora 15.0.4-1.fc37)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc
FAILED: lib/librte_eal.a.p/eal_common_eal_common_thread.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 -Wextra -Werror -O3 -include rte_config.h -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="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_thread.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_thread.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_thread.c.o -c ../lib/eal/common/eal_common_thread.c
../lib/eal/common/eal_common_thread.c: In function 'rte_control_thread_create':
../lib/eal/common/eal_common_thread.c:372:34: error: passing argument 1 of 'rte_thread_setname' makes pointer from integer without a cast [-Werror=int-conversion]
372 | ret = rte_thread_setname(thread->opaque_id, name);
| ~~~~~~^~~~~~~~~~~
| |
| uintptr_t {aka long unsigned int}
In file included from ../lib/eal/common/eal_common_thread.c:15:
../lib/eal/include/rte_lcore.h:352:34: note: expected 'pthread_t' {aka 'struct pthread *'} but argument is of type 'uintptr_t' {aka 'long unsigned int'}
352 | int rte_thread_setname(pthread_t id, const char *name);
| ~~~~~~~~~~^~
cc1: all warnings being treated as errors
[26/1831] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[27/1831] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[28/1831] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_uuid.c.o
[29/1831] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[30/1831] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[31/1831] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
[32/1831] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[33/1831] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[34/1831] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #2:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: lib/librte_eal.a.p/eal_common_eal_common_thread.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 -Wextra -Werror -O3 -include rte_config.h -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="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_thread.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_thread.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_thread.c.o -c ../lib/eal/common/eal_common_thread.c
../lib/eal/common/eal_common_thread.c:372:28: error: incompatible integer to pointer conversion passing 'uintptr_t' (aka 'unsigned long') to parameter of type 'pthread_t' (aka 'struct pthread *') [-Werror,-Wint-conversion]
ret = rte_thread_setname(thread->opaque_id, name);
^~~~~~~~~~~~~~~~~
../lib/eal/include/rte_lcore.h:352:34: note: passing argument to parameter 'id' here
int rte_thread_setname(pthread_t id, const char *name);
^
1 error generated.
[26/1817] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_timer.c.o
[27/1817] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_tailqs.c.o
[28/1817] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_fbarray.c.o
[29/1817] Generating kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[30/1817] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[31/1817] Generating telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[32/1817] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
[33/1817] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[34/1817] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: lib/librte_eal.a.p/eal_common_eal_common_thread.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 -Wextra -Werror -O3 -include rte_config.h -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="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_thread.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_thread.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_thread.c.o -c ../lib/eal/common/eal_common_thread.c
../lib/eal/common/eal_common_thread.c: In function 'rte_control_thread_create':
../lib/eal/common/eal_common_thread.c:372:34: error: passing argument 1 of 'rte_thread_setname' makes pointer from integer without a cast [-Werror=int-conversion]
372 | ret = rte_thread_setname(thread->opaque_id, name);
| ~~~~~~^~~~~~~~~~~
| |
| uintptr_t {aka long unsigned int}
In file included from ../lib/eal/common/eal_common_thread.c:15:
../lib/eal/include/rte_lcore.h:352:34: note: expected 'pthread_t' {aka 'struct pthread *'} but argument is of type 'uintptr_t' {aka 'long unsigned int'}
352 | int rte_thread_setname(pthread_t id, const char *name);
| ~~~~~~~~~~^~
cc1: all warnings being treated as errors
[27/1734] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[28/1734] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_uuid.c.o
[29/1734] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_memory.c.o
[30/1734] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[31/1734] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
[32/1734] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[33/1734] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[34/1734] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[35/1734] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #4:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: lib/librte_eal.a.p/eal_common_eal_common_thread.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 -Wextra -Werror -O2 -g -include rte_config.h -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="23.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ lib/librte_eal.a.p/eal_common_eal_common_thread.c.o -MF lib/librte_eal.a.p/eal_common_eal_common_thread.c.o.d -o lib/librte_eal.a.p/eal_common_eal_common_thread.c.o -c ../lib/eal/common/eal_common_thread.c
../lib/eal/common/eal_common_thread.c: In function 'rte_control_thread_create':
../lib/eal/common/eal_common_thread.c:372:34: error: passing argument 1 of 'rte_thread_setname' makes pointer from integer without a cast [-Werror=int-conversion]
372 | ret = rte_thread_setname(thread->opaque_id, name);
| ~~~~~~^~~~~~~~~~~
| |
| uintptr_t {aka long unsigned int}
In file included from ../lib/eal/common/eal_common_thread.c:15:
../lib/eal/include/rte_lcore.h:352:34: note: expected 'pthread_t' {aka 'struct pthread *'} but argument is of type 'uintptr_t' {aka 'long unsigned int'}
352 | int rte_thread_setname(pthread_t id, const char *name);
| ~~~~~~~~~~^~
cc1: all warnings being treated as errors
[29/1831] Compiling C object lib/librte_eal.a.p/eal_common_rte_reciprocal.c.o
[30/1831] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_trace_points.c.o
[31/1831] Compiling C object lib/librte_eal.a.p/eal_common_rte_random.c.o
[32/1831] Compiling C object lib/librte_eal.a.p/eal_common_malloc_elem.c.o
[33/1831] Generating lib/kvargs.sym_chk with a custom command (wrapped by meson to capture output)
[34/1831] Generating lib/telemetry.sym_chk with a custom command (wrapped by meson to capture output)
[35/1831] Compiling C object lib/librte_eal.a.p/eal_common_malloc_heap.c.o
[36/1831] Compiling C object lib/librte_eal.a.p/eal_common_rte_malloc.c.o
[37/1831] Compiling C object lib/librte_eal.a.p/eal_common_eal_common_options.c.o
ninja: build stopped
*Build Failed #5:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: doc/api/html
/usr/bin/python3 ../doc/api/generate_doxygen.py doc/api/html /usr/bin/doxygen doc/api/doxy-api.conf
/root/UB2004-64_K5.8.0_GCC10.3.0/x86_64-native-linuxapp-doc/26000/dpdk/lib/eal/include/rte_thread.h:97: error: argument 'attr' of command @param is not found in the argument list of rte_control_thread_create(rte_thread_t *thread, const char *name, const rte_thread_attr_t *thread_attr, rte_thread_func thread_func, void *arg) (warning treated as error, aborting now)
Traceback (most recent call last):
File "../doc/api/generate_doxygen.py", line 13, in <module>
subprocess.run(doxygen_command, check=True, stdout=out)
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/doxygen', 'doc/api/doxy-api.conf']' returned non-zero exit status 1.
[3023/3024] Linking target app/test/dpdk-test
[3024/3024] Generating html_guides with a custom command
ninja: build stopped
*Build Failed #6:
OS: UB2204-64
Target: x86_64-native-linuxapp-doc
FAILED: doc/api/html
/usr/bin/python3 ../doc/api/generate_doxygen.py doc/api/html /usr/bin/doxygen doc/api/doxy-api.conf
/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/26000/dpdk/lib/eal/include/rte_thread.h:98: error: argument 'attr' of command @param is not found in the argument list of rte_control_thread_create(rte_thread_t *thread, const char *name, const rte_thread_attr_t *thread_attr, rte_thread_func thread_func, void *arg) (warning treated as error, aborting now)
Traceback (most recent call last):
File "/root/UB2204-64_K5.15.0_GCC11.2.0/x86_64-native-linuxapp-doc/26000/dpdk/x86_64-native-linuxapp-doc/../doc/api/generate_doxygen.py", line 13, in <module>
subprocess.run(doxygen_command, check=True, stdout=out)
File "/usr/lib/python3.10/subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/doxygen', 'doc/api/doxy-api.conf']' returned non-zero exit status 1.
[3072/3074] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[3073/3074] Generating doc/guides/html_guides with a custom command
ninja: build stopped
DPDK STV team
reply other threads:[~2022-12-07 7:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='8483a8$t25rjr@fmsmga005-auth.fm.intel.com' \
--to=sys_stv@intel.com \
--cc=roretzla@linux.microsoft.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).