Re: [dpdk-dev] 32-bit compilation & debug logs

2018-02-26 Thread Burakov, Anatoly
On 13-Feb-18 8:59 PM, Thomas Monjalon wrote: Hi all, There is a very common pattern with build failures in DPDK. When compiling in 32-bit mode, there are some mismatches between printf format "%lu" / "%lx" and the size of the data being 64-bit. In 32-bit mode, a long is 32 bits long :) That's wh

[dpdk-dev] 32-bit compilation & debug logs

2018-02-13 Thread Thomas Monjalon
Hi all, There is a very common pattern with build failures in DPDK. When compiling in 32-bit mode, there are some mismatches between printf format "%lu" / "%lx" and the size of the data being 64-bit. In 32-bit mode, a long is 32 bits long :) That's why "%lx" must be replaced by "%" PRIx64.