Re: [dpdk-dev] [PATCH v10 4/4] performance-thread: Fix cross compilation failed

2021-10-18 Thread Peng, ZhihongX
> -Original Message- > From: Peng, ZhihongX > Sent: Friday, October 15, 2021 11:11 PM > To: david.march...@redhat.com; Burakov, Anatoly > ; Ananyev, Konstantin > ; step...@networkplumber.org; > Dumitrescu, Cristian ; Mcnamara, John > > Cc: dev@dpdk.org; Lin, Xueqin ; Peng, ZhihongX > ; st

[dpdk-dev] [PATCH v10 4/4] performance-thread: Fix cross compilation failed

2021-10-15 Thread zhihongx . peng
From: Zhihong Peng The gcc(arm-linux-gcc) will check code more stricter when ASan enabled. "strncpy specified bound XX equals destination size" error occurs here. Fixes: 116819b9ed0d ("examples/performance-thread: add lthread subsystem") Cc: sta...@dpdk.org Signed-off-by: Xueqin Lin Signed-off

[dpdk-dev] [PATCH v10 4/4] performance-thread: Fix cross compilation failed

2021-10-15 Thread zhihongx . peng
From: Zhihong Peng The gcc(arm-linux-gcc) will check code more stricter when ASan enabled. "strncpy specified bound XX equals destination size" error occurs here. Fixes: 116819b9ed0d ("examples/performance-thread: add lthread subsystem") Cc: sta...@dpdk.org Signed-off-by: Xueqin Lin Signed-off