Hi Ferruh, David and Aman: Sorry for late response due to PRC holiday. I have just tested the patch and there is no issue be detected for functions Thank you so much for the help!
Regards Qi > -----Original Message----- > From: Yigit, Ferruh <ferruh.yi...@intel.com> > Sent: Wednesday, October 6, 2021 5:46 AM > To: Lincoln Lavoie <lylav...@iol.unh.edu>; dev <dev@dpdk.org>; Yang, Qiming > <qiming.y...@intel.com>; Zhang, Qi Z <qi.z.zh...@intel.com> > Cc: c...@dpdk.org; Aaron Conole <acon...@redhat.com>; dpdklab > <dpdk...@iol.unh.edu>; Singh, Aman Deep <aman.deep.si...@intel.com>; > David Marchand <david.march...@redhat.com> > Subject: Re: [dpdk-dev] RHEL7 failures > > On 10/5/2021 8:09 PM, Lincoln Lavoie wrote: > > Hello Qiming and Qi, > > > > The CI is picking up failures when building on RHEL7, where warnings > > are being treated as errors. This looks like something has been > > merged into the mainline, as it's failing across all patches. > > > > Here is the specific failure: > > > > ./drivers/net/ice/base/ice_parser_rt.c: In function '_hv_bit_sel': > > ../drivers/net/ice/base/ice_parser_rt.c:201:2: error: dereferencing > > type-punned pointer will break strict-aliasing rules > > [-Werror=strict-aliasing] > > d64 = *(u64 *)&b[0]; > > ^ > > ../drivers/net/ice/base/ice_parser_rt.c: In function '_reg_bit_sel': > > ../drivers/net/ice/base/ice_parser_rt.c:458:2: error: dereferencing > > type-punned pointer will break strict-aliasing rules > > [-Werror=strict-aliasing] > > d32 = *(u32 *)&v[0]; > > ^ > > cc1: all warnings being treated as errors > > > > You can download a full set of logs from here (for a failing run): > > https://lab.dpdk.org/results/dashboard/patchsets/19162/ > > > > Issue was reported by David, Aman sent the fix [1] and it is already merged by > David [2], it should be fixed now, can you please double check? > > [1] > https://patches.dpdk.org/project/dpdk/patch/20211005115754.34117-1-aman > .deep.si...@intel.com/ > > [2] > https://git.dpdk.org/dpdk/commit/?id=16b809d144dc2df7f31695b5abc64a809 > 021b154