DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 755] Build failure in compress_isal on aarch64
@ 2021-07-13 10:36 bugzilla
  2021-11-26 18:02 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-07-13 10:36 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=755

            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=always -pipe -D_FILE_OFFSET_BITS=64 -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=cortex-a72 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API
-Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.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
‘isal_comp_pmd_info_get’:
../drivers/compress/isal/isal_compress_pmd_ops.c:142:7: warning: implicit
declaration of function ‘rte_cpu_get_flag_enabled’
[-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 extern
declaration of ‘rte_cpu_get_flag_enabled’ [-Wnested-externs]
../drivers/compress/isal/isal_compress_pmd_ops.c:142:32: error:
‘RTE_CPUFLAG_AVX512F’ undeclared (first use in this function)
  142 |   if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_AVX512F))
      |                                ^~~~~~~~~~~~~~~~~~~
../drivers/compress/isal/isal_compress_pmd_ops.c:142:32: note: each undeclared
identifier is reported only once for each function it appears in
../drivers/compress/isal/isal_compress_pmd_ops.c:144:37: error:
‘RTE_CPUFLAG_AVX2’ 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:
‘RTE_CPUFLAG_AVX’ 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=always -pipe -D_FILE_OFFSET_BITS=64 -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=cortex-a72 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API
-Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.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
‘isal_comp_set_priv_xform_parameters’:
../drivers/compress/isal/isal_compress_pmd.c:150:9: warning: implicit
declaration of function ‘rte_cpu_get_flag_enabled’
[-Wimplicit-function-declaration]
  150 |     if (rte_cpu_get_flag_enabled(
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/compress/isal/isal_compress_pmd.c:150:9: warning: nested extern
declaration of ‘rte_cpu_get_flag_enabled’ [-Wnested-externs]
../drivers/compress/isal/isal_compress_pmd.c:151:7: error:
‘RTE_CPUFLAG_AVX512F’ undeclared (first use in this function)
  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: ‘RTE_CPUFLAG_AVX2’
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="-fPIC -Wno-error " -Denable_docs=false
-Denable_kmods=false -Dmachine=native
-Ddisable_drivers="baseband,baseband/acc100,baseband/fpga_lte_fec,baseband/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/cpt,common/dpaax,common/dpaax/caamflib,common/dpaax/caamflib/desc,common/dpaax/caamflib/rta,common/sfc_efx,common/sfc_efx/base,common/mvep,common/octeontx,common/octeontx2,common/octeontx2/hw,common/qat/qat_adf,common/iavf,common/mlx5,common/mlx5/linux,common/mlx5/windows,common/cnxk,common/cnxk/hw,compress/mlx5,compress/octeontx,compress/octeontx/include,compress/zlib,crypto,crypto/bcmfs,crypto/bcmfs/hw,crypto/aesni_gcm,crypto/aesni_mb,crypto/armv8,crypto/caam_jr,crypto/ccp,crypto/dpaa2_sec,crypto/dpaa2_sec/mc,crypto/dpaa_sec,crypto/kasumi,crypto/mvsam,crypto/nitrox,crypto/null,crypto/octeontx,crypto/octeontx2,crypto/openssl,crypto/scheduler,crypto/snow3g,crypto/virtio,crypto/zuc,event,event/cnxk,event/dpaa,event/dpaa2,event/dsw,event/octeontx,event/octeontx2,event/opdl,event/skeleton,event/sw,event/dlb2,event/dlb2/pf,event/dlb2/pf/base,mempool,mempool/bucket,mempool/dpaa,mempool/dpaa2,mempool/cnxk,mempool/octeontx,mempool/octeontx2,mempool/stack,net,net/af_packet,net/af_xdp,net/ark,net/atlantic,net/atlantic/hw_atl,net/avp,net/axgbe,net/bnx2x,net/bnxt,net/bnxt/tf_core,net/bnxt/tf_ulp,net/bnxt/hcapi,net/bonding,net/cxgbe,net/cxgbe/base,net/dpaa,net/dpaa/fmlib,net/dpaa2,net/dpaa2/base,net/dpaa2/mc,net/e1000,net/e1000/base,net/ena,net/ena/base,net/ena/base/ena_defs,net/enetc,net/enetc/base,net/enic,net/enic/base,net/failsafe,net/fm10k,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,net/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,net/mvpp2,net/netvsc,net/nfb,net/nfp,net/nfp/nfpcore,net/nfp/nfpcore/nfp-common,net/nfp/nfpcore/nfp6000,net/null,net/octeontx,net/octeontx/base,net/octeontx2,net/pcap,net/pfe,net/pfe/base,net/pfe/base/cbus,net/qede,net/qede/base,net/ring,net/sfc,net/softnic,net/szedata2,net/tap,net/thunderx,net/thunderx/base,net/vdev_netvsc,net/vhost,net/virtio,net/virtio/virtio_user,net/vmxnet3,net/vmxnet3/base,net/ionic,net/octeontx_ep,raw,raw/dpaa2_cmdif,raw/dpaa2_qdma,raw/ifpga,raw/ifpga/base,raw/ifpga/base/osdep_raw,raw/ifpga/base/osdep_rte,raw/ioat,raw/ntb,raw/octeontx2_dma,raw/skeleton,raw/octeontx2_ep,vdpa,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

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 755] Build failure in compress_isal on aarch64
  2021-07-13 10:36 [dpdk-dev] [Bug 755] Build failure in compress_isal on aarch64 bugzilla
@ 2021-11-26 18:02 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2021-11-26 18:02 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=755

Thomas Monjalon (thomas@monjalon.net) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Thomas Monjalon (thomas@monjalon.net) ---
Resolved in http://git.dpdk.org/dpdk/commit/?id=ffb81dce5a

-- 
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:[~2021-11-26 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-13 10:36 [dpdk-dev] [Bug 755] Build failure in compress_isal on aarch64 bugzilla
2021-11-26 18:02 ` 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).