DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 911] [19.11.11-rc1] linux/igb_uio/igb_uiobuild failure with make and clang 13
@ 2021-12-17  6:46 bugzilla
  2021-12-17  7:47 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-12-17  6:46 UTC (permalink / raw)
  To: dev

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

            Bug ID: 911
           Summary: [19.11.11-rc1] linux/igb_uio/igb_uiobuild failure with
                    make and clang 13
           Product: DPDK
           Version: 19.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: mk
          Assignee: dev@dpdk.org
          Reporter: yux.jiang@intel.com
  Target Milestone: ---

DPDk version:
commit 928100dd6d30e733be411380fdb78c68a061936c (HEAD, tag: v19.11.11-rc1,
origin/19.11)
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Date:   Thu Dec 9 15:33:57 2021 +0100

    version: 19.11.11-rc1

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

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 ixgbe_mbx.o
/tmp/build-x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/igb_uio.c:
In function ‘igbuio_pci_enable_interrupts’:
/tmp/build-x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/igb_uio.c:230:20:
error: this statement may fall through [-Werror=implicit-fallthrough=]
  230 |                 if (pci_alloc_irq_vectors(udev->pdev, 1, 1,
PCI_IRQ_MSIX) == 1) {
      |                    ^
/tmp/build-x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/igb_uio.c:240:9:
note: here
  240 |         case RTE_INTR_MODE_MSI:
      |         ^~~~
/tmp/build-x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/igb_uio.c:250:20:
error: this statement may fall through [-Werror=implicit-fallthrough=]
  250 |                 if (pci_alloc_irq_vectors(udev->pdev, 1, 1,
PCI_IRQ_MSI) == 1) {
      |                    ^
/tmp/build-x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/igb_uio.c:259:9:
note: here
  259 |         case RTE_INTR_MODE_LEGACY:
      |         ^~~~
In file included from ./include/linux/device.h:15,
                 from
/tmp/build-x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/igb_uio.c:8:
./include/linux/dev_printk.h:116:9: error: this statement may fall through
[-Werror=implicit-fallthrough=]
  116 |         _dev_notice(dev, dev_fmt(fmt), ##__VA_ARGS__)
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/build-x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/igb_uio.c:267:17:
note: in expansion of macro ‘dev_notice’
  267 |                 dev_notice(&udev->pdev->dev, "PCI INTX mask not
supported\n");
      |                 ^~~~~~~~~~
/tmp/build-x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/igb_uio.c:269:9:
note: here
  269 |         case RTE_INTR_MODE_NONE:
      |         ^~~~
  CC rte_eth_tap.o

-- 
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:[~2021-12-17  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17  6:46 [Bug 911] [19.11.11-rc1] linux/igb_uio/igb_uiobuild failure with make and clang 13 bugzilla
2021-12-17  7:47 ` 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).