DPDK usage discussions
 help / color / mirror / Atom feed
From: Nigel Kukard <nkukard@LBSD.net>
To: "users@dpdk.org" <users@dpdk.org>
Subject: DPDK 21.08 build failure with meson 0.60.0
Date: Tue, 26 Oct 2021 05:31:45 +0000
Message-ID: <ea4eb70f-5da1-2690-c9f9-3be3e144ab05@LBSD.net> (raw)

[-- 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' \

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 
[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 
[511/2980] Compiling C object 
[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 
.c /usr/bin/python ../buildtools/pmdinfogen.py elf
ar: `x' cannot be used on thin archives.
Traceback (most recent call last):
line 17, in <module>
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', 
returned non-zero exit status 1.
[514/2980] Compiling C object 
[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 
[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 --]

             reply	other threads:[~2021-10-26  5:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-26  5:31 Nigel Kukard [this message]
2021-10-27 10:43 ` Tom Barbette
2021-10-27 11:16 ` David Marchand

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ea4eb70f-5da1-2690-c9f9-3be3e144ab05@LBSD.net \
    --to=nkukard@lbsd.net \
    --cc=users@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git