On Wed, Jan 6, 2021 at 4:18 PM Tal Shnaiderman <tal...@nvidia.com> wrote: > > Hi, > > We're testing Windows build with the latest meson/ninja version available in > the meson github [1] > > meson: 0.56.0 > ninja: 1.10.2 > > and getting the output below, any idea why? looks like a bug since /subsystem > should be recognized. > > FAILED: examples/dpdk-helloworld.exe examples/dpdk-helloworld.pdb > "clang" -Wl,/MACHINE:X64 -Wl,/OUT:examples/dpdk-helloworld.exe > examples/dpdk-helloworld.exe.p/helloworld_main.c.obj "-Wl,/nologo" > "-Wl,/release" "-Wl,/nologo" "-Wl,/DEBUG" > "-Wl,/PDB:examples\dpdk-helloworld.pdb" "-Wl,/WHOLEARCHIVE:lib\librte_hash.a" > "-Wl,/WHOLEARCHIVE:lib\librte_cmdline.a" "-Wl,/WHOLEARCHIVE:lib\librte_pci.a" > "-Wl,/WHOLEARCHIVE:lib\librte_ethdev.a" > "-Wl,/WHOLEARCHIVE:lib\librte_meter.a" "-Wl,/WHOLEARCHIVE:lib\librte_net.a" > "-Wl,/WHOLEARCHIVE:lib\librte_mbuf.a" > "-Wl,/WHOLEARCHIVE:lib\librte_mempool.a" "-Wl,/WHOLEARCHIVE:lib\librte_rcu.a" > "-Wl,/WHOLEARCHIVE:lib\librte_ring.a" "-Wl,/WHOLEARCHIVE:lib\librte_eal.a" > "-Wl,/WHOLEARCHIVE:lib\librte_telemetry.a" > "-Wl,/WHOLEARCHIVE:lib\librte_kvargs.a" > "-Wl,/WHOLEARCHIVE:drivers\librte_bus_pci.a" > "-Wl,/WHOLEARCHIVE:drivers\librte_bus_vdev.a" > "-Wl,/WHOLEARCHIVE:drivers\librte_mempool_ring.a" "-lws2_32" "-lmincore" > "-ladvapi32" "-lsetupapi" "-ldbghelp" "-g" "lib\librte_hash.a" > "lib\librte_cmdline.a" "lib\librte_pci.a" "lib\librte_ethdev.a" > "lib\librte_meter.a" "lib\librte_net.a" "lib\librte_mbuf.a" > "lib\librte_mempool.a" "lib\librte_rcu.a" "lib\librte_ring.a" > "lib\librte_eal.a" "lib\librte_telemetry.a" "lib\librte_kvargs.a" > "drivers\librte_bus_pci.a" "drivers\librte_bus_vdev.a" > "drivers\librte_mempool_ring.a" "-Wl,--subsystem,console" "-lkernel32" > "-luser32" "-lgdi32" "-lwinspool" "-lshell32" "-lole32" "-loleaut32" "-luuid" > "-lcomdlg32" > LINK : warning LNK4044: unrecognized option '/-subsystem'; ignored > LINK : fatal error LNK1181: cannot open input file 'console.obj' > clang: error: linker command failed with exit code 1181 (use -v to see > invocation) > [165/190] Linking target examples/dpdk-l2fwd.exe > FAILED: examples/dpdk-l2fwd.exe examples/dpdk-l2fwd.pdb > > [1] - https://github.com/mesonbuild/meson/releases
Something to do with: https://github.com/mesonbuild/meson/issues/8060 ? -- David Marchand