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 EF760A0C4A; Tue, 13 Jul 2021 12:36:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74DF5410E6; Tue, 13 Jul 2021 12:36:51 +0200 (CEST) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 02E3E40687 for ; Tue, 13 Jul 2021 12:36:49 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id BA9F2A0C4B; Tue, 13 Jul 2021 12:36:49 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 13 Jul 2021 10:36:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: other X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: alexeymar@nvidia.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 755] Build failure in compress_isal on aarch64 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=3D755 Bug ID: 755 Summary: Build failure in compress_isal on aarch64 Product: DPDK Version: unspecified Hardware: ARM OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: other Assignee: dev@dpdk.org Reporter: alexeymar@nvidia.com Target Milestone: --- Hi, There is a build failure in isal compress PMD: [521/852] Compiling C object 'drivers/a715181@@tmp_rte_compress_isal@sta/compress_isal_isal_compress_pmd= _ops.c.o'. FAILED: drivers/a715181@@tmp_rte_compress_isal@sta/compress_isal_isal_compress_pmd_= ops.c.o cc -Idrivers/a715181@@tmp_rte_compress_isal@sta -Idrivers -I../drivers -Idrivers/compress/isal -I../drivers/compress/isal -Ilib/compressdev -I../lib/compressdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid= -pch -O3 -include rte_config.h -Wextra -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -Wno-error -fPIC -mcpu=3Dcortex-a72 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.compress.isal -MD -MQ 'drivers/a715181@@tmp_rte_compress_isal@sta/compress_isal_isal_compress_pmd= _ops.c.o' -MF 'drivers/a715181@@tmp_rte_compress_isal@sta/compress_isal_isal_compress_pmd= _ops.c.o.d' -o 'drivers/a715181@@tmp_rte_compress_isal@sta/compress_isal_isal_compress_pmd= _ops.c.o' -c ../drivers/compress/isal/isal_compress_pmd_ops.c ../drivers/compress/isal/isal_compress_pmd_ops.c: In function =E2=80=98isal_comp_pmd_info_get=E2=80=99: ../drivers/compress/isal/isal_compress_pmd_ops.c:142:7: warning: implicit declaration of function =E2=80=98rte_cpu_get_flag_enabled=E2=80=99 [-Wimplicit-function-declaration] 142 | if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512F)) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/compress/isal/isal_compress_pmd_ops.c:142:7: warning: nested ext= ern declaration of =E2=80=98rte_cpu_get_flag_enabled=E2=80=99 [-Wnested-externs] ../drivers/compress/isal/isal_compress_pmd_ops.c:142:32: error: =E2=80=98RTE_CPUFLAG_AVX512F=E2=80=99 undeclared (first use in this functio= n) 142 | if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512F)) | ^~~~~~~~~~~~~~~~~~~ ../drivers/compress/isal/isal_compress_pmd_ops.c:142:32: note: each undecla= red identifier is reported only once for each function it appears in ../drivers/compress/isal/isal_compress_pmd_ops.c:144:37: error: =E2=80=98RTE_CPUFLAG_AVX2=E2=80=99 undeclared (first use in this function) 144 | else if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX2)) | ^~~~~~~~~~~~~~~~ ../drivers/compress/isal/isal_compress_pmd_ops.c:146:37: error: =E2=80=98RTE_CPUFLAG_AVX=E2=80=99 undeclared (first use in this function) 146 | else if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX)) | ^~~~~~~~~~~~~~~ [522/852] Compiling C object 'drivers/a715181@@tmp_rte_compress_isal@sta/compress_isal_isal_compress_pmd= .c.o'. FAILED: drivers/a715181@@tmp_rte_compress_isal@sta/compress_isal_isal_compress_pmd.= c.o cc -Idrivers/a715181@@tmp_rte_compress_isal@sta -Idrivers -I../drivers -Idrivers/compress/isal -I../drivers/compress/isal -Ilib/compressdev -I../lib/compressdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=3Dalways -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid= -pch -O3 -include rte_config.h -Wextra -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-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -Wno-error -fPIC -mcpu=3Dcortex-a72 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.compress.isal -MD -MQ 'drivers/a715181@@tmp_rte_compress_isal@sta/compress_isal_isal_compress_pmd= .c.o' -MF 'drivers/a715181@@tmp_rte_compress_isal@sta/compress_isal_isal_compress_pmd= .c.o.d' -o 'drivers/a715181@@tmp_rte_compress_isal@sta/compress_isal_isal_compress_pmd= .c.o' -c ../drivers/compress/isal/isal_compress_pmd.c ../drivers/compress/isal/isal_compress_pmd.c: In function =E2=80=98isal_comp_set_priv_xform_parameters=E2=80=99: ../drivers/compress/isal/isal_compress_pmd.c:150:9: warning: implicit declaration of function =E2=80=98rte_cpu_get_flag_enabled=E2=80=99 [-Wimplicit-function-declaration] 150 | if (rte_cpu_get_flag_enabled( | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/compress/isal/isal_compress_pmd.c:150:9: warning: nested extern declaration of =E2=80=98rte_cpu_get_flag_enabled=E2=80=99 [-Wnested-externs] ../drivers/compress/isal/isal_compress_pmd.c:151:7: error: =E2=80=98RTE_CPUFLAG_AVX512F=E2=80=99 undeclared (first use in this functio= n) 151 | RTE_CPUFLAG_AVX512F)) { | ^~~~~~~~~~~~~~~~~~~ ../drivers/compress/isal/isal_compress_pmd.c:151:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/compress/isal/isal_compress_pmd.c:159:7: error: =E2=80=98RTE_CPU= FLAG_AVX2=E2=80=99 undeclared (first use in this function) 159 | RTE_CPUFLAG_AVX2)) { | ^~~~~~~~~~~~~~~~ I'm using the following command to configure and build dpdk: meson --libdir lib -Dc_args=3D"-fPIC -Wno-error " -Denable_docs=3Dfalse -Denable_kmods=3Dfalse -Dmachine=3Dnative -Ddisable_drivers=3D"baseband,baseband/acc100,baseband/fpga_lte_fec,baseban= d/null,baseband/turbo_sw,baseband/fpga_5gnr_fec,bus/dpaa,bus/dpaa/base,bus/= dpaa/base/fman,bus/dpaa/base/qbman,bus/dpaa/include,bus/fslmc,bus/fslmc/mc,= bus/fslmc/portal,bus/fslmc/qbman,bus/fslmc/qbman/include,bus/ifpga,bus/pci/= bsd,bus/pci/linux,bus/pci/windows,bus/vmbus,bus/vmbus/linux,common,common/c= pt,common/dpaax,common/dpaax/caamflib,common/dpaax/caamflib/desc,common/dpa= ax/caamflib/rta,common/sfc_efx,common/sfc_efx/base,common/mvep,common/octeo= ntx,common/octeontx2,common/octeontx2/hw,common/qat/qat_adf,common/iavf,com= mon/mlx5,common/mlx5/linux,common/mlx5/windows,common/cnxk,common/cnxk/hw,c= ompress/mlx5,compress/octeontx,compress/octeontx/include,compress/zlib,cryp= to,crypto/bcmfs,crypto/bcmfs/hw,crypto/aesni_gcm,crypto/aesni_mb,crypto/arm= v8,crypto/caam_jr,crypto/ccp,crypto/dpaa2_sec,crypto/dpaa2_sec/mc,crypto/dp= aa_sec,crypto/kasumi,crypto/mvsam,crypto/nitrox,crypto/null,crypto/octeontx= ,crypto/octeontx2,crypto/openssl,crypto/scheduler,crypto/snow3g,crypto/virt= io,crypto/zuc,event,event/cnxk,event/dpaa,event/dpaa2,event/dsw,event/octeo= ntx,event/octeontx2,event/opdl,event/skeleton,event/sw,event/dlb2,event/dlb= 2/pf,event/dlb2/pf/base,mempool,mempool/bucket,mempool/dpaa,mempool/dpaa2,m= empool/cnxk,mempool/octeontx,mempool/octeontx2,mempool/stack,net,net/af_pac= ket,net/af_xdp,net/ark,net/atlantic,net/atlantic/hw_atl,net/avp,net/axgbe,n= et/bnx2x,net/bnxt,net/bnxt/tf_core,net/bnxt/tf_ulp,net/bnxt/hcapi,net/bondi= ng,net/cxgbe,net/cxgbe/base,net/dpaa,net/dpaa/fmlib,net/dpaa2,net/dpaa2/bas= e,net/dpaa2/mc,net/e1000,net/e1000/base,net/ena,net/ena/base,net/ena/base/e= na_defs,net/enetc,net/enetc/base,net/enic,net/enic/base,net/failsafe,net/fm= 10k,net/fm10k/base,net/hinic,net/hinic/base,net/hns3,net/i40e,net/i40e/base= ,net/iavf,net/ice,net/ice/base,net/igc,net/igc/base,net/ipn3ke,net/ixgbe,ne= t/ixgbe/base,net/kni,net/liquidio,net/liquidio/base,net/memif,net/txgbe,net= /txgbe/base,net/mlx4,net/mlx5,net/mlx5/linux,net/mlx5/windows,net/mvneta,ne= t/mvpp2,net/netvsc,net/nfb,net/nfp,net/nfp/nfpcore,net/nfp/nfpcore/nfp-comm= on,net/nfp/nfpcore/nfp6000,net/null,net/octeontx,net/octeontx/base,net/octe= ontx2,net/pcap,net/pfe,net/pfe/base,net/pfe/base/cbus,net/qede,net/qede/bas= e,net/ring,net/sfc,net/softnic,net/szedata2,net/tap,net/thunderx,net/thunde= rx/base,net/vdev_netvsc,net/vhost,net/virtio,net/virtio/virtio_user,net/vmx= net3,net/vmxnet3/base,net/ionic,net/octeontx_ep,raw,raw/dpaa2_cmdif,raw/dpa= a2_qdma,raw/ifpga,raw/ifpga/base,raw/ifpga/base/osdep_raw,raw/ifpga/base/os= dep_rte,raw/ioat,raw/ntb,raw/octeontx2_dma,raw/skeleton,raw/octeontx2_ep,vd= pa,vdpa/ifc,vdpa/ifc/base,vdpa/mlx5,regex,regex/octeontx2,regex/mlx5" build ninja -C build OS: Ubuntu 20.04.2 LTS aarch64 gcc: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 meson: 0.53.2 ninja: 1.10.0 DPDK sha1: a95bbb7262 --=20 You are receiving this mail because: You are the assignee for the bug.=