05/04/2019 20:47, Jerin Jacob Kollanukkaran: > From: Thomas Monjalon <[email protected]> > > 18/03/2019 17:50, Jerin Jacob Kollanukkaran: > > > From: Jerin Jacob <[email protected]> > > > > > > Optimized configuration for Marvell thunderx2 SoC. > > > Updated meson build to support Marvell thunderx2 SoC. > > > Added meson cross compile target. > > > > > > Product details are here: > > > > > > https://www.marvell.com/server-processors/thunderx2-arm-processors/ > > > > > > Signed-off-by: Jerin Jacob <[email protected]> > > > Signed-off-by: Pavan Nikhilesh <[email protected]> > > > > I see a very strange error when compiling with meson: > > > > In file included from /usr/include/inttypes.h:27, > > from /usr/include/pcap/pcap-inttypes.h:114, > > from /usr/include/pcap/pcap.h:74, > > from /usr/include/pcap.h:43, > > from ../drivers/net/pcap/rte_eth_pcap.c:19: > > /usr/include/stdint.h:109: error: "__INT64_C" redefined [-Werror] > > > > Could we try to debug it and merge these patches in -rc2? > > Could you please give more details to reproduce this issue
First of all, we need to understand why it is getting pcap includes from the native system while compiling for thunderx2. > Compiler version - gcc or clang version? aarch64-linux-gnu-gcc (GCC) 8.3.0 > Build - Native or cross ? cross-compilation > Build OS ? My host is an archlinux > Meson and Ninja - Versions? meson 0.49.2 ninja 1.9.0 > The command use to reproduce this issue as we are not able to get this Issue > in our local setup? I just run devtools/test-meson-builds.sh and it compiles for config/arm/arm64_thunderx_linux_gcc because I have an Arm toolchain installed.

