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 DFB0CA0C46; Fri, 18 Jun 2021 13:34:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B57240150; Fri, 18 Jun 2021 13:34:23 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id CE54140142 for ; Fri, 18 Jun 2021 13:34:22 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id A9A70A0C47; Fri, 18 Jun 2021 13:34:22 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Fri, 18 Jun 2021 11:34:22 +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: yux.jiang@intel.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 Subject: [dpdk-dev] [Bug 744] [dpdk-19.11.9-rc3] make build failed on Fedora34 with GCC11 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 Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D744 Bug ID: 744 Summary: [dpdk-19.11.9-rc3] make build failed on Fedora34 with GCC11 Product: DPDK Version: 19.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: core Assignee: dev@dpdk.org Reporter: yux.jiang@intel.com Target Milestone: --- [DPDK version]: e5f56f22a8 (HEAD, tag: v19.11.9-rc3, origin/19.11) version: 19.11.9-rc3 [OS version]: Fedora 34 (Server Edition)/5.12.10-300.fc34.x86_64 gcc version 11.1.1 20210531 (Red Hat 11.1.1-3) (GCC) [Test Setup]: export RTE_TARGET=3Dx86_64-native-linuxapp-gcc export RTE_SDK=3D`pwd` rm -rf x86_64-native-linuxapp-gcc rm -rf ./app/test/test_resource_c.res.o rm -rf ./app/test/test_resource_tar.res.o rm -rf ./app/test/test_pci_sysfs.res.o make -j 20 install T=3Dx86_64-native-linuxapp-gcc MAKE_PAUSE=3Dn Should support to build 19.11.9 with GCC11 or not? [Show the output from the previous commands]: PMDINFO hn_ethdev.o.pmd.c CC hn_ethdev.o.pmd.o LD hn_ethdev.o CC hn_rxtx.o In file included from /root/jaccy/dpdk/drivers/net/ice/base/ice_type.h:43, from /root/jaccy/dpdk/drivers/net/ice/base/ice_common.h:8, from /root/jaccy/dpdk/drivers/net/ice/base/ice_switch.h:8, from /root/jaccy/dpdk/drivers/net/ice/base/ice_switch.c:5: In function =E2=80=98ice_is_bit_set_internal=E2=80=99, inlined from =E2=80=98ice_is_bit_set=E2=80=99 at /root/jaccy/dpdk/drivers/net/ice/base/ice_bitops.h:85:9, inlined from =E2=80=98ice_get_recp_to_prof_map=E2=80=99 at /root/jaccy/dpdk/drivers/net/ice/base/ice_switch.c:654:8, inlined from =E2=80=98ice_get_recp_frm_fw=E2=80=99 at /root/jaccy/dpdk/drivers/net/ice/base/ice_switch.c:520:3, inlined from =E2=80=98ice_find_recp=E2=80=99 at /root/jaccy/dpdk/drivers/net/ice/base/ice_switch.c:4695:8: /root/jaccy/dpdk/drivers/net/ice/base/ice_bitops.h:30:19: error: =E2=80=98r= _bitmap=E2=80=99 may be used uninitialized [-Werror=3Dmaybe-uninitialized] 30 | return !!(*bitmap & BIT(nr)); | ^~~~~~~ /root/jaccy/dpdk/drivers/net/ice/base/ice_switch.c: In function =E2=80=98ice_find_recp=E2=80=99: /root/jaccy/dpdk/drivers/net/ice/base/ice_switch.c:641:28: note: =E2=80=98r= _bitmap=E2=80=99 declared here 641 | ice_declare_bitmap(r_bitmap, ICE_MAX_NUM_RECIPES); | ^~~~~~~~ /root/jaccy/dpdk/drivers/net/ice/base/ice_bitops.h:26:22: note: in definiti= on of macro =E2=80=98ice_declare_bitmap=E2=80=99 26 | ice_bitmap_t A[BITS_TO_CHUNKS(sz)] | ^ CC ixgbe_phy.o PMDINFO igb_ethdev.o.pmd.c CC igb_ethdev.o.pmd.o CC ixgbe_api.o LD igb_ethdev.o CC igb_pf.o CC ixgbe_vf.o CC bnxt_ethdev.o CC lio_23xx_vf.o CC bnxt_filter.o CC clip_tbl.o CC nfp_mutex.o PMDINFO rte_eth_null.o.pmd.c CC rte_eth_null.o.pmd.o CC igb_flow.o CC em_ethdev.o CC em_rxtx.o LD rte_eth_null.o AR librte_pmd_null.a CC base/vnic_rq.o CC hns3_stats.o INSTALL-LIB librte_pmd_null.a CC hns3_regs.o CC hns3_dcb.o CC hns3_mp.o CC hinic_pmd_ethdev.o CC lio_mbox.o CC ixgbe_hv_vf.o CC ice_flex_pipe.o CC nfp_resource.o CC mps_tcam.o CC l2t.o CC ixgbe_dcb.o CC enic_rxtx_vec_avx2.o PMDINFO em_ethdev.o.pmd.c CC em_ethdev.o.pmd.o LD em_ethdev.o CC t4vf_hw.o CC ixgbe_dcb_82599.o CC hn_rndis.o CC ixgbe_dcb_82598.o CC ixgbe_mbx.o CC ixgbe_rxtx.o cc1: all warnings being treated as errors AR librte_pmd_lio.a make[6]: *** [/root/jaccy/dpdk/mk/internal/rte.compile-pre.mk:116: ice_switch.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC nfp_crc.o CC nfp_mip.o INSTALL-LIB librte_pmd_lio.a CC ixgbe_ethdev.o CC bnxt_flow.o CC bnxt_hwrm.o CC bnxt_ring.o CC bnxt_rxq.o CC bnxt_rxr.o CC hinic_pmd_rx.o CC bnxt_stats.o CC bnxt_txq.o AR librte_pmd_e1000.a PMDINFO hinic_pmd_ethdev.o.pmd.c CC hinic_pmd_ethdev.o.pmd.o INSTALL-LIB librte_pmd_e1000.a AR librte_pmd_hns3.a CC bnxt_txr.o LD hinic_pmd_ethdev.o INSTALL-LIB librte_pmd_hns3.a CC bnxt_vnic.o CC bnxt_irq.o AR librte_pmd_enic.a INSTALL-LIB librte_pmd_enic.a CC nfp_nffw.o PMDINFO bnxt_ethdev.o.pmd.c CC bnxt_ethdev.o.pmd.o CC hn_nvs.o LD bnxt_ethdev.o CC hn_vf.o CC bnxt_util.o AR librte_pmd_cxgbe.a INSTALL-LIB librte_pmd_cxgbe.a =3D=3D Build drivers/net/octeontx =3D=3D Build drivers/net/octeontx2 CC rte_pmd_bnxt.o CC bnxt_rxtx_vec_sse.o =3D=3D Build drivers/net/qede CC ixgbe_fdir.o CC nfp_hwinfo.o CC hinic_pmd_tx.o CC nfp_rtsym.o CC nfp_nsp.o CC i40e_rxtx_vec_sse.o CC i40e_ethdev_vf.o CC ixgbe_pf.o =3D=3D Build drivers/net/ring AR librte_pmd_netvsc.a CC otx2_rx.o CC octeontx_rxtx.o INSTALL-LIB librte_pmd_netvsc.a =3D=3D Build drivers/net/sfc CC nfp_nsp_cmds.o CC nfp_nsp_eth.o CC ecore_dev.o make[5]: *** [/root/jaccy/dpdk/mk/rte.subdir.mk:37: ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ixgbe_flow.o SYMLINK-FILE include/rte_eth_ring.h CC rte_eth_ring.o CC nfp_net.o CC octeontx_pkovf.o CC octeontx_pkivf.o CC sfc_ethdev.o PMDINFO octeontx_pkivf.o.pmd.c CC octeontx_pkivf.o.pmd.o CC sfc_kvargs.o LD octeontx_pkivf.o PMDINFO octeontx_pkovf.o.pmd.c CC octeontx_pkovf.o.pmd.o LD octeontx_pkovf.o CC octeontx_bgx.o CC ecore_hw.o CC ecore_cxt.o CC octeontx_ethdev.o PMDINFO i40e_ethdev.o.pmd.c CC i40e_ethdev.o.pmd.o LD i40e_ethdev.o CC ecore_l2.o CC ixgbe_rxtx_vec_sse.o CC i40e_pf.o AR librte_pmd_hinic.a CC ixgbe_ipsec.o CC ecore_sp_commands.o INSTALL-LIB librte_pmd_hinic.a CC otx2_tx.o CC rte_pmd_ixgbe.o PMDINFO i40e_ethdev_vf.o.pmd.c CC i40e_ethdev_vf.o.pmd.o LD i40e_ethdev_vf.o CC ixgbe_tm.o CC sfc.o PMDINFO octeontx_ethdev.o.pmd.c CC octeontx_ethdev.o.pmd.o LD octeontx_ethdev.o PMDINFO rte_eth_ring.o.pmd.c CC rte_eth_ring.o.pmd.o AR librte_pmd_octeontx.a LD rte_eth_ring.o INSTALL-LIB librte_pmd_octeontx.a CC sfc_mcdi.o PMDINFO ixgbe_ethdev.o.pmd.c CC ixgbe_ethdev.o.pmd.o LD ixgbe_ethdev.o AR librte_pmd_ring.a INSTALL-LIB librte_pmd_ring.a CC sfc_intr.o CC sfc_ev.o CC sfc_port.o PMDINFO sfc_ethdev.o.pmd.c CC sfc_ethdev.o.pmd.o CC sfc_rx.o LD sfc_ethdev.o CC sfc_tx.o CC ixgbe_vf_representor.o CC sfc_tso.o CC sfc_filter.o AR librte_pmd_bnxt.a CC sfc_flow.o CC i40e_fdir.o INSTALL-LIB librte_pmd_bnxt.a CC sfc_dp.o CC ecore_init_fw_funcs.o CC sfc_ef10_rx.o CC ecore_spq.o CC sfc_ef10_essb_rx.o PMDINFO nfp_net.o.pmd.c CC nfp_net.o.pmd.o CC i40e_flow.o LD nfp_net.o CC rte_pmd_i40e.o AR librte_pmd_nfp.a CC ecore_init_ops.o CC ecore_mcp.o INSTALL-LIB librte_pmd_nfp.a CC ecore_int.o AR librte_pmd_ixgbe.a CC ecore_dcbx.o INSTALL-LIB librte_pmd_ixgbe.a CC bcm_osal.o CC ecore_sriov.o CC ecore_vf.o CC qede_ethdev.o CC sfc_ef10_tx.o CC qede_main.o CC otx2_tm.o CC otx2_rss.o CC otx2_mac.o CC efx_bootcfg.o CC efx_crc32.o CC efx_ev.o CC efx_evb.o CC efx_filter.o CC efx_hash.o CC efx_intr.o CC efx_lic.o CC i40e_tm.o CC i40e_vf_representor.o CC efx_mac.o CC efx_mcdi.o CC otx2_ptp.o CC efx_mon.o CC efx_nic.o CC efx_nvram.o CC efx_phy.o CC qede_rxtx.o CC otx2_flow.o CC i40e_rxtx_vec_avx2.o CC otx2_link.o CC otx2_vlan.o PMDINFO qede_ethdev.o.pmd.c CC qede_ethdev.o.pmd.o CC efx_port.o LD qede_ethdev.o CC efx_proxy.o CC otx2_stats.o CC otx2_mcast.o CC otx2_lookup.o CC otx2_ethdev.o CC otx2_flow_ctrl.o CC efx_rx.o CC efx_sram.o CC qede_filter.o CC efx_tunnel.o CC otx2_flow_parse.o CC otx2_flow_utils.o CC efx_tx.o CC efx_vpd.o CC mcdi_mon.o CC siena_mac.o CC siena_mcdi.o CC siena_nic.o CC otx2_ethdev_irq.o CC otx2_ethdev_ops.o CC otx2_ethdev_debug.o CC otx2_ethdev_devargs.o CC siena_nvram.o CC siena_phy.o CC siena_sram.o CC siena_vpd.o CC ef10_ev.o CC ef10_evb.o CC ef10_filter.o CC ef10_intr.o CC ef10_image.o CC ef10_mac.o CC ef10_mcdi.o AR librte_pmd_i40e.a CC ef10_nic.o INSTALL-LIB librte_pmd_i40e.a CC ef10_nvram.o CC ef10_phy.o CC ef10_proxy.o CC ef10_rx.o CC ef10_tx.o CC ef10_vpd.o AR librte_pmd_qede.a CC hunt_nic.o PMDINFO otx2_ethdev.o.pmd.c CC otx2_ethdev.o.pmd.o CC medford_nic.o INSTALL-LIB librte_pmd_qede.a LD otx2_ethdev.o CC medford2_nic.o AR librte_pmd_octeontx2.a INSTALL-LIB librte_pmd_octeontx2.a AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a make[4]: *** [/root/jaccy/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/root/jaccy/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/root/jaccy/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/root/jaccy/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/root/jaccy/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 [root@localhost dpdk]# --=20 You are receiving this mail because: You are the assignee for the bug.=