Skip to contentSkip to conversation

net/qede build failure with make and clang 13

Bug 912 [email protected] 1 participant 1 message Dec 17, 2021

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 912
           Summary: [19.11.11-rc1] net/qede build failure with make and
                    clang 13
           Product: DPDK
           Version: 19.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: mk
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

DPDk version:
commit 928100dd6d30e733be411380fdb78c68a061936c (HEAD, tag: v19.11.11-rc1, origin/19.11)

Author: Christian Ehrhardt <[email protected]>
Date:   Thu Dec 9 15:33:57 2021 +0100

version: 19.11.11-rc1

DPDK patch to fix 901/902/903
Verified patchset https://github.com/cpaelzer/dpdk-stable-queue/commits/19.11/
Commit:
net/ixgbe: build failure with make and clang 13
acd0a2d2d net/ice: build failure with make and clang 13
cc089e955 net/i40e: build failure with make and clang 13

TestSteps:
make config MAKE_PAUSE=n O=/tmp/build-x86_64-native-linuxapp-clang T=x86_64-native-linuxapp-clang
make -j64 MAKE_PAUSE=n O=/tmp/build-x86_64-native-linuxapp-clang

Error Log:
CC rte_eth_softnic_pipeline.o
/root/jaccy/dpdk/drivers/net/qede/base/ecore_hw.c:263:7: error: variable 'prev_fifo_err' set but not used [-Werror,-Wunused-but-set-variable]

        bool prev_fifo_err;
             ^
/root/jaccy/dpdk/drivers/net/qede/base/ecore_hw.c:286:7: error: variable
'prev_fifo_err' set but not used [-Werror,-Wunused-but-set-variable]
        bool prev_fifo_err;
             ^

2 errors generated.
make[4]: *** [/root/jaccy/dpdk/mk/internal/rte.compile-pre.mk:116: ecore_hw.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CC i40e_vf_representor.o
PMDINFO rte_eth_null.o.pmd.c
CC rte_eth_null.o.pmd.o
PMDINFO rte_eth_kni.o.pmd.c
CC rte_eth_kni.o.pmd.o
CC ixgbe_ipsec.o
/root/jaccy/dpdk/drivers/net/qede/base/ecore_dev.c:5917:39: error: variable 'pbl_size' set but not used [-Werror,-Wunused-but-set-variable]

        u32 page_cnt = p_chain->page_cnt, i, pbl_size;
                                             ^

LD rte_eth_null.o
LD rte_eth_kni.o
1 error generated.
make[4]: *** [/root/jaccy/dpdk/mk/internal/rte.compile-pre.mk:116: ecore_dev.o] Error 1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.