On Mon, Oct 25, 2021 at 11:30 PM yn h <yncraig...@gmail.com> wrote:
>
> I downloaded dpdk version 21.08 from
> http://static.dpdk.org/rel/.
>
> Extracted and ran meson build.
> During ninja build, I ran into
>
> FAILED: drivers/rte_common_cpt.pmd.c
>
> /usr/bin/python3 ../buildtools/gen-pmdinfo-cfile.py
> /home/ybuser/dpdk-21.05/build/buildtools ar
> /home/ybuser/dpdk-21.05/build/drivers/libtmp_rte_common_cpt.a
> drivers/rte_common_cpt.pmd.c /usr/bin/python3 ../buildtools/pmdinfogen.py
> elf
>
> ar: `x' cannot be used on thin archives.
>
> Traceback (most recent call last):
>
>   File "../buildtools/gen-pmdinfo-cfile.py", line 17, in <module>
>
>     run_ar("x")
>
>   File "../buildtools/gen-pmdinfo-cfile.py", line 12, in <lambda>
>
>     run_ar = lambda command: subprocess.run(
>
>   File "/usr/lib/python3.8/subprocess.py", line 516, in run
>
>     raise CalledProcessError(retcode, process.args,
>
> subprocess.CalledProcessError: Command '['ar', 'x',
> '/home/ybuser/dpdk-21.05/build/drivers/libtmp_rte_common_cpt.a']' returned
> non-zero exit status 1.
>
> [508/2498] Compiling C object
> lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o
>
> ninja: build stopped: subcommand failed.
>
>
>
> The issue was bypassed when I edited the run_ar("x") to run_ar("p").
>
> Is this a known issue?

It looks like https://bugs.dpdk.org/show_bug.cgi?id=836
You can try downgrading meson.



-- 
David Marchand

Reply via email to