DPDK patches and discussions
 help / color / mirror / Atom feed
From: <hfli@netitest.com>
To: <dev@dpdk.org>
Subject: build dpdk error by gcc 8.4.0
Date: Tue, 21 Mar 2023 15:13:14 +0800	[thread overview]
Message-ID: <80472A8920AEBCC5+003001d95bc4$9afdeb30$d0f9c190$@netitest.com> (raw)
In-Reply-To: 

Hi Dev,

When I build dpdk on CentOS7.9 and GCC 8.4.0, it throw “operand type
mismatch for `vpclmulqdq'”, how can I fix this?

FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o 
ccache cc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I.
-I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include
-Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include
-I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I..
/lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics
-Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h
-Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes
-Wundef -Wwrite-strings -Wno-packed-not-aligned
-Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native
-DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation
-DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT
-mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ
lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF
lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o
lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c
../lib/net/net_crc_avx512.c
{standard input}: Assembler messages:
{standard input}:66: 错误:operand type mismatch for `vpclmulqdq'

Here are meson and ninja output:

# meson build
The Meson build system
Version: 0.55.1
Source dir: /home/daemon/dpdk_net/dpdk_env/dpdk-stable-22.11.1
Build dir: /home/daemon/dpdk_net/dpdk_env/dpdk-stable-22.11.1/build
Build type: native build
Program cat found: YES
Project name: DPDK
Project version: 22.11.1
C compiler for the host machine: ccache cc (gcc 8.4.0 "cc (GCC) 8.4.0")
C linker for the host machine: cc ld.bfd 2.27-41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program pkg-config found: YES
Program check-symbols.sh found: YES
Program options-ibverbs-static.sh found: YES
Program objdump found: YES
Program python3 found: YES (/usr/bin/python3)
Program cat found: YES
Program ../buildtools/symlink-drivers-solibs.sh found: YES (/bin/sh
/home/daemon/dpdk_net/dpdk_env/dpdk-stable-22.11.1/config/../buildtools/syml
ink-drivers-solibs.sh)
Checking for size of "void *" : 8	
Checking for size of "void *" : 8
Library m found: YES
Library numa found: YES
Has header "numaif.h" : YES 
Library libfdt found: NO
Library libexecinfo found: NO
Found pkg-config: /bin/pkg-config (0.27.1)
Run-time dependency libarchive found: NO (tried pkgconfig)
Run-time dependency libbsd found: NO (tried pkgconfig)
Run-time dependency jansson found: YES 2.12
Run-time dependency openssl found: YES 1.0.2k
Run-time dependency libpcap found: NO (tried pkgconfig)
Library pcap found: YES
Has header "pcap.h" with dependency -lpcap: YES 
Compiler for C supports arguments -Wcast-qual: YES 
Compiler for C supports arguments -Wdeprecated: YES 
Compiler for C supports arguments -Wformat: YES 
Compiler for C supports arguments -Wformat-nonliteral: YES 
Compiler for C supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Wmissing-declarations: YES 
Compiler for C supports arguments -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wold-style-definition: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wsign-compare: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -Wwrite-strings: YES 
Compiler for C supports arguments -Wno-address-of-packed-member
-Waddress-of-packed-member: NO 
Compiler for C supports arguments -Wno-packed-not-aligned
-Wpacked-not-aligned: YES 
Compiler for C supports arguments -Wno-missing-field-initializers
-Wmissing-field-initializers: YES 
Compiler for C supports arguments -mavx512f: YES 
Checking if "AVX512 checking" compiles: YES 
Fetching value of define "__SSE4_2__" : 1 
Fetching value of define "__AES__" : 1 
Fetching value of define "__AVX__" : 1 
Fetching value of define "__AVX2__" : 1 
Fetching value of define "__AVX512BW__" :  
Fetching value of define "__AVX512CD__" :  
Fetching value of define "__AVX512DQ__" :  
Fetching value of define "__AVX512F__" :  
Fetching value of define "__AVX512VL__" :  
Fetching value of define "__PCLMUL__" : 1 
Fetching value of define "__RDRND__" : 1 
Fetching value of define "__RDSEED__" : 1 
Fetching value of define "__VPCLMULQDQ__" :  
Compiler for C supports arguments -Wno-format-truncation
-Wformat-truncation: YES 
Checking for function "getentropy" : NO 
Fetching value of define "__PCLMUL__" : 1 (cached)
Fetching value of define "__AVX512F__" :  (cached)
Compiler for C supports arguments -mpclmul: YES 
Compiler for C supports arguments -maes: YES 
Compiler for C supports arguments -mavx512f: YES (cached)
Compiler for C supports arguments -mavx512bw: YES 
Compiler for C supports arguments -mavx512dq: YES 
Compiler for C supports arguments -mavx512vl: YES 
Compiler for C supports arguments -mvpclmulqdq: YES 
Compiler for C supports arguments -mavx2: YES 
Compiler for C supports arguments -mavx: YES 
Fetching value of define "__AVX2__" : 1 (cached)
Fetching value of define "__AVX512F__" :  (cached)
Fetching value of define "__AVX512VL__" :  (cached)
Fetching value of define "__AVX512CD__" :  (cached)
Fetching value of define "__AVX512BW__" :  (cached)
Compiler for C supports arguments -mavx512f -mavx512vl -mavx512cd
-mavx512bw: YES 
Run-time dependency libelf found: YES 0.176
Fetching value of define "__AVX512F__" :  (cached)
Fetching value of define "__AVX512DQ__" :  (cached)
Fetching value of define "__AVX512IFMA__" :  
Compiler for C supports arguments -mavx512f -mavx512dq -mavx512ifma: YES 
Compiler for C supports arguments -Wno-cast-qual -Wcast-qual: YES 
Has header "linux/userfaultfd.h" : YES 
Fetching value of define "__AVX512F__" :  (cached)
Fetching value of define "__AVX512DQ__" :  (cached)
Compiler for C supports arguments -mavx512f -mavx512dq: YES 
Compiler for C supports arguments -mavx512bw: YES (cached)
Compiler for C supports arguments -Wno-format-truncation
-Wformat-truncation: YES (cached)
Compiler for C supports arguments -Wno-cast-qual -Wcast-qual: YES (cached)
Compiler for C supports arguments -Wno-pointer-arith -Wpointer-arith: YES 
Compiler for C supports arguments -Wno-pointer-to-int-cast
-Wpointer-to-int-cast: YES 
Run-time dependency libmusdk found: NO (tried pkgconfig)
Compiler for C supports arguments -Wno-cast-qual -Wcast-qual: YES (cached)
Compiler for C supports arguments -Wno-pointer-arith -Wpointer-arith: YES
(cached)
Compiler for C supports arguments -std=c11: YES 
Compiler for C supports arguments -Wno-strict-prototypes
-Wstrict-prototypes: YES 
Compiler for C supports arguments -D_BSD_SOURCE: YES 
Compiler for C supports arguments -D_DEFAULT_SOURCE: YES 
Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES 
Run-time dependency libmlx5 found: YES 1.8.22.1
Run-time dependency libibverbs found: YES 1.5.22.1
Library mtcr_ul found: NO
Header <infiniband/verbs.h> has symbol "IBV_RX_HASH_IPSEC_SPI" with
dependencies libmlx5, libibverbs: YES 
Header <infiniband/verbs.h> has symbol "IBV_ACCESS_RELAXED_ORDERING " with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "MLX5DV_CQE_RES_FORMAT_CSUM_STRIDX"
with dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol
"MLX5DV_CONTEXT_MASK_TUNNEL_OFFLOADS" with dependencies libmlx5, libibverbs:
YES 
Header <infiniband/mlx5dv.h> has symbol "MLX5DV_CONTEXT_FLAGS_MPW_ALLOWED"
with dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol "MLX5DV_CONTEXT_FLAGS_CQE_128B_COMP"
with dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol "MLX5DV_CQ_INIT_ATTR_FLAGS_CQE_PAD"
with dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol
"mlx5dv_create_flow_action_packet_reformat" with dependencies libmlx5,
libibverbs: YES 
Header <infiniband/verbs.h> has symbol "IBV_FLOW_SPEC_MPLS" with
dependencies libmlx5, libibverbs: YES 
Header <infiniband/verbs.h> has symbol "IBV_WQ_FLAGS_PCI_WRITE_END_PADDING"
with dependencies libmlx5, libibverbs: YES 
Header <infiniband/verbs.h> has symbol "IBV_WQ_FLAG_RX_END_PADDING" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_query_devx_port" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_query_port" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol
"mlx5dv_dr_action_create_dest_ib_port" with dependencies libmlx5,
libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_devx_obj_create" with
dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol "MLX5DV_FLOW_ACTION_COUNTERS_DEVX"
with dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol "MLX5DV_FLOW_ACTION_DEFAULT_MISS"
with dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_devx_obj_query_async" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_devx_qp_query" with
dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_pp_alloc" with dependencies
libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol
"mlx5dv_dr_action_create_dest_devx_tir" with dependencies libmlx5,
libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_devx_get_event" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_dr_action_create_flow_meter"
with dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "MLX5_MMAP_GET_NC_PAGES_CMD" with
dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol "MLX5DV_DR_DOMAIN_TYPE_NIC_RX" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "MLX5DV_DR_DOMAIN_TYPE_FDB" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_dr_action_create_push_vlan"
with dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_alloc_var" with dependencies
libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "MLX5_OPCODE_ENHANCED_MPSW" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "MLX5_OPCODE_SEND_EN" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "MLX5_OPCODE_WAIT" with dependencies
libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "MLX5_OPCODE_ACCESS_ASO" with
dependencies libmlx5, libibverbs: NO 
Header <linux/ethtool.h> has symbol "SUPPORTED_40000baseKR4_Full" with
dependencies libmlx5, libibverbs: YES 
Header <linux/ethtool.h> has symbol "SUPPORTED_40000baseCR4_Full" with
dependencies libmlx5, libibverbs: YES 
Header <linux/ethtool.h> has symbol "SUPPORTED_40000baseSR4_Full" with
dependencies libmlx5, libibverbs: YES 
Header <linux/ethtool.h> has symbol "SUPPORTED_40000baseLR4_Full" with
dependencies libmlx5, libibverbs: YES 
Header <linux/ethtool.h> has symbol "SUPPORTED_56000baseKR4_Full" with
dependencies libmlx5, libibverbs: YES 
Header <linux/ethtool.h> has symbol "SUPPORTED_56000baseCR4_Full" with
dependencies libmlx5, libibverbs: YES 
Header <linux/ethtool.h> has symbol "SUPPORTED_56000baseSR4_Full" with
dependencies libmlx5, libibverbs: YES 
Header <linux/ethtool.h> has symbol "SUPPORTED_56000baseLR4_Full" with
dependencies libmlx5, libibverbs: YES 
Header <linux/ethtool.h> has symbol "ETHTOOL_LINK_MODE_25000baseCR_Full_BIT"
with dependencies libmlx5, libibverbs: YES 
Header <linux/ethtool.h> has symbol
"ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT" with dependencies libmlx5,
libibverbs: YES 
Header <linux/ethtool.h> has symbol
"ETHTOOL_LINK_MODE_100000baseKR4_Full_BIT" with dependencies libmlx5,
libibverbs: YES 
Header <linux/if_link.h> has symbol "IFLA_NUM_VF" with dependencies libmlx5,
libibverbs: YES 
Header <linux/if_link.h> has symbol "IFLA_EXT_MASK" with dependencies
libmlx5, libibverbs: YES 
Header <linux/if_link.h> has symbol "IFLA_PHYS_SWITCH_ID" with dependencies
libmlx5, libibverbs: YES 
Header <linux/if_link.h> has symbol "IFLA_PHYS_PORT_NAME" with dependencies
libmlx5, libibverbs: YES 
Header <rdma/rdma_netlink.h> has symbol "RDMA_NL_NLDEV" with dependencies
libmlx5, libibverbs: YES 
Header <rdma/rdma_netlink.h> has symbol "RDMA_NLDEV_CMD_GET" with
dependencies libmlx5, libibverbs: YES 
Header <rdma/rdma_netlink.h> has symbol "RDMA_NLDEV_CMD_PORT_GET" with
dependencies libmlx5, libibverbs: YES 
Header <rdma/rdma_netlink.h> has symbol "RDMA_NLDEV_ATTR_DEV_INDEX" with
dependencies libmlx5, libibverbs: YES 
Header <rdma/rdma_netlink.h> has symbol "RDMA_NLDEV_ATTR_DEV_NAME" with
dependencies libmlx5, libibverbs: YES 
Header <rdma/rdma_netlink.h> has symbol "RDMA_NLDEV_ATTR_PORT_INDEX" with
dependencies libmlx5, libibverbs: YES 
Header <rdma/rdma_netlink.h> has symbol "RDMA_NLDEV_ATTR_PORT_STATE" with
dependencies libmlx5, libibverbs: YES 
Header <rdma/rdma_netlink.h> has symbol "RDMA_NLDEV_ATTR_NDEV_INDEX" with
dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_dump_dr_domain" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol
"mlx5dv_dr_action_create_flow_sampler" with dependencies libmlx5,
libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol
"mlx5dv_dr_domain_set_reclaim_device_memory" with dependencies libmlx5,
libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_dr_action_create_dest_array"
with dependencies libmlx5, libibverbs: NO 
Header <linux/devlink.h> has symbol "DEVLINK_GENL_NAME" with dependencies
libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_dr_action_create_aso" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/verbs.h> has symbol "INFINIBAND_VERBS_H" with
dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol "MLX5_WQE_UMR_CTRL_FLAG_INLINE" with
dependencies libmlx5, libibverbs: YES 
Header <infiniband/mlx5dv.h> has symbol "mlx5dv_dump_dr_rule" with
dependencies libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol
"MLX5DV_DR_ACTION_FLAGS_ASO_CT_DIRECTION_INITIATOR" with dependencies
libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol
"mlx5dv_dr_domain_allow_duplicate_rules" with dependencies libmlx5,
libibverbs: NO 
Header <infiniband/verbs.h> has symbol "ibv_reg_mr_iova" with dependencies
libmlx5, libibverbs: NO 
Header <infiniband/verbs.h> has symbol "ibv_import_device" with dependencies
libmlx5, libibverbs: NO 
Header <infiniband/mlx5dv.h> has symbol
"mlx5dv_dr_action_create_dest_root_table" with dependencies libmlx5,
libibverbs: NO 
Checking whether type "struct mlx5dv_sw_parsing_caps" has member
"sw_parsing_offloads" with dependencies libmlx5, libibverbs: YES 
Checking whether type "struct ibv_counter_set_init_attr" has member
"counter_set_id" with dependencies libmlx5, libibverbs: NO 
Checking whether type "struct ibv_counters_init_attr" has member "comp_mask"
with dependencies libmlx5, libibverbs: YES 
Checking whether type "struct mlx5dv_devx_uar" has member "mmap_off" with
dependencies libmlx5, libibverbs: YES 
Checking whether type "struct mlx5dv_flow_matcher_attr" has member "ft_type"
with dependencies libmlx5, libibverbs: NO 
Configuring mlx5_autoconf.h using configuration
Run-time dependency libcrypto found: YES 1.0.2k
Library IPSec_MB found: NO
Dependency libcrypto found: NO found 1.0.2k but need: '>=3.0.0' (cached)
Compiler for C supports arguments -Wdisabled-optimization: YES 
Compiler for C supports arguments -Waggregate-return: YES 
Compiler for C supports arguments -Wbad-function-cast: YES 
Compiler for C supports arguments -Wno-sign-compare -Wsign-compare: YES 
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter:
YES 
Compiler for C supports arguments -Wno-unused-variable -Wunused-variable:
YES 
Compiler for C supports arguments -Wno-empty-body -Wempty-body: YES 
Compiler for C supports arguments -Wno-unused-but-set-variable
-Wunused-but-set-variable: YES 
Compiler for C supports arguments -Wno-pointer-arith -Wpointer-arith: YES
(cached)
Compiler for C supports arguments -Wno-pointer-arith -Wpointer-arith: YES
(cached)
Run-time dependency libxdp found: NO (tried pkgconfig)
Run-time dependency libbpf found: NO (tried pkgconfig)
Library bpf found: NO
Has header "linux/if_xdp.h" : NO 
Run-time dependency zlib found: YES 1.2.11
Compiler for C supports arguments -DSUPPORT_CFA_HW_ALL=1: YES 
Fetching value of define "__AVX2__" : 1 (cached)
Compiler for C supports arguments -flax-vector-conversions: YES 
Compiler for C supports arguments -Wno-strict-aliasing -Wstrict-aliasing:
YES 
Compiler for C supports arguments -Wno-pointer-arith -Wpointer-arith: YES
(cached)
Compiler for C supports arguments -Wno-uninitialized -Wuninitialized: YES 
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter:
YES (cached)
Compiler for C supports arguments -Wno-unused-variable -Wunused-variable:
YES (cached)
Compiler for C supports arguments -Wno-misleading-indentation
-Wmisleading-indentation: YES 
Compiler for C supports arguments -Wno-implicit-fallthrough
-Wimplicit-fallthrough: YES 
Fetching value of define "__AVX2__" : 1 (cached)
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter:
YES (cached)
Compiler for C supports arguments -Wno-unused-value -Wunused-value: YES 
Compiler for C supports arguments -Wno-strict-aliasing -Wstrict-aliasing:
YES (cached)
Compiler for C supports arguments -Wno-format-extra-args
-Wformat-extra-args: YES 
Compiler for C supports arguments -Wno-unused-variable -Wunused-variable:
YES (cached)
Compiler for C supports arguments -Wno-implicit-fallthrough
-Wimplicit-fallthrough: YES (cached)
Compiler for C supports arguments -Wno-sign-compare -Wsign-compare: YES
(cached)
Compiler for C supports arguments -Wno-unused-value -Wunused-value: YES
(cached)
Compiler for C supports arguments -Wno-format -Wformat: YES 
Compiler for C supports arguments -Wno-format-security -Wformat-security:
YES 
Compiler for C supports arguments -Wno-format-nonliteral
-Wformat-nonliteral: YES 
Compiler for C supports arguments -Wno-strict-aliasing -Wstrict-aliasing:
YES (cached)
Compiler for C supports arguments -Wno-unused-but-set-variable
-Wunused-but-set-variable: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter:
YES (cached)
Fetching value of define "__AVX2__" : 1 (cached)
Fetching value of define "__AVX512F__" :  (cached)
Compiler for C supports arguments -mavx512f: YES (cached)
Compiler for C supports arguments -mavx512bw: YES (cached)
Compiler for C supports arguments -march=skylake-avx512: YES 
Fetching value of define "__AVX2__" : 1 (cached)
Fetching value of define "__AVX512F__" :  (cached)
Compiler for C supports arguments -mavx512f: YES (cached)
Compiler for C supports arguments -mavx512bw: YES (cached)
Compiler for C supports arguments -march=skylake-avx512: YES (cached)
Compiler for C supports arguments -Wno-unused-value -Wunused-value: YES
(cached)
Compiler for C supports arguments -Wno-unused-but-set-variable
-Wunused-but-set-variable: YES (cached)
Compiler for C supports arguments -Wno-unused-variable -Wunused-variable:
YES (cached)
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter:
YES (cached)
Fetching value of define "__AVX2__" : 1 (cached)
Fetching value of define "__AVX512F__" :  (cached)
Compiler for C supports arguments -mavx512f: YES (cached)
Compiler for C supports arguments -mavx512bw: YES (cached)
Compiler for C supports arguments -march=skylake-avx512: YES (cached)
Fetching value of define "__AVX512F__" :  (cached)
Compiler for C supports arguments -mavx512f: YES (cached)
Compiler for C supports arguments -mavx512bw: YES (cached)
Compiler for C supports arguments -march=skylake-avx512: YES (cached)
Compiler for C supports arguments -Wno-unused-value -Wunused-value: YES
(cached)
Compiler for C supports arguments -Wno-unused-but-set-variable
-Wunused-but-set-variable: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter:
YES (cached)
Message: Disabling kni [drivers/net/kni]: missing internal dependency "kni"
Run-time dependency libmlx4 found: YES 1.0.22.1
Dependency libibverbs found: YES 1.5.22.1 (cached)
Compiler for C supports arguments -std=c11: YES (cached)
Compiler for C supports arguments -Wno-strict-prototypes
-Wstrict-prototypes: YES (cached)
Compiler for C supports arguments -D_BSD_SOURCE: YES (cached)
Compiler for C supports arguments -D_DEFAULT_SOURCE: YES (cached)
Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES (cached)
Header <infiniband/mlx4dv.h> has symbol "MLX4DV_SET_CTX_ATTR_BUF_ALLOCATORS"
with dependencies libmlx4, libibverbs: NO 
Header <infiniband/mlx4dv.h> has symbol "MLX4DV_QP_MASK_UAR_MMAP_OFFSET"
with dependencies libmlx4, libibverbs: NO 
Checking whether type "struct mlx4_wqe_lso_seg" has member "mss_hdr_size"
with dependencies libmlx4, libibverbs: YES 
Configuring mlx4_autoconf.h using configuration
Compiler for C supports arguments -std=c11: YES (cached)
Compiler for C supports arguments -Wno-strict-prototypes
-Wstrict-prototypes: YES (cached)
Compiler for C supports arguments -D_BSD_SOURCE: YES (cached)
Compiler for C supports arguments -D_DEFAULT_SOURCE: YES (cached)
Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES (cached)
Run-time dependency libmusdk found: NO (tried pkgconfig)
Run-time dependency libmusdk found: NO (tried pkgconfig)
Run-time dependency netcope-common found: NO (tried pkgconfig)
Compiler for C supports arguments -Wno-pointer-arith -Wpointer-arith: YES
(cached)
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter:
YES (cached)
Compiler for C supports arguments -Wno-sign-compare -Wsign-compare: YES
(cached)
Compiler for C supports arguments -Wno-missing-prototypes
-Wmissing-prototypes: YES 
Compiler for C supports arguments -Wno-cast-qual -Wcast-qual: YES (cached)
Compiler for C supports arguments -Wno-unused-function -Wunused-function:
YES 
Compiler for C supports arguments -Wno-unused-variable -Wunused-variable:
YES (cached)
Compiler for C supports arguments -Wno-strict-aliasing -Wstrict-aliasing:
YES (cached)
Compiler for C supports arguments -Wno-missing-prototypes
-Wmissing-prototypes: YES (cached)
Compiler for C supports arguments -Wno-unused-value -Wunused-value: YES
(cached)
Compiler for C supports arguments -Wno-format-nonliteral
-Wformat-nonliteral: YES (cached)
Compiler for C supports arguments -Wno-shift-negative-value
-Wshift-negative-value: YES 
Compiler for C supports arguments -Wno-unused-but-set-variable
-Wunused-but-set-variable: YES (cached)
Compiler for C supports arguments -Wno-missing-declarations
-Wmissing-declarations: YES 
Compiler for C supports arguments -Wno-maybe-uninitialized
-Wmaybe-uninitialized: YES 
Compiler for C supports arguments -Wno-strict-prototypes
-Wstrict-prototypes: YES (cached)
Compiler for C supports arguments -Wno-shift-negative-value
-Wshift-negative-value: YES (cached)
Compiler for C supports arguments -Wno-implicit-fallthrough
-Wimplicit-fallthrough: YES (cached)
Compiler for C supports arguments -Wno-format-extra-args
-Wformat-extra-args: YES (cached)
Compiler for C supports arguments -Wno-visibility -Wvisibility: NO 
Compiler for C supports arguments -Wno-empty-body -Wempty-body: YES (cached)
Compiler for C supports arguments -Wno-invalid-source-encoding
-Winvalid-source-encoding: NO 
Compiler for C supports arguments -Wno-sometimes-uninitialized
-Wsometimes-uninitialized: NO 
Compiler for C supports arguments -Wno-pointer-bool-conversion
-Wpointer-bool-conversion: NO 
Compiler for C supports arguments -Wno-format-nonliteral
-Wformat-nonliteral: YES (cached)
Compiler for C supports arguments -Wno-strict-aliasing -Wstrict-aliasing:
YES (cached)
Compiler for C supports arguments -Wdisabled-optimization: YES (cached)
Compiler for C supports arguments -Waggregate-return: YES (cached)
Compiler for C supports arguments -Wbad-function-cast: YES (cached)
Library atomic found: YES
Header <linux/pkt_cls.h> has symbol "TCA_FLOWER_UNSPEC" : YES 
Header <linux/pkt_cls.h> has symbol "TCA_FLOWER_KEY_VLAN_PRIO" : YES 
Header <linux/pkt_cls.h> has symbol "TCA_BPF_UNSPEC" : YES 
Header <linux/pkt_cls.h> has symbol "TCA_BPF_FD" : NO 
Header <linux/tc_act/tc_bpf.h> has symbol "TCA_ACT_BPF_UNSPEC" : NO 
Header <linux/tc_act/tc_bpf.h> has symbol "TCA_ACT_BPF_FD" : NO 
Configuring tap_autoconf.h using configuration
Compiler for C supports arguments -fno-prefetch-loop-arrays: YES 
Compiler for C supports arguments -Wno-maybe-uninitialized
-Wmaybe-uninitialized: YES (cached)
Compiler for C supports arguments -D_BSD_SOURCE: YES (cached)
Compiler for C supports arguments -D_DEFAULT_SOURCE: YES (cached)
Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES (cached)
Compiler for C supports arguments -mavx512f: YES (cached)
Compiler for C supports arguments -mavx512vl: YES (cached)
Compiler for C supports arguments -mavx512bw: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter:
YES (cached)
Compiler for C supports arguments -Wno-unused-value -Wunused-value: YES
(cached)
Compiler for C supports arguments -Wno-strict-aliasing -Wstrict-aliasing:
YES (cached)
Compiler for C supports arguments -Wno-format-extra-args
-Wformat-extra-args: YES (cached)
Run-time dependency libaarch64crypto found: NO (tried pkgconfig)
Dependency libcrypto found: YES 1.0.2k (cached)
Library IPSec_MB found: NO
Compiler for C supports arguments -std=c11: YES (cached)
Compiler for C supports arguments -Wno-strict-prototypes
-Wstrict-prototypes: YES (cached)
Compiler for C supports arguments -D_BSD_SOURCE: YES (cached)
Compiler for C supports arguments -D_DEFAULT_SOURCE: YES (cached)
Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES (cached)
Run-time dependency libmusdk found: NO (tried pkgconfig)
Dependency libcrypto found: YES 1.0.2k (cached)
Run-time dependency libwd_crypto found: NO (tried pkgconfig)
Run-time dependency libwd found: NO (tried pkgconfig)
Run-time dependency libisal found: NO (tried pkgconfig)
Compiler for C supports arguments -std=c11: YES (cached)
Compiler for C supports arguments -Wno-strict-prototypes
-Wstrict-prototypes: YES (cached)
Compiler for C supports arguments -D_BSD_SOURCE: YES (cached)
Compiler for C supports arguments -D_DEFAULT_SOURCE: YES (cached)
Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES (cached)
Dependency zlib found: YES 1.2.11 (cached)
Compiler for C supports arguments -std=c11: YES (cached)
Compiler for C supports arguments -Wno-strict-prototypes
-Wstrict-prototypes: YES (cached)
Compiler for C supports arguments -D_BSD_SOURCE: YES (cached)
Compiler for C supports arguments -D_DEFAULT_SOURCE: YES (cached)
Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES (cached)
Library librxp_compiler found: NO
Compiler for C supports arguments -std=c11: YES (cached)
Compiler for C supports arguments -Wno-strict-prototypes
-Wstrict-prototypes: YES (cached)
Compiler for C supports arguments -D_BSD_SOURCE: YES (cached)
Compiler for C supports arguments -D_DEFAULT_SOURCE: YES (cached)
Compiler for C supports arguments -D_XOPEN_SOURCE=600: YES (cached)
Compiler for C supports arguments -flax-vector-conversions: YES (cached)
Compiler for C supports arguments -Wno-strict-aliasing -Wstrict-aliasing:
YES (cached)
Fetching value of define "__AVX512VL__" :  (cached)
Compiler for C supports arguments -mavx512vl: YES (cached)
Compiler for C supports arguments -Wno-format-nonliteral
-Wformat-nonliteral: YES (cached)
Found CMake: /bin/cmake (3.11.1)
Run-time dependency flexran_sdk_turbo found: NO (tried pkgconfig and cmake)
Run-time dependency flexran_sdk_ldpc_decoder_5gnr found: NO (tried pkgconfig
and cmake)
Has header "cuda.h" : NO 
Compiler for C supports arguments -Wno-format-truncation
-Wformat-truncation: YES (cached)
Dependency zlib found: YES 1.2.11 (cached)
Message: hugepage availability: false
Program test_telemetry.sh found: YES
Program doxygen found: YES
Configuring doxy-api.conf using configuration
Program sphinx-build found: NO
Configuring rte_build_config.h using configuration
Message: 
=================
Applications Enabled
=================

apps:
        dumpcap, pdump, proc-info, test-acl, test-bbdev, test-cmdline,
test-compress-perf, test-crypto-perf, 
        test-eventdev, test-fib, test-flow-perf, test-gpudev, test-pipeline,
test-pmd, test-regex, test-sad, 
        test-security-perf, 

Message: 
=================
Libraries Enabled
=================

libs:
        kvargs, telemetry, eal, ring, rcu, mempool, mbuf, net, 
        meter, ethdev, pci, cmdline, metrics, hash, timer, acl, 
        bbdev, bitratestats, bpf, cfgfile, compressdev, cryptodev,
distributor, efd, 
        eventdev, gpudev, gro, gso, ip_frag, jobstats, latencystats, lpm, 
        member, pcapng, power, rawdev, regexdev, dmadev, rib, reorder, 
        sched, security, stack, vhost, ipsec, fib, port, pdump, 
        table, pipeline, graph, node, 

Message: 
===============
Drivers Enabled
===============

common:
        cpt, dpaax, iavf, idpf, octeontx, cnxk, mlx5, qat, 
        sfc_efx, 
bus:
        auxiliary, dpaa, fslmc, ifpga, pci, vdev, vmbus, 
mempool:
        bucket, cnxk, dpaa, dpaa2, octeontx, ring, stack, 
dma:
        cnxk, dpaa, dpaa2, hisilicon, idxd, ioat, skeleton, 
net:
        af_packet, ark, atlantic, avp, axgbe, bnx2x, bnxt, bond, 
        cnxk, cxgbe, dpaa, dpaa2, e1000, ena, enetc, enetfec, 
        enic, failsafe, fm10k, gve, hinic, hns3, i40e, iavf, 
        ice, idpf, igc, ionic, ixgbe, liquidio, memif, mlx4, 
        mlx5, netvsc, nfp, ngbe, null, octeontx, octeon_ep, pcap, 
        pfe, qede, ring, sfc, softnic, tap, thunderx, txgbe, 
        vdev_netvsc, vhost, virtio, vmxnet3, 
raw:
        cnxk_bphy, cnxk_gpio, dpaa2_cmdif, ntb, skeleton, 
crypto:
        bcmfs, caam_jr, ccp, cnxk, dpaa_sec, dpaa2_sec, mlx5, nitrox, 
        null, octeontx, openssl, scheduler, virtio, 
compress:
        mlx5, octeontx, zlib, 
regex:
        mlx5, cn9k, 
vdpa:
        ifc, mlx5, sfc, 
event:
        cnxk, dlb2, dpaa, dpaa2, dsw, opdl, skeleton, sw, 
        octeontx, 
baseband:
        acc, fpga_5gnr_fec, fpga_lte_fec, la12xx, null, turbo_sw, 
gpu:


Message: 
=================
Content Skipped
=================

apps:

libs:
        kni:    explicitly disabled via build config (deprecated lib)
        flow_classify:  explicitly disabled via build config (deprecated
lib)

drivers:
        common/mvep:    missing dependency, "libmusdk"
        net/af_xdp:     missing header, "linux/if_xdp.h"
        net/ipn3ke:     missing dependency, "libfdt"
        net/kni:        missing internal dependency, "kni" (deprecated lib)
        net/mvneta:     missing dependency, "libmusdk"
        net/mvpp2:      missing dependency, "libmusdk"
        net/nfb:        missing dependency, "libnfb"
        raw/ifpga:      missing dependency, "libfdt"
        crypto/armv8:   missing dependency, "libAArch64crypto"
        crypto/ipsec_mb:        missing dependency, "libIPSec_MB"
        crypto/mvsam:   missing dependency, "libmusdk"
        crypto/uadk:    missing dependency, "libwd"
        compress/isal:  missing dependency, "libisal"
        gpu/cuda:       missing dependency, "cuda.h"


Build targets in project: 991

Found ninja-1.10.2 at /bin/ninja
root: # ninja -C build
ninja: Entering directory `build'
[145/3405] Compiling C object
lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o
FAILED: lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o 
ccache cc -Ilib/net/libnet_crc_avx512_lib.a.p -Ilib/net -I../lib/net -I.
-I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include
-Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include
-I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I..
/lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics
-Ilib/telemetry -I../lib/telemetry -fdiagnostics-color=always -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -O3 -include rte_config.h
-Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes
-Wundef -Wwrite-strings -Wno-packed-not-aligned
-Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native
-DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation
-DCC_X86_64_SSE42_PCLMULQDQ_SUPPORT -DCC_X86_64_AVX512_VPCLMULQDQ_SUPPORT
-mavx512f -mavx512bw -mavx512dq -mavx512vl -mvpclmulqdq -mavx2 -mavx -MD -MQ
lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -MF
lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o.d -o
lib/net/libnet_crc_avx512_lib.a.p/net_crc_avx512.c.o -c
../lib/net/net_crc_avx512.c
{standard input}: Assembler messages:
{standard input}:66: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:68: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:72: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:73: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:77: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:78: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:82: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:83: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:95: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:97: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:100: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:101: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:102: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:103: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:105: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:107: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:389: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:391: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:395: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:396: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:400: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:401: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:405: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:406: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:418: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:420: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:423: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:424: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:425: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:426: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:428: 错误:operand type mismatch for `vpclmulqdq'
{standard input}:430: 错误:operand type mismatch for `vpclmulqdq'
[152/3405] Compiling C object
lib/librte_cmdline.a.p/cmdline_cmdline_parse_ipaddr.c.o
ninja: build stopped: subcommand failed.
root: #


Thanks and Regards,
Haifeng


             reply	other threads:[~2023-03-21  7:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21  7:13 hfli [this message]
2023-03-21 11:53 ` Bruce Richardson
2023-03-23  3:53   ` 回复: " hfli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='80472A8920AEBCC5+003001d95bc4$9afdeb30$d0f9c190$@netitest.com' \
    --to=hfli@netitest.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).