<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - [regex/cn9k] Dependence to rxp-compiler.h is not checked"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1232">1232</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[regex/cn9k] Dependence to rxp-compiler.h is not checked
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>23.03
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>ethdev
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev@dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>barbette@kth.se
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">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 !
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
          
          <link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1232">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>