* [dpdk-dev] [Bug 744] [dpdk-19.11.9-rc3] make build failed on Fedora34 with GCC11
@ 2021-06-18 11:34 bugzilla
2022-03-25 8:34 ` [Bug 744] [dpdk-19.11.9-rc3] make build failed on Fedora34 with GCC11 and build failed on Fedora35 with gcc11.2.1&clang13.0.0 bugzilla
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-06-18 11:34 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=744
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=x86_64-native-linuxapp-gcc
export RTE_SDK=`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=x86_64-native-linuxapp-gcc MAKE_PAUSE=n
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 ‘ice_is_bit_set_internal’,
inlined from ‘ice_is_bit_set’ at
/root/jaccy/dpdk/drivers/net/ice/base/ice_bitops.h:85:9,
inlined from ‘ice_get_recp_to_prof_map’ at
/root/jaccy/dpdk/drivers/net/ice/base/ice_switch.c:654:8,
inlined from ‘ice_get_recp_frm_fw’ at
/root/jaccy/dpdk/drivers/net/ice/base/ice_switch.c:520:3,
inlined from ‘ice_find_recp’ 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: ‘r_bitmap’ may
be used uninitialized [-Werror=maybe-uninitialized]
30 | return !!(*bitmap & BIT(nr));
| ^~~~~~~
/root/jaccy/dpdk/drivers/net/ice/base/ice_switch.c: In function
‘ice_find_recp’:
/root/jaccy/dpdk/drivers/net/ice/base/ice_switch.c:641:28: note: ‘r_bitmap’
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 definition
of macro ‘ice_declare_bitmap’
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
== Build drivers/net/octeontx
== Build drivers/net/octeontx2
CC rte_pmd_bnxt.o
CC bnxt_rxtx_vec_sse.o
== 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
== Build drivers/net/ring
AR librte_pmd_netvsc.a
CC otx2_rx.o
CC octeontx_rxtx.o
INSTALL-LIB librte_pmd_netvsc.a
== 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]#
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug 744] [dpdk-19.11.9-rc3] make build failed on Fedora34 with GCC11 and build failed on Fedora35 with gcc11.2.1&clang13.0.0
2021-06-18 11:34 [dpdk-dev] [Bug 744] [dpdk-19.11.9-rc3] make build failed on Fedora34 with GCC11 bugzilla
@ 2022-03-25 8:34 ` bugzilla
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2022-03-25 8:34 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=744
gaodaxue (daxuex.gao@intel.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|IN_PROGRESS |RESOLVED
Resolution|--- |FIXED
--- Comment #14 from gaodaxue (daxuex.gao@intel.com) ---
Verified based on c511bb7787 PASSED.
OS: Fedora 13.0.0~rc1-1.fc35/Ubuntu21/5.13.0-19-generic
Compiler: Fedora (13.0.0~rc1-1.fc35/gcc 11.2.1)/(Ubuntu21/5.13.0-19-generic gcc
11.2.0)
--
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:[~2022-03-25 8:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18 11:34 [dpdk-dev] [Bug 744] [dpdk-19.11.9-rc3] make build failed on Fedora34 with GCC11 bugzilla
2022-03-25 8:34 ` [Bug 744] [dpdk-19.11.9-rc3] make build failed on Fedora34 with GCC11 and build failed on Fedora35 with gcc11.2.1&clang13.0.0 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).