DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1232] [regex/cn9k] Dependence to rxp-compiler.h is not checked
@ 2023-05-16 10:01 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2023-05-16 10:01 UTC (permalink / raw)
  To: dev

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-16 10:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-16 10:01 [Bug 1232] [regex/cn9k] Dependence to rxp-compiler.h is not checked 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).