Skip to contentSkip to conversation

linux/igb_uio/igb_uiobuild failure with make and clang 13

Bug 911 [email protected] 1 participant 2 messages Dec 17, 2021

lore
Share & tools
lore
#0 lore raw

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: [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 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

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

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

Christian Ehrhardt ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE
                 CC|                            |christian.ehrhardt@canonica
                   |                            |l.com

--- Comment #1 from Christian Ehrhardt ([email protected]) --- Hi, this is a dup to bug 907
https://bugs.dpdk.org/show_bug.cgi?id=907

*** This bug has been marked as a duplicate of bug 907 ***

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