DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1130] [22.11-rc3] lib/eal meson build error with clang15.0.4 on Fedora37
@ 2022-11-18  3:24 bugzilla
  2022-11-27 12:36 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2022-11-18  3:24 UTC (permalink / raw)
  To: dev

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-27 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-18  3:24 [Bug 1130] [22.11-rc3] lib/eal meson build error with clang15.0.4 on Fedora37 bugzilla
2022-11-27 12:36 ` bugzilla

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).