All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [DPDK/core Bug 1937] [dpdk23.11.7-rc1] DPDK build failed with clang21.1.8 on Fedora43
Date: Wed, 22 Apr 2026 02:23:51 +0000	[thread overview]
Message-ID: <bug-1937-3@http.bugs.dpdk.org/> (raw)

http://bugs.dpdk.org/show_bug.cgi?id=1937

            Bug ID: 1937
           Summary: [dpdk23.11.7-rc1] DPDK build failed with clang21.1.8
                    on Fedora43
           Product: DPDK
           Version: 23.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: daxuex.gao@intel.com
  Target Milestone: ---

[Environment]
DPDK version: 
commit f919fadc148d11f2ef68def4b7638503323515b2 (HEAD, tag: v23.11.7-rc1,
origin/23.11)
Author: Shani Peretz <shperetz@nvidia.com>
Date:   Tue Apr 21 09:24:45 2026 +0300

    version: 23.11.7-rc1

    Signed-off-by: Shani Peretz <shperetz@nvidia.com>

OS:  Fedora43-64/6.17.1-300.fc43.x86_64
Compiler: clang 21.1.8 (Fedora 21.1.8-4.fc43)

[Test Setup]
# build cmd: 
CC=clang meson --werror -Dlibdir=lib -Dexamples=all --default-library=static
x86_64-native-linuxapp-clang

ninja  -C x86_64-native-linuxapp-clang/

[Output]
FAILED: app/dpdk-test.p/test_test_event_dma_adapter.c.o 
clang -Iapp/dpdk-test.p -Iapp -I../app -Ilib/cmdline -I../lib/cmdline -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/log -I../lib/log -Ilib/metrics
-I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net
-Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring
-I../lib/ring -Idrivers/net/ring -I../drivers/net/ring -Ilib/ethdev
-I../lib/ethdev -Ilib/meter -I../lib/meter -Idrivers/bus/pci
-I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci
-Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/acl -I../lib/acl -Ilib/hash
-I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/bitratestats -I../lib/bitratestats
-Ilib/bpf -I../lib/bpf -Ilib/compressdev -I../lib/compressdev -Ilib/cryptodev
-I../lib/cryptodev -Ilib/security -I../lib/security -Ilib/dispatcher
-I../lib/dispatcher -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer
-Ilib/dmadev -I../lib/dmadev -Ilib/distributor -I../lib/distributor -Ilib/efd
-I../lib/efd -Ilib/fib -I../lib/fib -Ilib/rib -I../lib/rib -Ilib/table
-I../lib/table -Ilib/port -I../lib/port -Ilib/sched -I../lib/sched
-Ilib/ip_frag -I../lib/ip_frag -Ilib/lpm -I../lib/lpm -Ilib/graph
-I../lib/graph -Ilib/pcapng -I../lib/pcapng -Ilib/ipsec -I../lib/ipsec
-Ilib/latencystats -I../lib/latencystats -Idrivers/net/bonding
-I../drivers/net/bonding -Idrivers/net/null -I../drivers/net/null -Ilib/member
-I../lib/member -Ilib/pdcp -I../lib/pdcp -Ilib/reorder -I../lib/reorder
-Ilib/pdump -I../lib/pdump -Ilib/power -I../lib/power -Ilib/rawdev
-I../lib/rawdev -Ilib/stack -I../lib/stack -Ilib/pipeline -I../lib/pipeline
-Idrivers/crypto/scheduler -I../drivers/crypto/scheduler
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra
-Werror -std=c11 -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
-DWITH_GZFILEOP -march=native -mrtm -DALLOW_EXPERIMENTAL_API
-Wno-format-truncation -fno-strict-aliasing -DALLOW_INTERNAL_API -MD -MQ
app/dpdk-test.p/test_test_event_dma_adapter.c.o -MF
app/dpdk-test.p/test_test_event_dma_adapter.c.o.d -o
app/dpdk-test.p/test_test_event_dma_adapter.c.o -c
../app/test/test_event_dma_adapter.c
../app/test/test_event_dma_adapter.c:594:32: error: variable 'event' is
uninitialized when passed as a const pointer argument here
[-Werror,-Wuninitialized-const-pointer]
  594 |                                                            
TEST_DMA_VCHAN_ID, &event);
      |                                                                        
        ^~~~~
1 error generated.
[2526/2823] Compiling C object app/dpdk-test.p/test_test_efd_perf.c.o
[2527/2823] Compiling C object app/dpdk-test.p/test_test_ethdev_link.c.o
[2528/2823] Compiling C object app/dpdk-test.p/test_test_distributor.c.o
[2529/2823] Compiling C object
app/dpdk-test.p/test_test_event_crypto_adapter.c.o
[2530/2823] Compiling C object
app/dpdk-test.p/test_test_event_eth_tx_adapter.c.o
[2531/2823] Compiling C object app/dpdk-test.p/test_test_event_ring.c.o
[2532/2823] Compiling C object
app/dpdk-test.p/test_test_event_eth_rx_adapter.c.o
[2533/2823] Compiling C object app/dpdk-test.p/test_test_cryptodev.c.o
[2534/2823] Compiling C object
app/dpdk-test.p/test_test_event_timer_adapter.c.o

[Expected Result]
Build Passed

[Regression]
Is this issue a regression: (Y/N)N
This is a new issue discovered on Fedora 43 OS; it was not found on Fedora 42
OS.

-- 
You are receiving this mail because:
You are the assignee for the bug.

             reply	other threads:[~2026-04-22  2:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-22  2:23 bugzilla [this message]
2026-04-29  2:28 ` [DPDK/core Bug 1937] [dpdk23.11.7-rc1] DPDK build failed with clang21.1.8 on Fedora43 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-1937-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.