All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1140] [19.11.14-rc1] app/test-pmd/config meson build failed with clangClang15.0.4 on Fedora37/64
Date: Wed, 07 Dec 2022 05:51:36 +0000	[thread overview]
Message-ID: <bug-1140-3@http.bugs.dpdk.org/> (raw)

https://bugs.dpdk.org/show_bug.cgi?id=1140

            Bug ID: 1140
           Summary: [19.11.14-rc1] app/test-pmd/config meson build failed
                    with clangClang15.0.4 on Fedora37/64
           Product: DPDK
           Version: 19.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: daxuex.gao@intel.com
  Target Milestone: ---

[DPDK version]
commit f99f2e55af7a49a6ee6555a5554847094086017f
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Date:   Mon Nov 28 11:46:00 2022 +0100

    version: 19.11.14-rc1

    Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>

[OS version]
fedora37/5.19.0-21-generic
clang v15.04

[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]
Target: x86_64-native-linuxapp-clang
FAILED: app/dpdk-testpmd.p/test-pmd_config.c.o 
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/librte_ethdev
-I../lib/librte_ethdev -I. -I.. -Iconfig -I../config
-Ilib/librte_eal/common/include -I../lib/librte_eal/common/include
-I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common
-I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86
-I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal
-I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net
-I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool
-I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring
-Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_gro -I../lib/librte_gro
-Ilib/librte_gso -I../lib/librte_gso -Ilib/librte_cmdline
-I../lib/librte_cmdline -Ilib/librte_metrics -I../lib/librte_metrics
-Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux
-Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_pdump -I../lib/librte_pdump
-Ilib/librte_bitratestats -I../lib/librte_bitratestats
-Ilib/librte_latencystats -I../lib/librte_latencystats -Idrivers/net/bonding
-I../drivers/net/bonding -Idrivers/bus/vdev -I../drivers/bus/vdev
-Ilib/librte_sched -I../lib/librte_sched -Ilib/librte_ip_frag
-I../lib/librte_ip_frag -Ilib/librte_hash -I../lib/librte_hash
-Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/i40e
-I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base
-Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base
-I../drivers/net/ixgbe/base -Ilib/librte_security -I../lib/librte_security
-Ilib/librte_cryptodev -I../lib/librte_cryptodev -Idrivers/net/softnic
-I../drivers/net/softnic -Ilib/librte_pipeline -I../lib/librte_pipeline
-Ilib/librte_port -I../lib/librte_port -Ilib/librte_eventdev
-I../lib/librte_eventdev -Ilib/librte_timer -I../lib/librte_timer
-Ilib/librte_kni -I../lib/librte_kni -Ilib/librte_table -I../lib/librte_table
-Ilib/librte_lpm -I../lib/librte_lpm -Ilib/librte_acl -I../lib/librte_acl
-Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include
-I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax
-I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib
-Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa
-I../drivers/net/dpaa -Ilib/librte_bpf -I../lib/librte_bpf -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 -march=native
-Wno-deprecated-declarations -DRTE_LIBRTE_IXGBE_BYPASS -DALLOW_EXPERIMENTAL_API
-MD -MQ app/dpdk-testpmd.p/test-pmd_config.c.o -MF
app/dpdk-testpmd.p/test-pmd_config.c.o.d -o
app/dpdk-testpmd.p/test-pmd_config.c.o -c ../app/test-pmd/config.c
../app/test-pmd/config.c:1460:11: error: variable 'c' set but not used
[-Werror,-Wunused-but-set-variable]
        uint32_t c = 0;
                 ^
1 error generated.
[1855/2195] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o
[1856/2195] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o
[1857/2195] Compiling C object
examples/dpdk-ethtool.p/ethtool_lib_rte_ethtool.c.o
[1858/2195] Compiling C object app/test/dpdk-test.p/test_byteorder.c.o
[1859/2195] Compiling C object app/dpdk-testpmd.p/test-pmd_macswap.c.o
[1860/2195] Compiling C object app/dpdk-testpmd.p/test-pmd_macfwd.c.o
[1861/2195] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o
[1862/2195] Compiling C object
drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker.c.o
[1863/2195] Compiling C object
drivers/libtmp_rte_pmd_octeontx2_event.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped


[Bad commit]
commit b06fc3d2a7eaca271eca9cbd6a2f7111f0fb50c0
Author: David Marchand <david.marchand@redhat.com>
Date:   Fri Nov 18 09:53:12 2022 +0100

    test/member: fix build with clang 15

    [ upstream commit 8f8ed0c1f7f20d821eba41f51243e805b66e2579 ]

    This local variable hides the more global one.
    The original intent was probably to use the global one.

    Fixes: 0cc67a96e486 ("test/member: add functional and perf tests")

    Signed-off-by: David Marchand <david.marchand@redhat.com>
    Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>

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

                 reply	other threads:[~2022-12-07  5:51 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=bug-1140-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.