DPDK usage discussions
 help / color / mirror / Atom feed
* DPDK 21.08 build failure with meson 0.60.0
@ 2021-10-26  5:31 Nigel Kukard
  2021-10-27 10:43 ` Tom Barbette
  2021-10-27 11:16 ` David Marchand
  0 siblings, 2 replies; 3+ messages in thread
From: Nigel Kukard @ 2021-10-26  5:31 UTC (permalink / raw)
  To: users

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

I'm wondering if anyone can help me figure out why this is happening? it 
looks like it was when meson was upgraded to 0.60.0.

I'm building on Arch Linux, with rdma-core 37.0 already installed 
(custom built).

Here is my build commands for rdma-core (no problem)...

        mkdir -p build
        cd build
        cmake \
                -GNinja \
                -DENABLE_VALGRIND=0 \
                -DCMAKE_BUILD_TYPE='Release' \
                -DCMAKE_INSTALL_PREFIX='/usr' \
                -DCMAKE_INSTALL_RUNDIR='/run' \
                -DCMAKE_INSTALL_SBINDIR='/usr/bin' \
                -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
                -DCMAKE_INSTALL_LIBEXECDIR='/usr/lib/rdma' \
                -DCMAKE_INSTALL_SYSCONFDIR='/etc' \
                -DCMAKE_INSTALL_PERLDIR='/usr/share/perl5/vendor_perl' \
                ..
        ninja


Here is my build command for dpdk...

meson -Dplatform=generic -Dexamples=all build --prefix=/usr
        ninja -C build

gcc 11.1.0

meson 0.60.0

[504/2980] Compiling C object lib/librte_node.a.p/node_null.c.o
[505/2980] Compiling C object lib/librte_node.a.p/node_log.c.o
[506/2980] Compiling C object 
drivers/libtmp_rte_common_cpt.a.p/common_cpt_cpt_fpm_tables.c.o
[507/2980] Compiling C object lib/librte_node.a.p/node_ip4_rewrite.c.o
[508/2980] Generating drivers/rte_common_cpt_def with a custom command
[509/2980] Generating drivers/rte_common_cpt_mingw with a custom command
[510/2980] Compiling C object 
drivers/libtmp_rte_common_cpt.a.p/common_cpt_cpt_pmd_ops_helper.c.o
[511/2980] Compiling C object 
drivers/libtmp_rte_common_dpaax.a.p/common_dpaax_dpaax_iova_table.c.o
[512/2980] Linking static target drivers/libtmp_rte_common_cpt.a
[513/2980] Generating drivers/rte_common_cpt.pmd.c with a custom command
FAILED: drivers/rte_common_cpt.pmd.c
/usr/bin/python ../buildtools/gen-pmdinfo-cfile.py 
/build/dpdk/src/dpdk-21.08/build/buildtools ar 
/build/dpdk/src/dpdk-21.08/build/drivers/libtmp_rte_common_cpt.a 
drivers/rte_common_cpt.pmd
.c /usr/bin/python ../buildtools/pmdinfogen.py elf
ar: `x' cannot be used on thin archives.
Traceback (most recent call last):
  File 
"/build/dpdk/src/dpdk-21.08/build/../buildtools/gen-pmdinfo-cfile.py", 
line 17, in <module>
    run_ar("x")
  File 
"/build/dpdk/src/dpdk-21.08/build/../buildtools/gen-pmdinfo-cfile.py", 
line 12, in <lambda>
    run_ar = lambda command: subprocess.run(
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ar', 'x', 
'/build/dpdk/src/dpdk-21.08/build/drivers/libtmp_rte_common_cpt.a']' 
returned non-zero exit status 1.
[514/2980] Compiling C object 
drivers/libtmp_rte_common_dpaax.a.p/common_dpaax_caamflib.c.o
[515/2980] Compiling C object lib/librte_node.a.p/node_pkt_cls.c.o
[516/2980] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[517/2980] Compiling C object 
lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
[518/2980] Compiling C object lib/librte_vhost.a.p/vhost_vhost_crypto.c.o
ninja: build stopped: subcommand failed.


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

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

end of thread, other threads:[~2021-10-27 11:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26  5:31 DPDK 21.08 build failure with meson 0.60.0 Nigel Kukard
2021-10-27 10:43 ` Tom Barbette
2021-10-27 11:16 ` David Marchand

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).