From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1130] [22.11-rc3] lib/eal meson build error with clang15.0.4 on Fedora37
Date: Fri, 18 Nov 2022 03:24:14 +0000 [thread overview]
Message-ID: <bug-1130-3@http.bugs.dpdk.org/> (raw)
https://bugs.dpdk.org/show_bug.cgi?id=1130
Bug ID: 1130
Summary: [22.11-rc3] lib/eal meson build error with clang15.0.4
on Fedora37
Product: DPDK
Version: 22.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: core
Assignee: dev@dpdk.org
Reporter: chenyux.huang@intel.com
Target Milestone: ---
[git]
commit 04f68bb92b6fee621ddf0f0948f5565fa31a84fd (HEAD, tag: v22.11-rc3)
Author: Thomas Monjalon <thomas@monjalon.net>
Date: Tue Nov 15 18:21:34 2022 +0100
version: 22.11-rc3
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
[OS version]
Fedora Linux 37 (Server Edition)
Linux 6.0.7-301.fc37.x86_64
clang version 15.0.4 (Fedora 15.0.4-1.fc37)
[bad commit]
The new fedora37 found this problem, while the old fedora36 did not。
[Test setup]
CC=clang meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all
--default-library=static x86_64-native-linuxapp-clang
ninja -j 10 -C x86_64-native-linuxapp-clang
[error log]
[root@localhost dpdk]# ninja -j 10 -C x86_64-native-linuxapp-clang/
ninja: Entering directory `x86_64-native-linuxapp-clang/'
[34/3596] Compiling C object lib/librte_eal.a.p/eal_common_rte_service.c.o
FAILED: lib/librte_eal.a.p/eal_common_rte_service.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/linux/include
-I../lib/eal/linux/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 -fPIC -march=native
-DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API '-DABI_VERSION="22.2"'
-DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ
lib/librte_eal.a.p/eal_common_rte_service.c.o -MF
lib/librte_eal.a.p/eal_common_rte_service.c.o.d -o
lib/librte_eal.a.p/eal_common_rte_service.c.o -c
../lib/eal/common/rte_service.c
../lib/eal/common/rte_service.c:100:6: error: variable 'count' set but not used
[-Werror,-Wunused-but-set-variable]
int count = 0;
^
1 error generated.
[43/3596] Generating lib/telemetry.sym_chk with a custom command (wrapped by
meson to capture output)
ninja: build stopped: subcommand failed.
--
You are receiving this mail because:
You are the assignee for the bug.
next reply other threads:[~2022-11-18 3:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-18 3:24 bugzilla [this message]
2022-11-27 12:36 ` [Bug 1130] [22.11-rc3] lib/eal meson build error with clang15.0.4 on Fedora37 bugzilla
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=bug-1130-3@http.bugs.dpdk.org/ \
--to=bugzilla@dpdk.org \
--cc=dev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.