Bug 1281

Summary: Build failure with Meson 1.2.1 on Windows
Product: DPDK Reporter: Ali Alnubani (alialnu)
Component: mesonAssignee: dev
Status: CONFIRMED ---    
Severity: normal CC: roretzla, thomas
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Windows   

Description Ali Alnubani 2023-08-30 18:35:19 CEST
> meson.exe --werror -Dexamples=helloworld build 
> ninja.exe -C build 

[..]
[401/803] Compiling C object lib/librte_eal.a.p/eal_x86_rte_power_intrinsics.c.obj
[402/803] Generating lib/rte_mempool_def with a custom command
[403/803] Compiling C object lib/librte_ring.a.p/ring_rte_ring.c.obj
[404/803] Linking static target lib/librte_ring.a
[405/803] Linking target lib/rte_eal-24.dll
FAILED: lib/rte_eal-24.dll 
"clang" @lib/rte_eal-24.dll.rsp
clang: error: no such file or directory: 'librte_log.lib'
clang: error: no such file or directory: 'librte_kvargs.lib'
[406/803] Compiling C object lib/librte_mempool.a.p/mempool_rte_mempool_ops_default.c.obj
[407/803] Compiling C object lib/librte_mempool.a.p/mempool_mempool_trace_points.c.obj
[..]

OS: Windows Server 2019
Meson: 1.2.1 (Last known good version is 0.54.3)
Clang: 11.0.0 and 16.0.6
Comment 1 Tyler Retzlaff 2023-10-07 08:38:56 CEST
Windows build of DPDK with meson versions other than 0.57 is not currently supported. As documented here: 
https://doc.dpdk.org/guides/windows_gsg/build_dpdk.html#install-the-build-system

It would be nice to diagnose and work with the meson project to resolve the issues but I have insufficient time to prioritize the work.

Please use meson 0.57 https://github.com/mesonbuild/meson/releases/tag/0.57.2

Thanks
Comment 2 Thomas Monjalon 2023-10-09 09:35:58 CEST
We should not close a bug just because we don't find time to fix it.
Reopening