All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1232] [regex/cn9k] Dependence to rxp-compiler.h is not checked
Date: Tue, 16 May 2023 10:01:47 +0000	[thread overview]
Message-ID: <bug-1232-3@http.bugs.dpdk.org/> (raw)

[-- Attachment #1: Type: text/plain, Size: 4225 bytes --]

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

            Bug ID: 1232
           Summary: [regex/cn9k] Dependence to rxp-compiler.h is not
                    checked
           Product: DPDK
           Version: 23.03
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: barbette@kth.se
  Target Milestone: ---

Hi all,

With Ubuntu 22.04 LTS, meson setup build && ninja && ninja build fails to
compile with :

[317/1318] Compiling C object
drivers/libtmp_rte_regex_cn9k.a.p/regex_cn9k_cn9k_regexdev_compiler.c.o
FAILED: drivers/libtmp_rte_regex_cn9k.a.p/regex_cn9k_cn9k_regexdev_compiler.c.o
cc -Idrivers/libtmp_rte_regex_cn9k.a.p -Idrivers -I../drivers
-Idrivers/regex/cn9k -I../drivers/regex/cn9k -Ilib/ethdev -I../lib/ethdev -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 -Ilib/net -I../lib/net -Ilib/mbuf
-I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring
-Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci
-I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Ilib/regexdev
-I../lib/regexdev -Idrivers/common/cnxk -I../drivers/common/cnxk -Ilib/security
-I../lib/security -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu
-Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always
-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-address-of-packed-member -Wno-packed-not-aligned
-Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC
-march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API
-Wno-format-truncation -DREE_COMPILER_SDK
-DRTE_LOG_DEFAULT_LOGTYPE=pmd.regex.cn9k -MD -MQ
drivers/libtmp_rte_regex_cn9k.a.p/regex_cn9k_cn9k_regexdev_compiler.c.o -MF
drivers/libtmp_rte_regex_cn9k.a.p/regex_cn9k_cn9k_regexdev_compiler.c.o.d -o
drivers/libtmp_rte_regex_cn9k.a.p/regex_cn9k_cn9k_regexdev_compiler.c.o -c
../drivers/regex/cn9k/cn9k_regexdev_compiler.c
../drivers/regex/cn9k/cn9k_regexdev_compiler.c:12:10: fatal error:
rxp-compiler.h: No such file or directory
   12 | #include <rxp-compiler.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

apt-file does not find any reference to rxp-compiler.h. Not sure what package
is installing that but it should be checked as part of meson setup, I think.


Other leads/env :
- Mellanox Ofed is installed with ./mlnxofedinstall --with-mft --with-mstflint
--dpdk --upstream-libs --with-dkms --with-kernel-mft-dkms --with-bluefield
--with-rshim --with-rshim-net --force
- NVIDIA DOCA might be partially installed
- Dual Intel(R) Xeon(R) Gold 5317 CPU @ 3.00GHz  
- lspci |grep -i eth                                                           
                                                                               
                                     < ~/workspace/dpdk/build [11:59:12]
04:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720
Gigabit Ethernet PCIe
04:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720
Gigabit Ethernet PCIe
31:00.0 Ethernet controller: Broadcom Inc. and subsidiaries BCM57414
NetXtreme-E 10Gb/25Gb RDMA Ethernet Controller (rev 01)
31:00.1 Ethernet controller: Broadcom Inc. and subsidiaries BCM57414
NetXtreme-E 10Gb/25Gb RDMA Ethernet Controller (rev 01)
98:00.0 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6
Dx]
98:00.1 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6
Dx]


Thanks !

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

[-- Attachment #2: Type: text/html, Size: 6117 bytes --]

                 reply	other threads:[~2023-05-16 10:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=bug-1232-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.