From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ED999A00C3; Tue, 14 Dec 2021 15:05:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B56CD40041; Tue, 14 Dec 2021 15:05:00 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 812234003C for ; Tue, 14 Dec 2021 15:04:59 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 6F5A6A034C; Tue, 14 Dec 2021 15:04:59 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 907] [19.11] build failure Werror=implicit-fallthrough in opensuse tumbleweed Date: Tue, 14 Dec 2021 14:04:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: core X-Bugzilla-Version: 19.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: christian.ehrhardt@canonical.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org https://bugs.dpdk.org/show_bug.cgi?id=3D907 Bug ID: 907 Summary: [19.11] build failure Werror=3Dimplicit-fallthrough in opensuse tumbleweed Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: christian.ehrhardt@canonical.com Target Milestone: --- Build in opensuse_tumbleweed fails with newer gcc complaining about implicit fallthrough. [ 116s] /home/abuild/rpmbuild/BUILD/dpdk-1639465174.d43fa3e19/x86_64-default-linux-= gcc/build/kernel/linux/igb_uio/igb_uio.c: In function 'igbuio_pci_enable_interrupts': [ 116s] /home/abuild/rpmbuild/BUILD/dpdk-1639465174.d43fa3e19/x86_64-default-linux-= gcc/build/kernel/linux/igb_uio/igb_uio.c:230:20: error: this statement may fall through [-Werror=3Dimplicit-fallthrough=3D] [ 116s] 230 | if (pci_alloc_irq_vectors(udev->pdev, 1, 1, PCI_IRQ_MSIX) =3D=3D 1) { [ 116s] | ^ [ 116s] /home/abuild/rpmbuild/BUILD/dpdk-1639465174.d43fa3e19/x86_64-default-linux-= gcc/build/kernel/linux/igb_uio/igb_uio.c:240:9: note: here [ 116s] 240 | case RTE_INTR_MODE_MSI: [ 116s] | ^~~~ [ 116s] /home/abuild/rpmbuild/BUILD/dpdk-1639465174.d43fa3e19/x86_64-default-linux-= gcc/build/kernel/linux/igb_uio/igb_uio.c:250:20: error: this statement may fall through [-Werror=3Dimplicit-fallthrough=3D] [ 116s] 250 | if (pci_alloc_irq_vectors(udev->pdev, 1, 1, PCI_IRQ_MSI) =3D=3D 1) { [ 116s] | ^ [ 116s] /home/abuild/rpmbuild/BUILD/dpdk-1639465174.d43fa3e19/x86_64-default-linux-= gcc/build/kernel/linux/igb_uio/igb_uio.c:259:9: note: here [ 116s] 259 | case RTE_INTR_MODE_LEGACY: [ 116s] | ^~~~ [ 116s] In file included from /usr/src/linux-5.15.7-1/include/linux/device.h:15, [ 116s] from /home/abuild/rpmbuild/BUILD/dpdk-1639465174.d43fa3e19/x86_64-default-linux-= gcc/build/kernel/linux/igb_uio/igb_uio.c:8: [ 116s] /usr/src/linux-5.15.7-1/include/linux/dev_printk.h:148:31: error: = this statement may fall through [-Werror=3Dimplicit-fallthrough=3D] [ 116s] 148 | dev_printk_index_wrap(_dev_notice, KERN_NOTICE, de= v, dev_fmt(fmt), ##__VA_ARGS__) [ 116s] | ^ [ 116s] /usr/src/linux-5.15.7-1/include/linux/dev_printk.h:110:17: note: in definition of macro 'dev_printk_index_wrap' [ 116s] 110 | _p_func(dev, fmt, ##__VA_ARGS__);=20=20=20= =20=20=20=20=20=20=20=20=20=20 \ [ 116s] | ^~~~~~~ [ 116s] /home/abuild/rpmbuild/BUILD/dpdk-1639465174.d43fa3e19/x86_64-default-linux-= gcc/build/kernel/linux/igb_uio/igb_uio.c:267:17: note: in expansion of macro 'dev_notice' [ 116s] 267 | dev_notice(&udev->pdev->dev, "PCI INTX mask not supported\n"); [ 116s] | ^~~~~~~~~~ [ 116s] /home/abuild/rpmbuild/BUILD/dpdk-1639465174.d43fa3e19/x86_64-default-linux-= gcc/build/kernel/linux/igb_uio/igb_uio.c:269:9: note: here [ 116s] 269 | case RTE_INTR_MODE_NONE: [ 116s] | ^~~~ --=20 You are receiving this mail because: You are the assignee for the bug.=